
    rhB                   j   S SK Jr  S SKrS SKrS SKrS SKJr  S SKJr  S SK	J
r
  S SKJrJrJr  S SKJr  S SKJr  S S	KJr  S S
KJr  S SKJr  S SKJr  S SKJr  S SKJr  S SKJr  S SKJr  S SKJr  S SKJr  S SKJr  SrS r " S S\R<                  5      r\ S:X  a  S SKr\RB                  " \5        gg)    )annotationsN)articulations)	Fingering)BrailleSegmentDivision)partToBraillemeasureToBraillekeyboardPartsToBraille)bar)chord)clef)	converter)dynamics)expressions)key)meter)note)pitch)spannerstream)tempoTc                    [         R                  " S5      R                  5       n U R                  S[        R
                  " S5      5        U R                  SSS9  U R                  [        R                  5      nU H  nU=R                  S-  sl
        M     US   R                  SS9  U R                  S	5      R                  S
[        5       5        U $ )Nztinynotation: 4/4 r2. b-4 g e- d e- g2 f4
        e- a- g c'4. c'8 b-2. b-4 e'-4 b- a-4. g8
        g2 f4 c' c' f a-4. d8 e-2. g4 g4. f8 f4 f a-2 g4 b- b- an an c'
        b-2. b-4 e'- b- a- g g2 f4 c' c' r f r a-2. d4 e-2.r   TFinPlacecautionaryNotImmediateRepeat   useInitialRests         @)r   parseflatteninsertr   KeySignaturemakeNotationgetElementsByClassr   MeasurenumberpadAsAnacrusismeasurer   )bmmsms      N/home/james-whalen/.local/lib/python3.13/site-packages/music21/braille/test.pyexample11_2r0   &   s    	 ? 
@ AH	  IIa!!"%&OODuOE
fnn-A
		Q	 aD-JJqM467I    c                  >   \ rS rSrSrS r\" \S9rS rS r	\" \	S9r
S r\" \S9rS rS	 rS
 rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS r S r!S r"S r#S r$S  r%S! r&S" r'S# r(S$ r)S% r*S& r+S' r,S( r-S) r.S* r/S+ r0S, r1S- r2S. r3S/ r4S0 r5S1 r6S2 r7S3 r8S4 r9S5 r:S6 r;S7 r<S8 r=S9 r>S: r?S; r@S< rAS= rBS> rCS? rDS@ rESA rFSB rGSC rHSD rISE rJSF rKSG rLSH rMSI rNSJ rOSK rPSL rQSM rRSN rSSO rTSP rUSQ rVSR rWSS rXST rYSU rZSV r[SW r\SX r]SY r^SZ r_S[ r`S\ raS] rbS^ rcS_ rdS` reSa rfSb rgSc rhSd riSe rjSf rkSg rlSh rmSi rnSj roSk rpSl rqSm rrSn rsSo rtSp ruSq rvSr rwSs rxSt rySu rzSv r{Sw r|Sx r}Sy r~Sz rS{ rS| rS} rS~ rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rSrg)Test:   z
A series of tests from the DeGarmo book that run automatically
when self.b (expected braille) or self.e (expected english) are altered
c                    Xl         g Nr   )selfstreamIns     r/   _sTest._s@   s    r1   )fsetc                    [         R                  " U5      n[        R                  " SSU5      nUR	                  5       S-   nU$ )Nz^ *\n 
)textwrapdedentresubrstrip)r7   sStrs     r/   _neutralizeSpacingTest._neutralizeSpacingE   s7    t$vvhD){{}t#r1   c                t    U R                  U5      U l        U R                  (       a  U R                  5         gg)z>
Sets the expected brailleInput and runs assertMultilineEqual
N)rE   expectedBrailleautoRunrunB)r7   brailleInputs     r/   _bTest._bK   s,      $66|D<<IIK r1   c                t    U R                  U5      U l        U R                  (       a  U R                  5         g g r6   )rE   expectedEnglishrI   runE)r7   englishs     r/   _eTest._eU   s*    #66w?<<IIK r1   c                    U R                   nU R                  c  g U R                  " U R                  4SS0U R                  D6nU R	                  U" U5      U R
                  5        g )Nr   T)rE   r   method
methodArgsassertMultiLineEqualrH   )r7   nsstreamBrailles      r/   rJ   	Test.runB\   sU    $$;;DKKQQQ!!"]"3T5I5IJr1   c                    U R                   nU R                  c  g U R                  " U R                  4SSS.U R                  D6nU R	                  U" U5      U R
                  5        g )NT)r   debug)rE   r   rU   rV   rW   rO   )r7   rX   streamEnglishs      r/   rP   	Test.runEc   sW    $$;;DKK]T]T__]!!"]"3T5I5IJr1   c                n    S U l         SU l        S U l        SU l        SU l        [
        U l        0 U l        g )NTr=   )maxDiffrI   r   rH   rO   r   rU   rV   r7   s    r/   setUp
Test.setUpj   s5    !!#r1   c                    [         R                  " SSS9nUR                  SSS9  Xl        SS0U l        SU l        UR                  SS	5      U l        S
U l        g )Nztinynotation: 3/8         g8 r8 e8     f8 r8 a8     g8 r8 f8    e8 r8 r8 e8 r8 c8     d8 r8 f8     e8 r8 d8    c8 r8 r8 d8 r8 f8     e8 r8 g8     f8 g8 a8    g8 r8 r8 a8 r8 f8     g8 r8 e8     f8 e8 d8    c8 r8 r8Fr&   Tr   suppressOctaveMarksue  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠉⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠓⠭⠋⠀⠛⠭⠊⠀⠓⠭⠛⠀⠋⠭⠭⠀⠋⠭⠙⠀⠑⠭⠛⠀⠋⠭⠑⠀⠙⠭⠭⠀⠑⠭⠛
        ⠀⠀⠋⠭⠓⠀⠛⠓⠊⠀⠓⠭⠭⠀⠊⠭⠛⠀⠓⠭⠋⠀⠛⠋⠑⠀⠙⠭⠭⠣⠅
        r      u  
          ---begin segment---
          <music21.braille.segment BrailleSegment>
          Measure 1, Signature Grouping 1:
          Time Signature 3/8 ⠼⠉⠦
          ===
          Measure 1, Note Grouping 1:
          <music21.clef.TrebleClef>
          G eighth ⠓
          Rest eighth ⠭
          E eighth ⠋
          ===
          Measure 2, Note Grouping 1:
          F eighth ⠛
          Rest eighth ⠭
          A eighth ⠊
          ===
          Measure 3, Note Grouping 1:
          G eighth ⠓
          Rest eighth ⠭
          F eighth ⠛
          ===
          Measure 4, Note Grouping 1:
          E eighth ⠋
          Rest eighth ⠭
          Rest eighth ⠭
          ===
          ---end segment---
        )r   r"   r&   srV   bmeasureser7   r,   s     r/   test_example02_1Test.test_example02_1z   sd    __ N
 +01 	5I0$7
 Q"r1   c                   [         R                  " S5      =U l        nUR                  SSS9  UR	                  [
        R                  5      nUS   R                  SS9  U H  nU=R                  S-  sl        M     SS0U l	        S	U l
        g )
Nz}tinynotation: 4/8 r8 r8 r8 d8 d8 c8 B8 d8 c8 B8 A8 c8 B8 A8 G8 B8 A8 A8 D8 r8 E8 E8 G8 E8 D8 E8 G8 B8 d8 c8 B8 A8 G8 G8 G8 r8TFr   r   r   r   rf   u&  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠚⠀⠑⠀⠑⠙⠚⠑⠀⠙⠚⠊⠙⠀⠚⠊⠓⠚⠀⠊⠊⠑⠭⠀⠋⠋⠓⠋⠀⠑⠋⠓⠚⠀⠑⠙⠚⠊
        ⠀⠀⠓⠓⠓⠭⠣⠅
        )r   r"   rh   r&   r'   r   r(   r*   r)   rV   ri   r7   r,   r-   r+   s       r/   test_example02_2Test.test_example02_2   s    oo>? 	? 	5I!!&..1	!D1GNNaN 0$7r1   c                |    SS0U l         [        R                  " S5      nUR                  SSS9  Xl        SU l        g )Nrf   Tz
            tinynotation: 2/8 e8 e8 g8 a8 g8 f8 e8 g8 f8 e8 d8 f8 e8 c8 d8
            r8 e8 e8 f8 f8 g8 a8 b8 c'8 a8 f8 e8 d8 c8 B8 c8 r8Fr   u5  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠃⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠋⠋⠀⠓⠊⠀⠓⠛⠀⠋⠓⠀⠛⠋⠀⠑⠛⠀⠋⠙⠀⠑⠭⠀⠋⠋⠀⠛⠛⠀⠓⠊⠀⠚⠙
        ⠀⠀⠊⠛⠀⠋⠑⠀⠙⠚⠀⠙⠭⠣⠅
        rV   r   r"   r&   rh   ri   rl   s     r/   test_example02_3Test.test_example02_3   sC    0$7__ C D 	5Ir1   c                    SS0U l         [        R                  " S5      nUR                  SSS9  UR	                  [
        R                  5      n[        R                  " S5      US   l	        Xl
        SU l        g )	Nrf   Tz
            tinynotation: 3/8 A8 c8 e8 d8 c8 B8 c8 r8 B8 A8 r8 r8 B8 B8
            c8 d8 c8 B8 A8 r8 A8 B8 r8 r8 A8 E8 A8 c8 B8 A8 A8 B8 c8 d8
            r8 r8 e8 d8 c8 B8 E8 B8 A8 r8 A8 A8 r8 r8Fr   double   uk  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠉⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠊⠙⠋⠀⠑⠙⠚⠀⠙⠭⠚⠀⠊⠭⠭⠀⠚⠚⠙⠀⠑⠙⠚⠀⠊⠭⠊⠀⠚⠭⠭⠣⠅⠄
        ⠀⠀⠊⠋⠊⠀⠙⠚⠊⠀⠊⠚⠙⠀⠑⠭⠭⠀⠋⠑⠙⠀⠚⠋⠚⠀⠊⠭⠊⠀⠊⠭⠭⠣⠅
        rV   r   r"   r&   r'   r   r(   r
   BarlinerightBarlinerh   ri   r7   r,   r-   s      r/   test_example02_4Test.test_example02_4   sj    0$7__ 9 : 	5I!!&..1KK1!r1   c                   SS0U l         [        R                  " S5      nUR                  SSS9  UR	                  [
        R                  5      nUS   R                  SS9  U H  nU=R                  S-  sl        M     Xl	        S	U l
        g )
Nrf   Tz
            tinynotation: 4/8 r8 r8 d'8 e'8 f'8 c'8 a8 c'8 d'8 c'8 a8
            c'8 a8 c'8 a8 g8 e8 g8 f8 r8
            d8 e8 f8 d8 c8 d8 e8 f8 g8 e8 c8 e8 f8 r8Fr   r   r   r   u&  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠚⠀⠑⠋⠀⠛⠙⠊⠙⠀⠑⠙⠊⠙⠀⠊⠙⠊⠓⠀⠋⠓⠛⠭⠀⠑⠋⠛⠑⠀⠙⠑⠋⠛⠀⠓⠋⠙⠋
        ⠀⠀⠛⠭⠣⠅
        )rV   r   r"   r&   r'   r   r(   r*   r)   rh   ri   rp   s       r/   test_example02_5Test.test_example02_5   s    0$7__ 9 : 	5I!!&..1	!D1GNNaN r1   c                    SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  Xl        SU l        g )Nrf   Tz
            tinynotation: 6/8 G8 G8 G8 G8 E8 F8 A8 G8 G8 G8 r8
            G8 A8 A8 A8 c8 B8 A8 A8 G8 G8 G8 r8 r8
            G8 F8 F8 F8 r8 r8 F8 E8 E8 E8 r8 r8 D8 E8
            D8 G8 F8 D8 C8 E8 D8 C8 r8 r8Fr   uJ  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠋⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠓⠓⠓⠓⠋⠛⠀⠊⠓⠓⠓⠭⠓⠀⠊⠊⠊⠙⠚⠊⠀⠊⠓⠓⠓⠭⠭⠀⠓⠛⠛⠛⠭⠭
        ⠀⠀⠛⠋⠋⠋⠭⠭⠀⠑⠋⠑⠓⠛⠑⠀⠙⠋⠑⠙⠭⠭⠣⠅
        rV   r   r"   r#   r&   rh   ri   rl   s     r/   test_example02_6Test.test_example02_6   sM    0$7__ - . /6gi	 	
 	5Ir1   c                    SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  Xl        SU l        g )Nrf   Tz
            tinynotation: 6/8 e8 r8 e8 f8 r8 f8 d8 r8 d8 e8
            r8 e8 c8 d8 e8 g8 f8 e8 e8 d8 d8 d8 r8 r8
            c8 r8 c8 e8 r8 e8 f8 r8 f8 a8 r8 a8 g8 r8
            g8 g8 a8 b8 d'8 c'8 c'8 c'8 r8 r8Fr   uJ  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠋⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠋⠭⠋⠛⠭⠛⠀⠑⠭⠑⠋⠭⠋⠀⠙⠑⠋⠓⠛⠋⠀⠋⠑⠑⠑⠭⠭⠀⠙⠭⠙⠋⠭⠋
        ⠀⠀⠛⠭⠛⠊⠭⠊⠀⠓⠭⠓⠓⠊⠚⠀⠑⠙⠙⠙⠭⠭⠣⠅
        r   rl   s     r/   test_example02_7Test.test_example02_7   sM    0$7__ 1 2 3:')	 	
 	5Ir1   c                |    SS0U l         [        R                  " S5      nUR                  SSS9  Xl        SU l        g )Nrf   Tz
            tinynotation: 4/4 d'4 b4 g4 b4 c'4 b4 a4 r4 b4 g4 e4 g4 d4 B4
            d4 r4 e4 g4 a4 g4 d4 g4 b4 d'4 e'4 d'4 c'4 a4 g4 d4 g4 r4Fr   u  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠱⠺⠳⠺⠀⠹⠺⠪⠧⠀⠺⠳⠫⠳⠀⠱⠺⠱⠧⠀⠫⠳⠪⠳⠀⠱⠳⠺⠱⠀⠫⠱⠹⠪
        ⠀⠀⠳⠱⠳⠧⠣⠅
        rt   rl   s     r/   test_example03_1Test.test_example03_1  sC    0$7__ I J 	5Ir1   c                |    SS0U l         [        R                  " S5      nUR                  SSS9  Xl        SU l        g )Nrf   Tzqtinynotation: 4/4 A4 F4 C4 F4 G4 E4 C4 E4 F4 G4 A4 F4 D4 E4 F4 r4 G4 A4 G4 C4 F4 A4 c4 d4 c4 A4 G4 C4 D4 E4 F4 r4Fr   u  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠪⠻⠹⠻⠀⠳⠫⠹⠫⠀⠻⠳⠪⠻⠀⠱⠫⠻⠧⠀⠳⠪⠳⠹⠀⠻⠪⠹⠱⠀⠹⠪⠳⠹
        ⠀⠀⠱⠫⠻⠧⠣⠅
        rt   rl   s     r/   test_example03_2Test.test_example03_2  sA    0$7__23 	5Ir1   c                    SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  Xl        SU l        g )Nrf   Tz
            tinynotation: 2/4 g4 e4 a4 g4 f4 r4 d4 r4 c4. c8 d4. d8 e4
            r4 c4 r4 g4 g4 a4 b4 c'4 r4 a4 r4 g4. g8 f4 d4 c4 e4 c4 r4Fr   uD  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠃⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠳⠫⠀⠪⠳⠀⠻⠧⠀⠱⠧⠀⠹⠄⠙⠀⠱⠄⠑⠀⠫⠧⠀⠹⠧⠀⠳⠳⠀⠪⠺⠀⠹⠧⠀⠪⠧
        ⠀⠀⠳⠄⠓⠀⠻⠱⠀⠹⠫⠀⠹⠧⠣⠅
        r   rl   s     r/   test_example03_3Test.test_example03_3"  sM    0$7__ J KKR79 	 	5Ir1   c                |    SS0U l         [        R                  " S5      nUR                  SSS9  Xl        SU l        g )Nrf   Tztinynotation: 4/4 E4 C8 D8 E4 r4 F4 A8 F8 E4 r4 D4 E8 F8 G8 E8 C4 D4 D4 G4 r4 F4 E8 D8 E4 r4 G4 F8 E8 F4 r4 A4 G8 F8 E8 F8 G4 F4 D4 C4 r4Fr   u5  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠫⠙⠑⠫⠧⠀⠻⠊⠛⠫⠧⠀⠱⠋⠛⠓⠋⠹⠀⠱⠱⠳⠧⠀⠻⠋⠑⠫⠧⠀⠳⠛⠋⠻⠧
        ⠀⠀⠪⠓⠛⠋⠛⠳⠀⠻⠱⠹⠧⠣⠅
        rt   rl   s     r/   test_example03_4Test.test_example03_4/  sA    0$7__ 7 8 	5Ir1   c                    SS0U l         [        R                  " S5      nUR                  SSS9  UR	                  [
        R                  5      n[        R                  " S5      US   l	        Xl
        SU l        g )	Nrf   Tz
            tinynotation: 4/4 f4. c8 d4 e4 f4. g8 a4 f4
            a4 c'4 d'4 c'4 a4 f4 g4 r4
            g4. e8 c4 e4 f4. c8 f4 a4 g4 g4 f4 e4 f4 a4 f4 r4Fr   rx      u5  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠻⠄⠙⠱⠫⠀⠻⠄⠓⠪⠻⠀⠪⠹⠱⠹⠀⠪⠻⠳⠧⠣⠅⠄⠀⠳⠄⠋⠹⠫⠀⠻⠄⠙⠻⠪
        ⠀⠀⠳⠳⠻⠫⠀⠻⠪⠻⠧⠣⠅
        rz   r}   s      r/   test_example03_5Test.test_example03_5<  sl    0$7__ A B 	5I!!&..1KK1!r1   c                    SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  Xl        SU l        g )Nrf   Tz
            tinynotation: 3/4 g4 g8 d4 d8 g4 b8 d'8 b8
            g8 a4 a8 a8 b8 c'8 b4 b8
            g4 r8 a4 a8 d4 d8 g4 b8 a4 c'8 b8 c'8 d'8 c'4 a8
            g4 g8 g4 r8Fr   u,  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠳⠓⠱⠑⠀⠳⠚⠑⠚⠓⠀⠪⠊⠊⠚⠙⠀⠺⠚⠳⠭⠀⠪⠊⠱⠑⠀⠳⠚⠪⠙⠀⠚⠙⠑⠹⠊
        ⠀⠀⠳⠓⠳⠭⠣⠅
        r   rl   s     r/   test_example03_6Test.test_example03_6L  sM    0$7__   $GI	 	
 	5Ir1   c                    SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  Xl        SU l        g )Nrf   Tz^
            tinynotation: 4/4 c2 e2 d2 f2 e2 g2 f2 a2 g2 b2 a2 c'2 b2 d'2 c'2 r2
            Fr   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠝⠏⠀⠕⠟⠀⠏⠗⠀⠟⠎⠀⠗⠞⠀⠎⠝⠀⠞⠕⠀⠝⠥⠣⠅
        r   rl   s     r/   test_example04_1Test.test_example04_1^  sK    0$7__   	 	5Ir1   c                    SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  Xl        SU l        g )Nrf   TzMtinynotation: 4/4 F2 A2 G2 C2 D4 C4 D4 E4 F2 r2 D2 F2 C2 F2 E4 F4 G4 A4 F2 r2Fr   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠟⠎⠀⠗⠝⠀⠱⠹⠱⠫⠀⠟⠥⠀⠕⠟⠀⠝⠟⠀⠫⠻⠳⠪⠀⠟⠥⠣⠅
        r   rl   s     r/   test_example04_2Test.test_example04_2j  sI    0$7__[

') 	 	5Ir1   c                    SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  Xl        SU l        g )Nrf   Tz
            tinynotation: 3/4 c2 c4 d8 c8 B8 c8 d4 e2 e4 f8 e8 d8
            e8 f4 g2 g4 a8 g8 f8 g8 a4 b8 a8 g8 a8 b8 d'8 c'4 r2 e'2
            e'4 d'8 c'8 b8 c'8 d'4 c'2 c'4 b8 a8 g8 a8 b4 a2 a4 g8 f8 e8 f8 g4
            f8 e8 d8 e8 f8 d8 c4 r2Fr   u  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠝⠹⠀⠑⠙⠚⠙⠱⠀⠏⠫⠀⠛⠋⠑⠋⠻⠀⠗⠳⠀⠊⠓⠛⠓⠪⠀⠚⠊⠓⠊⠚⠑⠀⠹⠥
        ⠀⠀⠏⠫⠀⠑⠙⠚⠙⠱⠀⠝⠹⠀⠚⠊⠓⠊⠺⠀⠎⠪⠀⠓⠛⠋⠛⠳⠀⠛⠋⠑⠋⠛⠑⠀⠹⠥⠣⠅
        r   rl   s     r/   test_example04_3Test.test_example04_3v  sM    0$7__ ' ( )0		 	
 	5Ir1   c                0   [         U l        SS0U l        [        R                  " S5      R                  5       nUR                  SSS9  UR                  [        R                  5      nUS   R                  S5        S US   l        US   U l        S	U l        g )
Nrf   Tztinynotation: 4/4 f2~ f4. f8Fr   r   r   u$   
        ⠟⠈⠉⠻⠄⠛
        r   rU   rV   r   r"   r#   r&   r'   r   r(   popr|   rh   ri   r}   s      r/   test_example04_4Test.test_example04_4  s    &0$7__;<DDF
5I!!&..1	!!"1r1   c                0   [         U l        SS0U l        [        R                  " S5      R                  5       nUR                  SSS9  UR                  [        R                  5      nUS   R                  S5        S US   l        US   U l        S	U l        g )
Nrf   Tztinynotation: 3/4 g4.~ g8 a8 g8Fr   r   r   r   u'   
        ⠳⠄⠈⠉⠓⠊⠓
        r   r}   s      r/   test_example04_5Test.test_example04_5  s    &0$7__>?GGI
5I!!&..1	!!"1r1   c                R   [         U l        SS0U l        [        R                  " S5      R                  5       nUR                  SSS9  UR                  [        R                  5      nUS   R                  S5        S US   l        US   U l        SU l        US	   U l        S
U l        g )Nrf   Tztinynotation: 3/4 g2 g4~ g2 r4Fr   r   r   u*   
        ⠼⠉⠲⠀⠗⠳⠈⠉
        r   u   
        ⠗⠧
        r   r}   s      r/   test_example04_6Test.test_example04_6  s    &0$7__=>FFH
5I!!&..1	!!"1 1r1   c                    SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  Xl        SU l        g )Nrf   Tzotinynotation: 3/4 g2. e2. c2. e2. c4 d4 e4 g4 f4 e4 d2.~ d2. e2 e4 e4 f4 g4 a2 a4 a4 g4 f4 e2 f4 d2 e4 c2.~ c2.Fr   uS  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠗⠄⠀⠏⠄⠀⠝⠄⠀⠏⠄⠀⠹⠱⠫⠀⠳⠻⠫⠀⠕⠄⠈⠉⠀⠕⠄⠀⠏⠫⠀⠫⠻⠳⠀⠎⠪
        ⠀⠀⠪⠳⠻⠀⠏⠻⠀⠕⠫⠀⠝⠄⠈⠉⠀⠝⠄⠣⠅
        r   rl   s     r/   test_example04_7Test.test_example04_7  sM    0$7__ R SSZSZS\ 	
5Ir1   c                    SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  Xl        SU l        g )Nrf   Tzi
            tinynotation: 4/4 c'1 a1 f1 a1 c'1 d'1 c'1~ c'1
            d'1 e'1 f'1 d'1 c'1 g'1 f'1~ f'1Fr   u  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠽⠀⠮⠀⠿⠀⠮⠀⠽⠀⠵⠀⠽⠈⠉⠀⠽⠀⠵⠀⠯⠀⠿⠀⠵⠀⠽⠀⠷⠀⠿⠈⠉⠀⠿⠣⠅
        r   rl   s     r/   test_example05_1Test.test_example05_1  sK    0$7__ 0 118 	 	5Ir1   c                    SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  Xl        SU l        g )Nrf   Tz\tinynotation: 4/4 C1 E1 G1 A1 B1 A1 G1~ G1 A1 c1 A1 F1 G1 B1 G1 E1 F1 A1 F1 D1 BB1 D1 C1~ C1Fr   uG  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠽⠀⠯⠀⠷⠀⠮⠀⠾⠀⠮⠀⠷⠈⠉⠀⠷⠀⠮⠀⠽⠀⠮⠀⠿⠀⠷⠀⠾⠀⠷⠀⠯⠀⠿⠀⠮
        ⠀⠀⠿⠀⠵⠀⠾⠀⠵⠀⠽⠈⠉⠀⠽⠣⠅
        r   rl   s     r/   test_example05_2Test.test_example05_2  sK    0$7__ H IIP 	
5Ir1   c                    SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  Xl        SU l        g )Nrf   Tz)tinynotation: 3/2 r1 g2 g2 g2 g2 g4 g4 r1Fr   uu   
        ⠀⠀⠀⠀⠀⠀⠼⠉⠆⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠍⠗⠀⠗⠗⠗⠀⠳⠳⠍⠣⠅
        r   rl   s     r/   test_example05_3Test.test_example05_3  sD    0$7__HIQQS
5Ir1   c                    SS0U l         [        R                  " S5      nUR                  SSS9  Xl        SU l        SU l        g )Nrf   TzYtinynotation: 4/4 E2 F2 G1 E2 D2 C1 D2 E2 F2 E2 D1 r1 C2 D2 E1 F2 G2 A1 G2 F2 E2 D2 C1 r1Fr   u#  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠏⠟⠀⠷⠀⠏⠕⠀⠽⠀⠕⠏⠀⠟⠏⠀⠵⠀⠍⠀⠝⠕⠀⠯⠀⠟⠗⠀⠮⠀⠗⠟⠀⠏⠕⠀⠽
        ⠀⠀⠍⠣⠅
        u  
        ---begin segment---
        <music21.braille.segment BrailleSegment>
        Measure 1, Signature Grouping 1:
        Time Signature 4/4 ⠼⠙⠲
        ===
        Measure 1, Note Grouping 1:
        <music21.clef.BassClef>
        E half ⠏
        F half ⠟
        ===
        Measure 2, Note Grouping 1:
        G whole ⠷
        ===
        Measure 3, Note Grouping 1:
        E half ⠏
        D half ⠕
        ===
        Measure 4, Note Grouping 1:
        C whole ⠽
        ===
        Measure 5, Note Grouping 1:
        D half ⠕
        E half ⠏
        ===
        Measure 6, Note Grouping 1:
        F half ⠟
        E half ⠏
        ===
        Measure 7, Note Grouping 1:
        D whole ⠵
        ===
        Measure 8, Note Grouping 1:
        Rest whole ⠍
        ===
        Measure 9, Note Grouping 1:
        C half ⠝
        D half ⠕
        ===
        Measure 10, Note Grouping 1:
        E whole ⠯
        ===
        Measure 11, Note Grouping 1:
        F half ⠟
        G half ⠗
        ===
        Measure 12, Note Grouping 1:
        A whole ⠮
        ===
        Measure 13, Note Grouping 1:
        G half ⠗
        F half ⠟
        ===
        Measure 14, Note Grouping 1:
        E half ⠏
        D half ⠕
        ===
        Measure 15, Note Grouping 1:
        C whole ⠽
        ===
        Measure 16, Note Grouping 1:
        Rest whole ⠍
        Barline final ⠣⠅
        ===
        ---end segment---
        )rV   r   r"   r&   rh   ri   rk   rl   s     r/   test_example05_4Test.test_example05_4  sK    0$7__ F G
5I
Ar1   c                    SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  Xl        SU l        SU l        g )Nrf   Tzitinynotation: 3/4 F2. r2. A2. r2. F4 G4 A4 c4 A4 F4 G4 r2 r2. E2. r2. G2. r2. C4 D4 E4 G4 E4 C4 F4 r2 r2.Fr   u2  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠟⠄⠀⠍⠀⠎⠄⠀⠍⠀⠻⠳⠪⠀⠹⠪⠻⠀⠳⠥⠀⠍⠀⠏⠄⠀⠍⠀⠗⠄⠀⠍⠀⠹⠱⠫
        ⠀⠀⠳⠫⠹⠀⠻⠥⠀⠍⠣⠅
        u  
        ---begin segment---
        <music21.braille.segment BrailleSegment>
        Measure 1, Signature Grouping 1:
        Time Signature 3/4 ⠼⠉⠲
        ===
        Measure 1, Note Grouping 1:
        <music21.clef.BassClef>
        F half ⠟
        Dot ⠄
        ===
        Measure 2, Note Grouping 1:
        Rest whole ⠍
        ===
        Measure 3, Note Grouping 1:
        A half ⠎
        Dot ⠄
        ===
        Measure 4, Note Grouping 1:
        Rest whole ⠍
        ===
        Measure 5, Note Grouping 1:
        F quarter ⠻
        G quarter ⠳
        A quarter ⠪
        ===
        Measure 6, Note Grouping 1:
        C quarter ⠹
        A quarter ⠪
        F quarter ⠻
        ===
        Measure 7, Note Grouping 1:
        G quarter ⠳
        Rest half ⠥
        ===
        Measure 8, Note Grouping 1:
        Rest whole ⠍
        ===
        Measure 9, Note Grouping 1:
        E half ⠏
        Dot ⠄
        ===
        Measure 10, Note Grouping 1:
        Rest whole ⠍
        ===
        Measure 11, Note Grouping 1:
        G half ⠗
        Dot ⠄
        ===
        Measure 12, Note Grouping 1:
        Rest whole ⠍
        ===
        Measure 13, Note Grouping 1:
        C quarter ⠹
        D quarter ⠱
        E quarter ⠫
        ===
        Measure 14, Note Grouping 1:
        G quarter ⠳
        E quarter ⠫
        C quarter ⠹
        ===
        Measure 15, Note Grouping 1:
        F quarter ⠻
        Rest half ⠥
        ===
        Measure 16, Note Grouping 1:
        Rest whole ⠍
        Barline final ⠣⠅
        ===
        ---end segment---

        )rV   r   r"   r#   r&   rh   ri   rk   rl   s     r/   test_example05_5Test.test_example05_50  sU    0$7__ K LLSGI 	
5I
Hr1   c                "   SS0U l         [        R                  " SSS9nUR                  [        R
                  " SS95        [        R                  " SSS9nUR                  [        R                  " S	SS95        UR                  [        R
                  " S
S95        UR                  UR                  5       5        UR                  S[        R                  " S5      5        UR                  5       nUR                  SSS9  Xl        SU l        g )Nrf   TzE
            tinynotation: a1 c'1 b1 c'2 b2 a1 b2 c'2 b1
            Fre          @quarterLengthztinynotation: g1 b1 a2 g2A4      @r   z6/2r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠋⠆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠮⠽⠾⠀⠝⠞⠮⠞⠝⠀⠾⠍⠘⠉⠍⠀⠷⠾⠎⠗⠀⠮⠘⠉⠮⠍⠣⠅
        )rV   r   r"   appendr   RestNoter#   r$   r   TimeSignaturer&   rh   ri   )r7   r,   bm2s      r/   test_example05_6Test.test_example05_6  s    0$7__ #% 			$))#./oo9N

499T56

4993/0
		#++- 
		!U((/0ZZ\
5Ir1   c                    [         R                  " S5      R                  5       nUR                  SS9  UR	                  [
        R                  5      nUS   R                  S5        SSS.U l        Xl	        g )Nz tinynotation: 4/4 r1 r1 r1 r1 r1Tr   r   FshowHeadingshowFirstMeasureNumber
r   r"   r#   r&   r'   r   r(   r   rV   rh   r}   s      r/   xtest_example05_7aTest.xtest_example05_7a  s\    __?@HHJ
%!!&..1	!*/5Qr1   c                    [         R                  " S5      R                  5       nUR                  SS9  UR	                  [
        R                  5      nUS   R                  S5        SSS.U l        Xl	        g )Nztinynotation: r1 r1 r1 r1Tr   r   Fr   r   r}   s      r/   xtest_example05_7bTest.xtest_example05_7b  s\    __89AAC
%!!&..1	!*/5Qr1   c                    [         R                  " S5      R                  5       nUR                  SS9  UR	                  [
        R                  5      nUS   R                  S5        SSS.U l        Xl	        g )Nztinynotation: r1 r1Tr   r   Fr   r   r}   s      r/   xtest_example05_7cTest.xtest_example05_7c  s\    __23;;=
%!!&..1	!*/5Qr1   c           	         SSK Jn  SSKJn  U R	                  U" U" SSS9SS9S	5        U R	                  U" U" S
SS9SS9S5        U R	                  U" U" SSS9SS9S5        g )Nr   )noteToBraille)r   zC#4   r   F)
showOctaveu   ⠩⠝Gn4u   ⠡⠗E-4u   ⠣⠏)music21.braille.basicr   music21.noter   assertEqual)r7   r   r   s      r/   test_example06_1Test.test_example06_1  sn    7%tE'CPUV!	#tE'CPUV!	#tE'CPUV!	#r1   c                0   [         U l        SS0U l        [        R                  " S5      R                  5       nUR                  SSS9  UR                  [        R                  5      nUS   R                  S5        S US   l        US   U l        S	U l        g )
Nrf   Tztinynotation: g#4 f##4 g#2Fr   r   r   r   u   ⠩⠳⠩⠩⠻⠗r   r}   s      r/   test_example06_2Test.test_example06_2  s~    &0$7__9:BBD
5I!!&..1	!!"1%r1   c                R   [         U l        SS0U l        [        R                  " S5      R                  5       nUR                  SSS9  UR                  [        R                  5      nUS   R                  S5        S US   l        US   U l        SU l        US	   U l        S
U l        g )Nrf   Tz(tinynotation: 4/4 c'2 b-2~ b-4 c'4 a4 f4Fr   r   r   u   ⠼⠙⠲⠀⠝⠣⠞⠈⠉r   u   ⠺⠹⠪⠻r   r}   s      r/   test_example06_3Test.test_example06_3  s    &0$7__GHPPR
5I!!&..1	!!"1.1r1   c                p   [         U l        SS0U l        [        R                  " SSS9n[
        R                  " 5       UR                  S   R
                  l        SUR                  S   R
                  R                  l	        [
        R                  " 5       UR                  S   R
                  l        SUR                  S   R
                  R                  l	        UR                  SSS9  UR                  [        R                  5      nS US	   l        US   U l        S
U l        US   U l        SU l        g )Nrf   Tz'tinynotation: 3/4 e4 e8 a8 c'8 e'8 f'2.Fre   r   rg   r   r   u3   
        ⠼⠉⠲⠀⠡⠫⠋⠊⠙⠡⠋
        r   u   
        ⠟⠄
        )r   rU   rV   r   r"   r   
Accidentalnotes
accidentaldisplayStatusr&   r'   r   r(   r|   rh   ri   r}   s      r/   test_example06_4Test.test_example06_4  s    &0$7__FUZ[','7'7'9$59$$2','7'7'9$59$$2
5I!!&..1!"1 1r1   c                   [         U l        SS0U l        [        R                  " S5      R                  5       n[        R                  " 5       UR                  S   R                  l	        UR                  SSS9  UR                  [        R                  5      nS US   l        US   U l        S	U l        US
   U l        SU l        g )Nrf   Tz1tinynotation: 3/4 c'8 b-8 a8 g8 f4 g8 bn8 c'4 d'4r   Fr   r   r   u0   
        ⠼⠉⠲⠀⠙⠣⠚⠊⠓⠻
        r   u!   
        ⠓⠡⠚⠹⠱
        )r   rU   rV   r   r"   r#   r   r   r   r   r&   r'   r   r(   r|   rh   ri   r}   s      r/   test_example06_5Test.test_example06_5  s    &0$7__PQYY[(-(8(8(:%
5I!!&..1!"1 1r1   c                |    SS0U l         [        R                  " S5      nUR                  SSS9  Xl        SU l        g )Nrf   Tz
            tinynotation: c4 c#4 d4 d#4 e4 f4 f#4 g4 g#4 a4 b-4 bn4
            c'2 r2 e'2 e'-4 d'4 c'4 d'4 e'4 c'4 b4 b-4 a4 bn4 c'2 r2Fr   u)  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠹⠩⠹⠱⠩⠱⠀⠫⠻⠩⠻⠳⠀⠩⠳⠪⠣⠺⠡⠺⠀⠝⠥⠀⠏⠣⠫⠱⠀⠹⠱⠡⠫⠹
        ⠀⠀⠺⠣⠺⠪⠡⠺⠀⠝⠥⠣⠅
        rt   rl   s     r/   test_example06_6Test.test_example06_6  sC    0$7__ H I 	5Ir1   c                x   SS0U l         [        R                  " SSS9R                  S/5      R	                  5       nUR                  SSS9  UR                  [        R                  5      nSUS   S	   R                  R                  l
        SUS   S
   R                  R                  l
        Xl        SU l        g )Nrf   Tz
            tinynotation: g'4 f'#4 f'4 e'4 e'-4 d'4 d'-4 c'4 b4 b-4 a4 a-4 g4
            f#4 f4 e4 e-4 d4 d-4 c4 B4 c4 d4 e4 c2 r2 c1
            Fre   r   r   r   r   r   u)  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠳⠩⠻⠡⠻⠫⠀⠣⠫⠱⠣⠱⠹⠀⠺⠣⠺⠪⠣⠪⠀⠳⠩⠻⠡⠻⠫⠀⠣⠫⠱⠣⠱⠹
        ⠀⠀⠺⠹⠱⠫⠀⠝⠥⠀⠽⠣⠅
        )rV   r   r"   getElementsNotOfClassr   r&   r'   r(   r   r   r   rh   ri   r}   s      r/   test_example06_7Test.test_example06_7  s    0$7__  $% &;%:O;L%Mffh 	 	5I!!&..127"a!!/27"a!!/r1   c                |    SS0U l         [        R                  " S5      nUR                  SSS9  Xl        SU l        g )Nrf   Tz
            tinynotation: 4/4 c'4 c'8 b-8 a-8 c'8 f'8
            a'-8~ a'-8 g'8 f'8 g'8 c'2
            d'-4 f'8 d'-8 c'8 c'8 a-8 f8 g8 g8 c8 c8 f2Fr   u  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠹⠙⠣⠚⠣⠊⠙⠛⠣⠊⠈⠉⠀⠊⠓⠛⠓⠝⠀⠣⠱⠛⠑⠙⠙⠣⠊⠛⠀⠓⠓⠙⠙⠟⠣⠅
        rt   rl   s     r/   test_example06_8Test.test_example06_8!  sA    0$7__ ; < 	5Ir1   c                |    SS0U l         [        R                  " S5      nUR                  SSS9  Xl        SU l        g )Nrf   Tzrtinynotation: E4 G2 E4 F#4 A2 F#4 G8 A8 B4 G4 E4 D#8 E8 F#4 D#4 G4 C4 E2 F#4 G4 B2 c4 B8 A8 G8 B8 A8 G8 F#8 D#8 E1Fr   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠫⠗⠫⠀⠩⠻⠎⠻⠀⠓⠊⠺⠳⠫⠀⠩⠑⠋⠩⠻⠱⠳⠀⠹⠏⠩⠻⠀⠳⠞⠹
        ⠀⠀⠚⠊⠓⠚⠊⠓⠩⠛⠩⠑⠀⠯⠣⠅
        rt   rl   s     r/   test_example06_9Test.test_example06_9.  sA    0$7__ O P
5Ir1   c                |    SS0U l         [        R                  " S5      nUR                  SSS9  Xl        SU l        g )Nrf   Tz
            tinynotation: a4 a2 a4~ a4 r4 b-2 c'4 c'4 r4 c'4~ c'4 r4 d'2
            e'8 e'4 e'8 f'4 r4 e'8 e'4 e'8 d'4 r4 c'8 c'4 c'8 b-8 b-4 b-8 a2. r4Fr   u)  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠪⠎⠪⠈⠉⠀⠪⠧⠣⠞⠀⠹⠹⠧⠹⠈⠉⠀⠹⠧⠕⠀⠋⠫⠋⠻⠧⠀⠋⠫⠋⠱⠧
        ⠀⠀⠙⠹⠙⠣⠚⠺⠚⠀⠎⠄⠧⠣⠅
        rt   rl   s     r/   test_example06_10Test.test_example06_10:  sC    0$7__ T U 	5Ir1   c                |    SS0U l         [        R                  " S5      nUR                  SSS9  Xl        SU l        g )Nrf   Tz
            tinynotation: A4. B8 c4 B4 A8 c8 e8 c8 A8 c8 e4 d4. f8
            a4 f4 d8 f8 a8 f8 d8 f8 a4
            g#4. e8 a2 b4. b8 c'2 d'8 c'8 b8 a8 g#8 e8 f#8 g#8 a2~ a8 g#8 a4Fr   uM  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠪⠄⠚⠹⠺⠀⠊⠙⠋⠙⠊⠙⠫⠀⠱⠄⠛⠪⠻⠀⠑⠛⠊⠛⠑⠛⠪⠀⠩⠳⠄⠋⠎
        ⠀⠀⠺⠄⠚⠝⠀⠑⠙⠚⠊⠩⠓⠋⠩⠛⠓⠀⠎⠈⠉⠊⠩⠓⠪⠣⠅
        rt   rl   s     r/   test_example06_11Test.test_example06_11G  sC    0$7__ P Q 	5Ir1   c                   SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  SUR                  S5      R                  S   R                  R                  l	        SUR                  S5      R                  S   R                  R                  l	        SUR                  S	5      R                  S
   R                  R                  l	        Xl
        SU l        g )Nrf   Tz
            tinynotation: e'8 e'-8 d'8 d'-8 c'8 a8 a-8 g8 b--8 a-8 g8 g-8
            f8 e8 d8 c8 d8 B8 B-8 Bn8 c8 d8 e8 f8 g8 g#8 a8 b8 c'4 r4Fr   r         r   r   u)  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠋⠣⠋⠑⠣⠑⠙⠊⠣⠊⠓⠀⠣⠣⠚⠣⠊⠓⠣⠓⠛⠋⠑⠙⠀⠑⠚⠣⠚⠡⠚⠙⠑⠋⠛
        ⠀⠀⠓⠩⠓⠊⠚⠹⠧⠣⠅
        )rV   r   r"   r#   r&   r+   r   r   r   r   rh   ri   rl   s     r/   test_example06_12Test.test_example06_12U  s    0$7__ I JJQ') 	 	5I@E

1A$$//=@E

1A$$//=@E

1A$$//=r1   c                   [         R                  " 5       nUR                  [        R                  " SSS95        UR                  [        R                  " SSS95        UR                  [        R                  " SSS95        UR                  [        R                  " SSS95        UR                  [        R                  " SSS95        UR                  [        R                  " SSS95        UR                  [        R                  " S	SS95        UR                  S
SS9  UR                  [         R                  5      nS US   l        Xl	        SU l
        g )NC1r   r   C2C3C4C5C6C7TFr   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠈⠽⠀⠘⠽⠀⠸⠽⠀⠐⠽⠀⠨⠽⠀⠰⠽⠀⠠⠽
        )r   Partr   r   r   r&   r'   r(   r|   rh   ri   r}   s      r/   test_example07_1Test.test_example07_1h  s    [[]
		$))D45
		$))D45
		$))D45
		$))D45
		$))D45
		$))D45
		$))D45
5I!!&..1!"r1   c                   [         R                  " 5       nUR                  [        R                  " SSS95        UR                  [        R                  " SSS95        UR                  [        R                  " SSS95        UR                  S[        R                  " S5      5        UR                  SS	S
9  UR                  [         R                  5      nUS   R                  S5        S US   l        Xl        SU l        g )NA0r   r   B0C8r   z2/1TFr   r   u]   
        ⠀⠀⠀⠀⠼⠃⠂⠀⠀⠀⠀
        ⠼⠁⠀⠈⠈⠮⠾⠀⠠⠠⠽
        )r   r  r   r   r   r$   r   r   r&   r'   r(   r   r|   rh   ri   r}   s      r/   test_example07_2Test.test_example07_2z  s    [[]
		$))D45
		$))D45
		$))D45
		!U((/0
5I!!&..1	!!"r1   c                   [         U l        [        R                  " S5      R	                  5       nUR                  SSS9  UR                  [        R                  5      nUS   R                  S5        S US   l
        US   U l        SU l        g )	Nztinynotation: c4 e4TFr   r   r   r   u	   ⠐⠹⠫r   rU   r   r"   r#   r&   r'   r   r(   r   r|   rh   ri   r}   s      r/   test_example07_3aTest.test_example07_3a  r    &__23;;=
5I!!&..1	!!"1r1   c                   [         U l        [        R                  " S5      R	                  5       nUR                  SSS9  UR                  [        R                  5      nUS   R                  S5        S US   l
        US   U l        SU l        g )	Nztinynotation: c'2. a4TFr   r   r   r   u   ⠨⠝⠄⠪r$  r}   s      r/   test_example07_3bTest.test_example07_3b  sr    &__45==?
5I!!&..1	!!"1r1   c                   [         U l        [        R                  " S5      R	                  5       nUR                  SSS9  UR                  [        R                  5      nUS   R                  S5        S US   l
        US   U l        SU l        g )	Nztinynotation: 4/4 c2 a2TFr   r   r   r   u   ⠐⠝⠐⠎r$  r}   s      r/   test_example07_4aTest.test_example07_4a  sr    &__67??A
5I!!&..1	!!"1r1   c                   [         U l        [        R                  " S5      R	                  5       nUR                  SSS9  UR                  [        R                  5      nUS   R                  S5        S US   l
        US   U l        SU l        g )	Nztinynotation: 4/4 c'2 e2TFr   r   r   r   u   ⠨⠝⠐⠏r$  r}   s      r/   test_example07_4bTest.test_example07_4b  sr    &__78@@B
5I!!&..1	!!"1r1   c                   [         U l        [        R                  " S5      R	                  5       nUR                  SSS9  UR                  [        R                  5      nUS   R                  S5        S US   l
        US   U l        SU l        g )	Nztinynotation: C2 F2TFr   r   r   r   u	   ⠸⠝⠟r$  r}   s      r/   test_example07_5aTest.test_example07_5a  r'  r1   c                   [         U l        [        R                  " S5      R	                  5       nUR                  SSS9  UR                  [        R                  5      nUS   R                  S5        S US   l
        US   U l        SU l        g )	Nztinynotation: f2 c'2TFr   r   r   r   u   ⠐⠟⠨⠝r$  r}   s      r/   test_example07_5bTest.test_example07_5b  sr    &__34<<>
5I!!&..1	!!"1r1   c                *   [         R                  " S5      R                  5       nUR                  SSS9  Xl        SU l        SU l        U R                  UR                  S5      R                  S   R                  R                  R                  5        g )	Nz
            tinynotation: 4/8 e'-8 e'-8 e'-8 e'-8 d'8 d'8 b-4 c'8
            c'8 c'8 c'8 e-8 c'8 b-4
            f8 f8 c'4 b-8 b-8 f'4 e'-8 d'8 c'8 b-8 e'-4 e-4TFr   u>  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠣⠨⠋⠋⠋⠋⠀⠑⠑⠣⠺⠀⠙⠙⠙⠙⠀⠣⠐⠋⠨⠙⠣⠺⠀⠛⠛⠨⠹⠀⠣⠚⠚⠨⠻
        ⠀⠀⠣⠨⠋⠑⠙⠣⠚⠀⠣⠨⠫⠣⠐⠫⠣⠅
        uU  
        ---begin segment---
        <music21.braille.segment BrailleSegment>
        Measure 1, Signature Grouping 1:
        Time Signature 4/8 ⠼⠙⠦
        ===
        Measure 1, Note Grouping 1:
        <music21.clef.TrebleClef>
        Accidental flat ⠣
        Octave 5 ⠨
        E eighth ⠋
        E eighth ⠋
        E eighth ⠋
        E eighth ⠋
        ===
        Measure 2, Note Grouping 1:
        D eighth ⠑
        D eighth ⠑
        Accidental flat ⠣
        B quarter ⠺
        ===
        Measure 3, Note Grouping 1:
        C eighth ⠙
        C eighth ⠙
        C eighth ⠙
        C eighth ⠙
        ===
        Measure 4, Note Grouping 1:
        Accidental flat ⠣
        Octave 4 ⠐
        E eighth ⠋
        Octave 5 ⠨
        C eighth ⠙
        Accidental flat ⠣
        B quarter ⠺
        ===
        Measure 5, Note Grouping 1:
        F eighth ⠛
        F eighth ⠛
        Octave 5 ⠨
        C quarter ⠹
        ===
        Measure 6, Note Grouping 1:
        Accidental flat ⠣
        B eighth ⠚
        B eighth ⠚
        Octave 5 ⠨
        F quarter ⠻
        ===
        Measure 7, Note Grouping 1:
        Accidental flat ⠣
        Octave 5 ⠨
        E eighth ⠋
        D eighth ⠑
        C eighth ⠙
        Accidental flat ⠣
        B eighth ⠚
        ===
        Measure 8, Note Grouping 1:
        Accidental flat ⠣
        Octave 5 ⠨
        E quarter ⠫
        Accidental flat ⠣
        Octave 4 ⠐
        E quarter ⠫
        Barline final ⠣⠅
        ===
        ---end segment---
        ry   r   )r   r"   r#   r&   rh   ri   rk   
assertTruer+   r   r   r   r   rl   s     r/   test_example07_6Test.test_example07_6  s    __ ? @ AH	 	 	5IDJ 	

1++A.44??MMNr1   c                8   [         R                  " S5      R                  5       nUR                  SSS9  UR	                  [
        R                  5      nUS   R                  S5        US   R                  SSS9  US	   R                  SSS9  Xl	        S
U l
        g)u  
"Whenever the marking “8va” occurs in print over or under certain notes,
these notes should be transcribed according to the octaves in which they
are actually to be played." page 42, Braille Transcription Manual

TODO: Replace with actual 8va spanner.
zl
            tinynotation: 4/8 a8 c'8 f'8 c'8 a8 c'8 f'8 c'8 a'8
            f'8 c'8 d'8 a'8 f'8 e'8 c'8 f'2TFr   r   r   P8r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠐⠊⠙⠛⠙⠀⠨⠊⠙⠛⠙⠀⠰⠊⠛⠙⠑⠀⠨⠊⠛⠋⠙⠀⠟⠣⠅
        N)r   r"   r#   r&   r'   r   r(   r   	transposerh   ri   r}   s      r/   test_example07_7Test.test_example07_7  s     __ / 007	 	 	5I!!&..1	!	!tT*	!tT*r1   c                j    [         R                  " S5      nUR                  SSS9  Xl        SU l        g )Nzetinynotation: C2 GG4 E4 D4. C8 C4 C4 A2 G4 E4 D4 G2 G4 c4. B8 A4 G4 A4 F4 C4 AA4 GG4 GG4 D4 G4 E4 C2.TFr   u&  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠸⠝⠘⠳⠸⠫⠀⠱⠄⠙⠹⠹⠀⠸⠎⠳⠫⠀⠱⠗⠳⠀⠐⠹⠄⠚⠪⠳⠀⠪⠻⠹⠪
        ⠀⠀⠘⠳⠳⠸⠱⠳⠀⠫⠝⠄⠣⠅
        r   r"   r&   rh   ri   rl   s     r/   test_example07_8Test.test_example07_80  s5    __ N O
5Ir1   c                j    [         R                  " S5      nUR                  SSS9  Xl        SU l        g )Nz
            tinynotation: 3/4 e4. a8 c'8 e'8 d'4 d'8 c'8 b4 e4. g#8 b8 e'8 c'4 c'8 b8 a4
            a8 c'#8 e'8 a'8 c'#8 g'8 f'8 d'8 a8 e'8 d'8 f8 c'8 b8 d8 a8 g#8 e8 a2.TFr   uM  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠐⠫⠄⠊⠙⠋⠀⠱⠑⠙⠺⠀⠫⠄⠩⠓⠚⠨⠋⠀⠹⠙⠚⠪⠀⠊⠩⠙⠋⠊⠨⠙⠓
        ⠀⠀⠨⠛⠑⠐⠊⠨⠋⠑⠐⠛⠀⠨⠙⠚⠐⠑⠊⠩⠓⠋⠀⠎⠄⠣⠅
        rA  rl   s     r/   test_example07_9Test.test_example07_9;  s7    __ V W 	5Ir1   c                "   [         R                  " S5      nUR                  SSS9  Xl        SU l        / SQnU HR  u  p4nU R                  UR                  U5      R                  U   R                  R                  R                  U5        MT     g )Nz
            tinynotation: 4/4 a4 e'4 a'4 e'4 c'#8 f'#8 e'8 a8 b4
            e'4 d'8 a8 f#8 d'8 c'#8 a8 e8 c'#8 b8 f#8 g#8 a8 b4 e4
            a4 a4 f'#4 e'4 d'4 d'4 b'4 a'4
            a'8 c'#8 g'#8 f'#8 e'8 e8 c'#8 b8 a2 r2TFr   u  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠐⠪⠨⠫⠪⠫⠀⠩⠙⠩⠛⠋⠐⠊⠺⠨⠫⠀⠑⠐⠊⠩⠛⠨⠑⠩⠙⠊⠋⠨⠙
        ⠀⠀⠐⠚⠩⠛⠩⠓⠊⠺⠫⠀⠪⠪⠩⠨⠻⠫⠀⠱⠱⠨⠺⠪⠀⠊⠩⠨⠙⠩⠓⠩⠛⠋⠐⠋⠨⠙⠚
        ⠀⠀⠐⠎⠥⠣⠅
        ))r   r   T)r   r   T)r   r   T)r   rg   T)r   ry   F)rg   r   T)rg   r   Tr  r   T)ry   r   T)ry   r   T)ry   r   T)ry   r  F)r   r"   r&   rh   ri   r   r+   r   r   r   r   )r7   r,   t
measureNumnoteNumresults         r/   test_example07_10Test.test_example07_10G  s    __ 7 8
 	5I* ,-'JRZZ
399'BHHSSaa#% ,-r1   c                @   [         R                  " S5      nUR                  SSS9  UR                  [        R
                  5      nUS   R                  SS9  U H  nU=R                  S-  sl        M     [        R                  " 5       UR                  S5      R                  S	   R                  l        Xl        S
U l        / SQnU HR  u  pVnU R                  UR                  U5      R                  U   R                  R                  R                   U5        MT     g )Nztinynotation: 6/8 r2 r8 GG8 C4 GG8 C4 E-8 D4 GG8 D4 G8 C4 G8 c4 B-8 A-4 F8 C4 A-8 G8 E-8 A-8 G8 C8 F8 E-8 GG8 D8 C8 GG8 EE-8 FF8 D8 C8 BBn8 GG8 GG8 CC4. r4TFr   r   r   r   ry   r   uq  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠋⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠚⠀⠘⠓⠀⠸⠹⠘⠓⠸⠹⠣⠋⠀⠱⠘⠓⠸⠱⠓⠀⠹⠓⠐⠹⠣⠚⠀⠣⠪⠛⠹⠸⠊
        ⠀⠀⠸⠓⠣⠋⠣⠊⠓⠙⠛⠀⠣⠋⠘⠓⠸⠑⠙⠘⠓⠣⠋⠀⠛⠸⠑⠙⠡⠚⠓⠓⠀⠹⠄⠧⠣⠅
        ))rg   r   T)rg   r   F)r  r   TrH  )r  r   T)r  r  T)r   r"   r&   r'   r   r(   r*   r)   r   r   r+   r   r   rh   ri   r   r   )r7   r,   r-   r+   rI  rJ  rK  rL  s           r/   test_example07_11Test.test_example07_11\  s    __XY 	5I!!&..1	!D1GNNaN 272B2B2D

1A$$/
 ,-'JRZZ
399'BHHSSaa#% ,-r1   c                    SSK Jn  / SQn[        U5       H9  u  p4SUS-   -  nU R                  U" [        R
                  " U5      5      U5        M;     g )Nr   keySigToBraille)u   ⠣u   ⠣⠣u	   ⠣⠣⠣u	   ⠼⠙⠣u	   ⠼⠑⠣u	   ⠼⠋⠣u	   ⠼⠛⠣r   r   r   rT  	enumerater   r   r%   )r7   rT  resultsirflatss         r/   test_example08_1aTest.test_example08_1az  sH    9dg&DA!a%LE_S-=-=e-DEqI 'r1   c                    SSK Jn  / SQn[        U5       H6  u  p4US-   nU R                  U" [        R
                  " U5      5      U5        M8     g )Nr   rS  )u   ⠩u   ⠩⠩u	   ⠩⠩⠩u	   ⠼⠙⠩u	   ⠼⠑⠩u	   ⠼⠋⠩u	   ⠼⠛⠩r   rU  )r7   rT  rW  rX  rY  sharpss         r/   test_example08_1bTest.test_example08_1b  sD    9dg&DA!eF_S-=-=f-EFJ 'r1   c                ~    SSK Jn  S H1  u  p#U R                  U" [        R                  " U5      5      U5        M3     g )Nr   timeSigToBraille))6/8	   ⠼⠋⠦)2/4u	   ⠼⠃⠲)12/8u   ⠼⠁⠃⠦)z2/2u	   ⠼⠃⠆r   rc  r   r   r   r7   rc  tsrY  s       r/   test_example08_2Test.test_example08_2  s6    :EB
 -e.A.A".EFJr1   c                    g)z;
Time signatures with one number. Not currently supported.
N ra   s    r/   xtest_example08_3Test.xtest_example08_3       	r1   c                    g)z4
Combined time signatures. Not currently supported.
Nrn  ra   s    r/   xtest_example08_4Test.xtest_example08_4  rq  r1   c                ~    SSK Jn  S H1  u  p#U R                  U" [        R                  " U5      5      U5        M3     g)z
Common/cut time signatures
r   rb  ))commonu   ⠨⠉)cutu   ⠸⠉Nrh  ri  s       r/   test_example08_5Test.test_example08_5  s8     	;EB -e.A.A".EFJr1   c                    SSK Jn  S HM  u  p#nUb  [        R                  " U5      n[        R
                  " U5      nU R                  U" X#5      U5        MO     g )Nr   )transcribeSignatures))r   rf  u   ⠩⠼⠃⠲)r   3/4u   ⠣⠣⠣⠼⠉⠲)rg   3/8u   ⠼⠙⠩⠼⠉⠦)r   r}  u   ⠩⠩⠩⠼⠉⠦)N4/4	   ⠼⠙⠲)r   r~  r  )r   r|  u   ⠣⠼⠉⠲)r   rd  re  )r   r{  r   r%   r   r   r   )r7   r{  ksrj  rY  s        r/   test_example08_6Test.test_example08_6  sR    >IBA ~%%b)$$R(B1"91=r1   c                    SSK Jn  / SQnU Hd  u  p4pVUb  [        R                  " U5      n[        R
                  " U5      n[        R                  " U5      nU R                  U" X4U5      U5        Mf     g )Nr   transcribeHeading))r~  Andanteux   ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠁⠝⠙⠁⠝⠞⠑⠲⠀⠼⠙⠣⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀)r   r}  zCon motoux   ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠉⠕⠝⠀⠍⠕⠞⠕⠲⠀⠩⠩⠩⠼⠉⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀)Nr~  zAndante cantabileux   ⠀⠀⠀⠀⠀⠀⠀⠀⠠⠁⠝⠙⠁⠝⠞⠑⠀⠉⠁⠝⠞⠁⠃⠊⠇⠑⠲⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀)r   z7/8zVery brightlyux   ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠧⠑⠗⠽⠀⠃⠗⠊⠛⠓⠞⠇⠽⠲⠀⠩⠩⠼⠛⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀)	r   r  r   r%   r   r   r   	TempoTextr   )r7   r  rW  r  rj  ttrY  s          r/   test_example08_7aTest.test_example08_7a  sg    ;
 %MBB~%%b)$$R(B$B.rr:A> %r1   c                    SSK Jn  U R                  UR                  [        R
                  " S[        R                  " SS9S95      S5        g )Nr   )basicP   halftyper)   referentu   ⠝⠶⠼⠓⠚)music21.brailler  r   metronomeMarkToBrailler   MetronomeMarkr   r   )r7   r  s     r/   test_example08_8Test.test_example08_8  sB    )55r9=9OQRSd	fr1   c                   SSK Jn  [        R                  " S5      n[        R
                  " S5      n[        R                  " S5      n[        R                  " S[        R                  " SS9S	9nU R                  U" X#XE5      S
5        g )Nr   r  r   rg  r     eighthr  r  ux   ⠀⠀⠀⠀⠀⠀⠀⠀⠠⠁⠝⠙⠁⠝⠞⠑⠲⠀⠙⠶⠼⠁⠉⠃⠀⠣⠣⠣⠼⠁⠃⠦⠀⠀⠀⠀⠀⠀⠀⠀)r   r  r   r%   r   r   r   r  r  r   r   r   r7   r  r  rj  r  mms         r/   test_example08_9Test.test_example08_9  sm    ;b!  (__Y'  diiX6NO*22: T	Ur1   c                   SSK Jn  [        R                  " S5      n[        R
                  " S5      n[        R                  " S5      n[        R                  " S[        R                  " SS9S	9nU R                  U" X#XE5      S
5        g)uy  
    Actual look is:

⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠇⠑⠝⠞⠕⠀⠁⠎⠎⠁⠊⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠁⠝⠞⠁⠝⠞⠑⠀⠑⠀⠞⠗⠁⠝⠟⠥⠊⠇⠇⠕⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⠄⠶⠼⠑⠃⠀⠼⠑⠣⠼⠋⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    r   r  rd  z"Lento assai, cantante e tranquillo4   g      ?r   r  uj  ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠇⠑⠝⠞⠕⠀⠁⠎⠎⠁⠊⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠁⠝⠞⠁⠝⠞⠑⠀⠑⠀⠞⠗⠁⠝⠟⠥⠊⠇⠇⠕⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⠄⠶⠼⠑⠃⠀⠼⠑⠣⠼⠋⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀N)r   r  r   r%   r   r   r   r  r  r   r   rW   r  s         r/   test_example08_10Test.test_example08_10  sp     	<b!  '__AB  TYYS5QR!!"3BB"C#|	}r1   c           
        [         R                  " SSS9nUR                  UR                  [        R
                  5      R                  5       [        R
                  " S5      5        UR                  S[        R                  " S5      5        UR                  S[        R                  " S[        R                  " SS	9S
95        UR                  SSS9  Xl        SU l        g )Nz
            tinynotation: 4/4 a2 g8 f8 e4 d4 e4 f8 g8 a4 g4 c'8 b8 a4 g4 f4. e8 d2
            c4 e4 a4 e'4 e'4 d'4 c'8 b8 a4 a'4 g'8 f'8 e'4 d'4 c'4 a8 b8 c'2Fre   cr   zAndante maestoso\   quarterr  r  Tr   u5  
        ⠀⠀⠀⠀⠀⠠⠁⠝⠙⠁⠝⠞⠑⠀⠍⠁⠑⠎⠞⠕⠎⠕⠲⠀⠹⠶⠼⠊⠃⠀⠨⠉⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠐⠎⠓⠛⠫⠀⠱⠫⠛⠓⠪⠀⠳⠨⠙⠚⠪⠳⠀⠻⠄⠋⠕⠀⠹⠫⠪⠨⠫⠀⠫⠱⠙⠚⠪
        ⠀⠀⠨⠪⠓⠛⠫⠱⠀⠹⠊⠚⠝⠣⠅
        )r   r"   replacer'   r   r   firstr$   r   r  r  r   r   r&   rh   ri   rl   s     r/   test_drill08_1Test.test_drill08_1  s    __ P   	

2(()<)<=CCEuGZGZ[^G_`
		!U__%789
		!U((TYYI=VWX
5Ir1   c                x   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  S[        R                  " S5      5        UR                  SSS9  UR                  [        R                  5      nUS   R                  S	   R                  S
SS9  SUR                  S5      R                  S	   R                  R                   l        SUR                  S5      R                  S	   R                  R                   l        Xl        SU l        g )Nztinynotation: 3/4 E-8 r8 BB-8 r8 E-8 r8 En4 F4 F#4 G8 r8 D8 r8 G8 r8 A-4 G4 F4 E-8 r8 C8 r8 AA-8 r8 AAn4 BB-4 BBn4 C8 D8 r8 E-8 r8 BB-8 E-8 En8 r8 F8 r8 F#8 G8 D8 r8 G8 r8 A-8 A-8 G8 r8 F8 r8 E-8 D8 C8 BB-4 BB-4 EE-2.r   r   zIn strict timeTFr   r   zP-8r   ry      u  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠠⠊⠝⠀⠎⠞⠗⠊⠉⠞⠀⠞⠊⠍⠑⠲⠀⠣⠣⠣⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠸⠋⠭⠘⠚⠭⠸⠋⠭⠀⠡⠫⠻⠩⠻⠀⠓⠭⠑⠭⠓⠭⠀⠪⠳⠻⠀⠋⠭⠙⠭⠊⠭
        ⠀⠀⠡⠘⠪⠺⠡⠺⠀⠙⠑⠭⠋⠭⠘⠚⠀⠸⠋⠡⠋⠭⠛⠭⠩⠛⠀⠓⠑⠭⠓⠭⠊⠀⠊⠓⠭⠛⠭⠋
        ⠀⠀⠸⠑⠙⠺⠈⠺⠀⠘⠏⠄⠣⠅
        )r   r"   r#   r$   r   r%   r   r  r&   r'   r   r(   r   r=  r+   r   r   r   rh   ri   r}   s      r/   test_drill08_2Test.test_drill08_2  s    __KL MTGI 	 			!S%%b)*
		!U__%567
5I!!&..1	"B!!%!6AF

1B%%00>BG

2R &&11?r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  S[        R                  " S5      5        UR                  SSS9  UR                  [        R                  5      nUS   R                  SS9  U H  nU=R                  S	-  sl        M     Xl        S
U l        g )Na=  
            tinynotation: 6/8 r2 d'#8 c'#8 b4.~ b8 d'#8 g'#8 g'#4. f'#4 r8
             e'4.~ e'8 d'#8 g#8 d'#4 c'#8 d'#4 r8 a#8 g#8 a#8 b8 a#8 b8
             c'#8 d'#8 e'8 f'#8 g'#8 a'#8 b'8 f'#8 d'#8 g'#8 e'8 b8 f'#4 d'#8
             e'8 d'#8 c'#8 b8 f#8 d'#8 b4 f#8 d#8 f#8 b8 c'#4 a#8 b2.~ b4. r8
             r   r  zCon delicatezzaTFr   r   r   u  
        ⠀⠀⠀⠀⠀⠀⠀⠠⠉⠕⠝⠀⠙⠑⠇⠊⠉⠁⠞⠑⠵⠵⠁⠲⠀⠼⠑⠩⠼⠋⠦⠀⠀⠀⠀⠀⠀⠀
        ⠼⠚⠀⠨⠑⠙⠀⠺⠄⠈⠉⠚⠑⠓⠀⠳⠄⠻⠭⠀⠫⠄⠈⠉⠋⠑⠐⠓⠀⠨⠱⠙⠱⠭
        ⠀⠀⠐⠊⠓⠊⠚⠊⠚⠀⠙⠑⠋⠛⠓⠊⠀⠚⠛⠑⠓⠋⠐⠚⠀⠨⠻⠑⠋⠑⠙⠀⠚⠛⠨⠑⠺⠛
        ⠀⠀⠐⠑⠛⠚⠹⠊⠀⠞⠄⠈⠉⠀⠺⠄⠭⠣⠅
        )r   r"   r#   r$   r   r%   r   r  r&   r'   r   r(   r*   r)   rh   ri   rp   s       r/   test_drill08_3Test.test_drill08_3  s    __  
 ') 	 			!S%%a()
		!U__%678
5I!!&..1	!D1GNNaN r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  S[        R                  " S5      5        UR                  SSS9  Xl	        SU l
        g )	Nzftinynotation: 4/4 A2.. G8 F2 E4 D4 E4. F8 G4 E4 C#2 D4 r4 AA2.. BBn8 C#4. D8 E4 G4 F4 G4 A4 F4 D2.. r8r   r   GraziosoTFr   u,  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠛⠗⠁⠵⠊⠕⠎⠕⠲⠀⠣⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠸⠎⠄⠄⠓⠀⠟⠫⠱⠀⠫⠄⠛⠳⠫⠀⠩⠝⠱⠧⠀⠘⠎⠄⠄⠡⠚⠀⠩⠹⠄⠑⠫⠳
        ⠀⠀⠸⠻⠳⠪⠻⠀⠕⠄⠄⠭⠣⠅
        )r   r"   r#   r$   r   r%   r   r  r&   rh   ri   rl   s     r/   test_drill08_4Test.test_drill08_4'  so    __;<<CGI 	 			!S%%b)*
		!U__Z01
5Ir1   c           
        [         R                  " SSS9nUR                  UR                  [        R
                  5      R                  5       [        R
                  " S5      5        UR                  S[        R                  " S5      5        UR                  S[        R                  " S5      5        UR                  S[        R                  " S[        R                  " S	S
9S95        UR                  SSS9  UR                  [         R"                  5      nUS   R%                  SS9  U H  nU=R&                  S-  sl        M     Xl        SU l        g )Na  
            tinynotation: 2/2 r2 f'4 e'-4 d'2 b-4 g4 e'-2 c'4
            f4 f'2 e'-4 d'4 c'2 f4 f4 g2 f4 g4
            a2 d'4 c'4 b-4 a4 b-4 c'4 d'2 e'-4 f'4
            g'2 e'-4 c'4 f'2 d'4 b-4 e'-2 c'4 f4 d'2 b-4 b-4 c'2
            b-4 c'4 d'4 b-4 c'4 d'4 b-4 c'4 b-4 a4 b-2Fre   rw  r   r  zBen marcatop   r  r  r  Tr   r   r   u  
        ⠀⠀⠀⠀⠀⠀⠀⠠⠃⠑⠝⠀⠍⠁⠗⠉⠁⠞⠕⠲⠀⠝⠶⠼⠁⠁⠃⠀⠣⠣⠸⠉⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠚⠀⠨⠻⠫⠀⠕⠺⠳⠀⠨⠏⠹⠐⠻⠀⠨⠟⠫⠱⠀⠝⠐⠻⠻⠀⠗⠻⠳⠀⠎⠨⠱⠹⠀⠺⠪⠺⠹
        ⠀⠀⠨⠕⠫⠻⠀⠗⠫⠹⠀⠟⠱⠺⠀⠨⠏⠹⠐⠻⠀⠨⠕⠺⠺⠀⠝⠺⠹⠀⠱⠺⠹⠱⠀⠺⠹⠺⠪
        ⠀⠀⠐⠞⠣⠅
        )r   r"   r  r'   r   r   r  r$   r   r%   r   r  r  r   r   r&   r   r(   r*   r)   rh   ri   rp   s       r/   test_drill08_5Test.test_drill08_55  s   __ :
 INO 	

2(()<)<=CCEuGZGZ[`Gab
		!S%%b)*
		!U__]34
		!U((diiV>TUV
5I!!&..1	!D1GNNaN r1   c                   SS0U l         [        R                  " S5      R                  5       nUR	                  S[
        R                  " S5      5        UR                  SSS9  UR                  [        R                  5      nS US   l        US   R                  S   R                  R                  [        S5      5        US   R                  S	   R                  R                  [        S
5      5        US	   R                  S   R                  R                  [        S5      5        US	   R                  S	   R                  R                  [        S5      5        Xl        SU l        SU l        g )Nr   Fztinynotation: 2/4 a4 g f4. c8r   r   Tr   4r   321u]   
        ⠀⠀⠀⠀⠣⠼⠃⠲⠀⠀⠀
        ⠐⠪⠂⠳⠇⠀⠻⠄⠃⠙⠁
        u  
        ---begin segment---
        <music21.braille.segment BrailleSegment>
        Measure 1, Signature Grouping 1:
        Key Signature 1 flat(s) ⠣
        Time Signature 2/4 ⠼⠃⠲
        ===
        Measure 1, Note Grouping 1:
        <music21.clef.TrebleClef>
        Octave 4 ⠐
        A quarter ⠪
        G quarter ⠳
        ===
        Measure 2, Note Grouping 1:
        F quarter ⠻
        Dot ⠄
        C eighth ⠙
        ===
        ---end segment---
        rV   r   r"   r#   r$   r   r%   r&   r'   r   r(   r|   r   r   r   r   rh   ri   rk   r}   s      r/   test_example09_1Test.test_example09_1P  s   3U;__<=EEG
		!S%%b)*
5I!!&..1!"	!

1##**9S>:	!

1##**9S>:	!

1##**9S>:	!

1##**9S>:r1   c                >   SS0U l         [        R                  " S5      R                  5       nUR	                  S[
        R                  " S5      5        UR                  SSS9  UR                  [        R                  5      nS US   l        US   R                  S   R                  R                  [        S	5      5        US   R                  S
   R                  R                  [        S5      5        US   R                  S   R                  R                  [        S5      5        US   R                  S   R                  R                  [        S5      5        US   R                  S   R                  R                  [        S5      5        Xl        SU l        g )Nr   Fz3tinynotation: 3/4 f'4 e'-8 d' c' b-~ b-4 r8 a c' b-r   r  Tr   r   r  r   r  r   r  r   r  rg   u   
        ⠀⠀⠀⠀⠀⠀⠀⠣⠣⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀
        ⠨⠻⠂⠋⠇⠑⠃⠙⠁⠚⠃⠈⠉⠀⠺⠭⠊⠙⠚
        rV   r   r"   r#   r$   r   r%   r&   r'   r   r(   r|   r   r   r   r   rh   ri   r}   s      r/   test_example09_2Test.test_example09_2u  s1   3U;__RS[[]
		!S%%b)*
5I!!&..1!"	!

1##**9S>:	!

1##**9S>:	!

1##**9S>:	!

1##**9S>:	!

1##**9S>:r1   c                   SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  UR                  [        R                  5      nS US   l        US   R                  S   R                  R                  [        S5      5        US	   R                  S	   R                  R                  [        S
5      5        Xl        SU l        g )Nr   Fz tinynotation: 6/8 c2.~ c4. f4 g8Tr   r   r   r  r   r  uc   
        ⠀⠀⠀⠀⠼⠋⠦⠀⠀⠀⠀⠀
        ⠐⠝⠄⠁⠈⠉⠀⠹⠄⠻⠃⠓
        rV   r   r"   r#   r&   r'   r   r(   r|   r   r   r   r   rh   ri   r}   s      r/   test_example09_3Test.test_example09_3  s    3U;__?@HHJ
5I!!&..1!"	!

1##**9S>:	!

1##**9S>:r1   c                   SS0U l         [        R                  " S5      R                  5       nUR	                  S[
        R                  " S5      5        UR                  SSS9  UR                  [        R                  5      nS US   l        US   R                  S   R                  R                  [        S	5      5        Xl        S
U l        g )Nr   Fztinynotation: 3/4 d2 F#4r   r   Tr   r   z2-1uE   
        ⠀⠩⠩⠼⠉⠲⠀
        ⠐⠕⠃⠉⠁⠸⠻
        r  r}   s      r/   test_example09_4aTest.test_example09_4a  s    3U;__78@@B
		!S%%a()
5I!!&..1!"	!

1##**9U+;<r1   c                R   SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  UR                  [        R                  5      nS US   l        US   R                  S   R                  R                  [        S5      5        Xl        S	U l        g )
Nr   Fztinynotation: 3/4 c2 g4Tr   r   r   z3-1u?   
        ⠀⠼⠉⠲⠀⠀
        ⠐⠝⠇⠉⠁⠳
        r  r}   s      r/   test_example09_4bTest.test_example09_4b  s    3U;__67??A
5I!!&..1!"	!

1##**9U+;<r1   c                R   SS0U l         [        R                  " S5      R                  5       nUR	                  SSS9  UR                  [        R                  5      nS US   l        US   R                  S   R                  R                  [        S	5      5        Xl        S
U l        g )Nr   Fztinynotation: 2/4 c8 e g c'Tr   r   r   r   5|4uK   
        ⠀⠀⠼⠃⠲⠀⠀⠀
        ⠐⠙⠋⠓⠨⠙⠅⠂
        r  r}   s      r/   test_example09_5aTest.test_example09_5a  s    3U;__:;CCE
5I!!&..1!"	!

1##**9U+;<r1   c                   SSS.U l         [        R                  " S5      R                  5       nUR	                  SSS9  UR                  [        R                  5      nS US   l        US   R                  S   R                  R                  [        S5      5        US   R                  S	   R                  R                  [        S
5      5        US   R                  S   R                  R                  [        S5      5        US   R                  S   R                  R                  [        S5      5        Xl        SU l        g )NFr   upperFirstInNoteFingeringztinynotation: 6/8 d8 c d e4.Tr   r   r   3|2r   2|1r   r   4|3uo   
        ⠀⠀⠀⠀⠀⠼⠋⠦⠀⠀⠀⠀⠀⠀
        ⠐⠑⠃⠇⠙⠁⠃⠑⠃⠇⠫⠄⠇⠂
        r  r}   s      r/   test_example09_5bTest.test_example09_5b  s    5:8=?__;<DDF
5I!!&..1!"	!

1##**9U+;<	!

1##**9U+;<	!

1##**9U+;<	!

1##**9U+;<r1   c                   SSS.U l         [        R                  " S5      R                  5       nUR	                  S[
        R                  " S5      5        UR                  SSS9  UR                  [        R                  5      nS US   l        US   R                  S   R                  R                  [        S	5      5        US   R                  S
   R                  R                  [        S5      5        US
   R                  S   R                  R                  [        S5      5        US
   R                  S
   R                  R                  [        S5      5        US   R                  S   R                  R                  [        S5      5        US   R                  S
   R                  R                  [        S5      5        Xl        SU l        SU l        SSS.U l         SU l        g )NFTr  z%tinynotation: 2/4 f#4 a d' f'# f'# e'r   r   r   r   z2,1r   1,2x,4z4,5z4,3z3,2u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠩⠩⠼⠃⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠐⠻⠃⠁⠪⠁⠃⠀⠨⠱⠠⠂⠻⠂⠅⠀⠻⠂⠇⠫⠇⠃
        uR  
        ---begin segment---
        <music21.braille.segment BrailleSegment>
        Measure 1, Signature Grouping 1:
        Key Signature 2 sharp(s) ⠩⠩
        Time Signature 2/4 ⠼⠃⠲
        ===
        Measure 1, Note Grouping 1:
        <music21.clef.TrebleClef>
        Octave 4 ⠐
        F quarter ⠻
        A quarter ⠪
        ===
        Measure 2, Note Grouping 1:
        Octave 5 ⠨
        D quarter ⠱
        F quarter ⠻
        ===
        Measure 3, Note Grouping 1:
        F quarter ⠻
        E quarter ⠫
        ===
        ---end segment---
        u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠩⠩⠼⠃⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠐⠻⠁⠃⠪⠃⠁⠀⠨⠱⠂⠄⠻⠅⠂⠀⠻⠇⠂⠫⠃⠇
        r  r}   s      r/   test_example09_6Test.test_example09_6  s   5:8<>__DEMMO
		!S%%a()
5I!!&..1!"	!

1##**9U+;<	!

1##**9U+;<	!

1##**9U+;<	!

1##**9U+;<	!

1##**9U+;<	!

1##**9U+;<0 6;8=?r1   c                p   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  S[        R                  " S5      5        UR                  SSS9  UnUR                  [        R                  5      nUS   R                  SS	9  U H  nU=R                  S
-  sl        M     US   R                  S   R                  R!                  [#        S5      5        US
   R                  S   R                  R!                  [#        S5      5        US   R                  S   R                  R!                  [#        S5      5        US   R                  S   R                  R!                  [#        S5      5        US   R                  S   R                  R!                  [#        S5      5        US   R                  S   R                  R!                  [#        S5      5        US   R                  S   R                  R!                  [#        S5      5        US   R                  S   R                  R!                  [#        S5      5        US   R                  S   R                  R!                  [#        S5      5        US   R                  S   R                  R!                  [#        S5      5        US   R                  S   R                  R!                  [#        S5      5        US   R                  S   R                  R!                  [#        S5      5        US   R                  S   R                  R!                  [#        S5      5        US   R                  S   R                  R!                  [#        S5      5        X l        SU l        g )Nz
            tinynotation: 6/8 r2 g8 a- b-4.~ b-8 g b- d'4.~ d'8 c'
            b- a-4 g8 e-4 f8 g4. r8 a- b-
            c'4.~ c'8 a- c' e'-4.~ e'-8 d' f' e'- d' c' b- a- f e-4.~ e-8
                    
Allegrettor   TFr   r   r   r   r  r   r  5r   rg   r  r  r  r  ry   r  r    z1|2u  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠁⠇⠇⠑⠛⠗⠑⠞⠞⠕⠲⠀⠣⠣⠣⠼⠋⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠚⠀⠐⠓⠃⠊⠀⠺⠄⠈⠉⠚⠓⠁⠚⠀⠱⠄⠅⠈⠉⠑⠙⠚⠀⠪⠓⠫⠃⠛⠁⠀⠳⠄⠃⠭⠊⠚
        ⠀⠀⠨⠹⠄⠈⠉⠙⠊⠁⠙⠃⠀⠫⠄⠇⠈⠉⠋⠑⠃⠛⠂⠀⠋⠑⠙⠚⠂⠊⠛⠃⠁
        ⠀⠀⠐⠫⠄⠁⠃⠈⠉⠋⠣⠅
        )r   r"   r#   r$   r   r  r   r%   r&   r'   r   r(   r*   r)   r   r   r   r   rh   ri   )r7   r,   bmSaver-   s       r/   test_drill09_1Test.test_drill09_1  s   __   	 	
 			#u|45
		#s''+,
5I&&v~~6
1T2AHHMH 
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++Ie,<=
1A$$++Ie,<=r1   c                0   [         R                  " SSS9nUR                  UR                  [        R
                  5      R                  5       [        R
                  " S5      5        UR                  S[        R                  " S5      5        UR                  SSS9  UnUR                  [        R                  5      nUS   R                  S   R                  R                  [!        S	5      5        US   R                  S
   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S5      5        US   R                  S
   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S5      5        US   R                  S
   R                  R                  [!        S	5      5        US   R                  S   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S5      5        US   R                  S
   R                  R                  [!        S5      5        US
   R                  S   R                  R                  [!        S5      5        US
   R                  S   R                  R                  [!        S5      5        US
   R                  S   R                  R                  [!        S	5      5        US
   R                  S
   R                  R                  [!        S5      5        US
   R                  S   R                  R                  [!        S5      5        US
   R                  S   R                  R                  [!        S	5      5        US
   R                  S   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S	5      5        US   R                  S
   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S5      5        US   R                  S   R                  R                  [!        S	5      5        US   R                  S   R                  R                  [!        S5      5        X l        SU l        g )Nz
            tinynotation: 4/4 a2~ a8 g a d' c' b e' d' c' f'
            e'4~ e'8 f' e' b c' d' a b c' g a2~ a8 f
            g c' b a d' c' b e' d'2~ d'8 g' f' c' d' e' b c' d'4 a8 g a2.~ a8 r
            Fre   r  r   zAdagio e molto legatoTr   r  rg   r  r   r  z3|1r   r   r  r  r  r  r  r  r  z2-3ry   u%  
        ⠀⠀⠀⠀⠀⠀⠠⠁⠙⠁⠛⠊⠕⠀⠑⠀⠍⠕⠇⠞⠕⠀⠇⠑⠛⠁⠞⠕⠲⠀⠨⠉⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠐⠎⠃⠈⠉⠊⠓⠊⠨⠑⠅⠂⠀⠙⠂⠇⠚⠇⠁⠨⠋⠅⠂⠑⠂⠇⠙⠇⠃⠛⠅⠫⠂⠈⠉
        ⠀⠀⠨⠋⠛⠋⠐⠚⠁⠙⠃⠑⠇⠐⠊⠁⠚⠀⠙⠐⠓⠁⠎⠃⠉⠇⠈⠉⠊⠛⠁
        ⠀⠀⠐⠓⠨⠙⠂⠚⠇⠊⠃⠨⠑⠂⠙⠇⠚⠃⠨⠋⠂⠀⠕⠇⠈⠉⠑⠓⠅⠛⠙
        ⠀⠀⠨⠑⠋⠐⠚⠁⠙⠃⠱⠇⠐⠊⠁⠓⠃⠀⠎⠄⠁⠈⠉⠊⠭⠣⠅
        )r   r"   r  r'   r   r   r  r$   r   r  r&   r   r(   r   r   r   r   rh   ri   r7   r,   r  s      r/   test_drill09_2Test.test_drill09_2&  s   __  $	%
 	

2(()<)<=CCEuGZGZ[^G_`
		!U__%<=>
5I&&v~~6
1A$$++IcN;
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++Ie,<=
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  S[        R                  " S5      5        UR                  SSS9  UnUR                  [        R                  5      nUS   R                  S[        R                  " 5       5        US   R                  S[        R                  " 5       5        US   R                  S   R                   R#                  [%        S	5      5        US   R                  S
   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US
   R                  S   R                   R#                  [%        S5      5        US
   R                  S
   R                   R#                  [%        S5      5        US
   R                  S   R                   R#                  [%        S5      5        US
   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S
   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S
   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S
   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S
   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S
   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S
   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        X l        SU l        g )Nzbtinynotation: 2/4 BB4 C#8 D E F# G A B4 c#8 d e f# g f# e4 d8 c# B A G F# E4 D8 C# D C# BB AA# BB2r   r   ModeratoTFr   r  z3,4r   z2,3r  z4,1zx,3zx,1r   z3,1zx,2z1,1z2,2rg   r  r  z1,xz2,xry   z1,3z2,4r    u  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠍⠕⠙⠑⠗⠁⠞⠕⠲⠀⠩⠩⠼⠃⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠘⠺⠇⠂⠙⠃⠇⠑⠁⠃⠀⠋⠂⠁⠛⠠⠇⠓⠠⠁⠊⠁⠃⠀⠺⠇⠁⠙⠠⠇⠑⠁⠃
        ⠀⠀⠐⠋⠇⠁⠛⠠⠃⠓⠁⠁⠛⠃⠃⠀⠫⠇⠁⠑⠁⠃⠙⠠⠇⠀⠚⠠⠁⠊⠁⠃⠓⠠⠇⠛⠠⠂
        ⠀⠀⠸⠫⠂⠁⠑⠁⠄⠙⠃⠄⠀⠑⠁⠁⠙⠃⠃⠚⠁⠇⠩⠊⠃⠂⠀⠞⠁⠇⠣⠅
        )r   r"   r#   r$   r   r%   r   r  r&   r'   r   r(   r   
TrebleClefBassClefr   r   r   r   rh   ri   r  s      r/   test_drill09_3Test.test_drill09_3[  s   __ A BBI') 	
		!S%%a()
		!U__Z01
5I&&v~~6
1Q)*
1Q(
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=
1A$$++Ie,<=r1   c           
        [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  S[        R                  " S[        R                  " SS9S95        UR                  S[        R                  " S5      5        UR                  S	S
S9  UnUR                  [        R                  5      nUS   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        X l        SU l        g )Nztinynotation: 5/8 E8 D# E F# D# BB4 E G8 G F# G A B B4 BB BB8 DD GG BB GG BB E4 G F#8 E BB G E BB E4 EE EE8 EE4 r8 EE8 EE DD EE EE EE EE EE EE EE4 EE8 EE4~ EE8 r8 rr   r   d   r  r  r  zNot too fastTFr   r  r   r  r   rg   r  r  r  r  ry   r    	   
   r  u  
        ⠀⠀⠀⠀⠀⠀⠀⠠⠝⠕⠞⠀⠞⠕⠕⠀⠋⠁⠎⠞⠲⠀⠹⠶⠼⠁⠚⠚⠀⠩⠼⠑⠦⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠸⠋⠩⠑⠃⠋⠛⠃⠑⠀⠺⠸⠫⠇⠓⠀⠓⠃⠛⠇⠓⠊⠚⠃⠀⠺⠁⠘⠺⠅⠚⠁
        ⠀⠀⠘⠑⠓⠚⠁⠓⠅⠚⠂⠀⠸⠫⠃⠳⠁⠛⠀⠋⠘⠚⠸⠓⠋⠘⠚⠀⠸⠫⠁⠘⠫⠅⠋⠂
        ⠀⠀⠘⠫⠇⠭⠋⠃⠋⠁⠀⠑⠇⠋⠃⠋⠇⠋⠃⠋⠁⠀⠋⠇⠋⠃⠫⠇⠋⠃⠀⠫⠁⠈⠉⠋⠭⠭⠣⠅
        )r   r"   r#   r$   r   r%   r   r  r   r   r  r&   r'   r   r(   r   r   r   r   rh   ri   r  s      r/   test_drill09_4Test.test_drill09_4  s   __ G H IP	 	 			!S%%a()
		!U((diiY>WXY
		!U__^45
5I&&v~~6
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
2Q%%,,Ys^<
2Q%%,,Ys^<
2Q%%,,Ys^<
2Q%%,,Ys^<
2Q%%,,Ys^<r1   c                0   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  S[        R                  " S5      5        UR                  SSS9  UnUR                  [        R                  5      nUS   R                  S   R                  R                  nU(       a  SUl        US   R                  S   R                   R#                  [%        S	5      5        US   R                  S   R                   R#                  [%        S
5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S
5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S
5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S
5      5        US   R                  S   R                   R#                  [%        S
5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S
5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S	5      5        US   R                  S   R                   R#                  [%        S
5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S
5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S	5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S5      5        US   R                  S   R                   R#                  [%        S
5      5        US   R                  S   R                   R#                  [%        S5      5        X l        SU l        g)zW
No longer working -- because of some changes in accidentals -- needs to
be looked at.
z
            tinynotation: 3/4 f8 A G# A c A g B- A B- d B- g c Bn c a c b- c Bn c B- c
            A c a c Bn d c a g# a c' a c b- a b- c' b- a d' c' a g c f2.r   r   zLightly, almost in oneTFr   r   r  r  r   r  r   rg   r  r  r  r  ry   r    u  
        ⠀⠠⠇⠊⠛⠓⠞⠇⠽⠂⠀⠁⠇⠍⠕⠎⠞⠀⠊⠝⠀⠕⠝⠑⠲⠀⠣⠼⠉⠲⠀
        ⠼⠁⠀⠐⠛⠅⠸⠊⠁⠩⠓⠃⠊⠁⠙⠊⠀⠐⠓⠸⠚⠃⠊⠁⠚⠃⠑⠇⠚⠃
        ⠀⠀⠐⠓⠙⠡⠚⠙⠐⠊⠐⠙⠁⠀⠣⠐⠚⠐⠙⠁⠡⠚⠃⠙⠇⠣⠚⠃⠙⠇
        ⠀⠀⠸⠊⠁⠙⠃⠐⠊⠅⠐⠙⠁⠡⠚⠃⠑⠇⠀⠙⠁⠐⠊⠂⠩⠓⠇⠊⠂⠙⠊
        ⠀⠀⠐⠙⠐⠚⠂⠊⠇⠚⠙⠚⠀⠊⠨⠑⠅⠙⠂⠊⠇⠓⠃⠙⠁⠀⠟⠄⠃⠣⠅
        N)r   r"   r#   r$   r   r%   r   r  r&   r'   r   r(   r   r   r   r   r   r   r   rh   ri   )r7   r,   r  gm2s       r/   xtest_drill09_5Test.xtest_drill09_5  sY   
 __ L MMTWY 	 			!S%%b)*
		!U__%=>?
5I&&v~~6ekk!n""-- %C
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;
1A$$++IcN;r1   c                R   [         R                  " 5       n[         R                  " SS9nUR                  [        R
                  " 5       5        UR                  [        R                  " S5      5        UR                  [        R                  " S5      5        UR                  [        R                  " S5      5        UR                  [        R                  " SSS95        UR                  [        R                  " S	SS95        UR                  [        R                  " SSS95        UR                  [        R                  " S
SS95        UR                  U5        [         R                  " SS9nUR                  [        R                  " S5      5        UR                  [        R                  " S5      5        UR                  [        R                  " S5      5        [        R                  " S5      Ul        UR                  U5        [         R                  " SS9nUR                  [        R                  " S5      5        UR                  [        R                  " S5      5        UR                  [        R                  " SSS95        UR                  [        R                  " SSS95        UR                  [        R                  " SSS95        UR                  [        R                  " S5      5        UR                  [        R                  " SSS95        UR                  U5        [         R                  " SS9nUR                  [        R                  " S5      5        UR                  [        R                  " S5      5        UR                  [        R                  " S5      5        UR                  [        R                  " S5      5        [        R                  " S5      Ul        UR                  U5        [         R                  " SS9nUR                  [        R                  " S5      5        UR                  [        R                  " SSS95        UR                  [        R                  " SSS95        UR                  [        R                  " SSS95        UR                  [        R                  " SSS95        UR                  [        R                  " SSS95        UR                  [        R                  " SSS95        UR                  U5        [         R                  " SS9nUR                  [        R                  " SSS95        [        R                  " S5      Ul        UR                  U5        UR                  S S!S"9  Xl        S#U l        g )$Nr   )r)   r  rd  F4r        ?r   zD-5zB-4r   rf  zA-4G4rx   r   r   r   zE-5D5rg   r|  r  r   E4D4r  B3r  r!   finalTFr   ub  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠣⠼⠋⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠐⠻⠨⠙⠑⠙⠚⠀⠼⠃⠲⠀⠐⠪⠳⠣⠅⠄⠀⠡⠣⠣⠣⠼⠋⠦⠀⠐⠋⠨⠋⠑⠫⠐⠓
        ⠀⠀⠼⠉⠲⠀⠐⠪⠳⠻⠣⠅⠄⠀⠡⠡⠡⠀⠐⠓⠛⠋⠑⠙⠚⠀⠝⠄⠣⠅
        )r   r  r(   r   r   r  r   r%   r   r   r   r   r
   r{   r|   r&   rh   ri   )r7   r,   m1m2m3m4m5m6s           r/   test_example10_1Test.test_example10_1  s   [[]^^1%
		$//#$
		#""2&'
		%%%e,-
		$))D/"
		$))D45
		$))E56
		$))D45
		$))E56
		"^^1%
		%%%e,-
		$))E"#
		$))D/"++h/
		"^^1%
		#""2&'
		%%%e,-
		$))E56
		$))E56
		$))D45
		$))E"#
		$))D45
		"^^1%
		%%%e,-
		$))E"#
		$))D/"
		$))D/"++h/
		"^^1%
		#""1%&
		$))D45
		$))D45
		$))D45
		$))D45
		$))D45
		$))D45
		"^^1%
		$))D45++g.
		"
5Ir1   c                   SSS.U l         [        R                  " S5      R                  5       nUR	                  S[
        R                  " S5      5        UR                  SSS	9  UR                  [        R                  5      nUS
   R                  S   R                  R                  nU(       a  SUl        Xl        SU l        g )Nr     dummyRestLengthmaxLineLengthz1tinynotation: 4/4 e8 f# g# a b- gn e c f a g c a2r   r   TFr   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠣⠼⠙⠲⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠄⠄⠄⠄⠄⠀⠐⠋⠩⠛⠩⠓⠊⠐
        ⠀⠀⠐⠚⠡⠓⠋⠙⠀⠛⠊⠓⠙⠐⠎⠣⠅
        rV   r   r"   r#   r$   r   r%   r&   r'   r   r(   r   r   r   r   rh   ri   r7   r,   r-   r  s       r/   test_example10_2Test.test_example10_2U  s    ./"E__PQYY[
		!S%%b)*
5I!!&..1djjm!!,, %Cr1   c                   SSS.U l         [        R                  " S5      R                  5       nUR	                  S[
        R                  " S5      5        UR                  SSS	9  UR                  [        R                  5      nUS
   R                  S   R                  R                  nU(       a  SUl        Xl        SU l        g )Nr     r  z1tinynotation: 6/8 e8 f# g# a b- g e c f a g c a2.r   r   TFr   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠣⠼⠋⠦⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠀⠐⠋⠩⠛⠩⠓⠐
        ⠀⠀⠐⠊⠚⠡⠓⠀⠋⠙⠛⠊⠓⠙⠀⠐⠎⠄⠣⠅
        r  r  s       r/   test_example10_3Test.test_example10_3e  s    .02F__PQYY[
		!S%%b)*
5I!!&..1djjm!!,, %Cr1   c                x   SS0U l         [        R                  " S5      R                  5       nUR	                  S[
        R                  " S5      5        UR                  SSS9  UR                  [        R                  5      nSUS	   R                  S
   R                  R                  l        Xl        SU l        g )Nr  r  zDtinynotation: 12/8 e2.~ e8 f# g# a b- gn c d e f4.~ f8 e f g f e f2.r   r   TFr   r   r   u/  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠣⠼⠁⠃⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠀⠐⠏⠄⠈⠉⠋⠩⠛⠩⠓⠊⠚⠡⠓⠀⠙⠑⠋⠻⠄⠈⠉⠛⠐
        ⠀⠀⠐⠋⠛⠓⠛⠋⠀⠟⠄⠣⠅
        )rV   r   r"   r#   r$   r   r%   r&   r'   r   r(   notesAndRestsr   r   r   rh   ri   r}   s      r/   test_example10_4Test.test_example10_4v  s    ,b1__RTT[T[T] 	
		!S%%b)*
5I!!&..1?D!1##..<r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      nUS   R                  S[        R                  " S	5      5        US
   R                  S[        R
                  " S5      5        US
   R                  S[        R                  " S	5      5        Xl        SU l        g )Nz
            tinynotation: 3/4 g4. f8 e-4 B-4 b-4 g4 f2 g4
            e'-4. d'8 c'4 d'4 g4 bn4
            d'4 c'4 c'4 a-4. g8 f4 c4 c'4 en4 f2.r   r   TFr   r   r   rx   r  r  uY  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠣⠣⠣⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠐⠳⠄⠛⠫⠀⠸⠺⠐⠺⠳⠀⠟⠣⠅⠄⠐⠀⠐⠳⠀⠨⠫⠄⠑⠹⠀⠱⠐⠳⠡⠺
        ⠀⠀⠨⠱⠹⠣⠅⠄⠐⠀⠼⠙⠣⠀⠨⠹⠀⠪⠄⠓⠻⠀⠹⠨⠹⠡⠐⠫⠀⠟⠄⠣⠅
        )r   r"   r#   r$   r   r%   r&   r'   r   r(   r
   r{   rh   ri   r}   s      r/   test_example10_5Test.test_example10_5  s    __ 5 6 7>gi 	 			!S%%b)*
5I!!&..1	!As{{8,-	!As''+,	!As{{8,-r1   c                D   [         R                  " SSS9nUR                  S[        R                  " S5      5        UR                  SSS9  UR                  [        R                  5      nUS   R                  S[        R                  " S	5      5        Xl        S
U l        g )Nz
            tinynotation: 4/4 a4 a'~ a'8 g'# f'# e' f'#4
            e'~ e'8 d' c'# b d'4 c'#~ c'#8 b a b
            c'#2 r8 a'8 g'# f'# e' d' c'# b a b c'# b a2. r4Fre   r   r   Tr          @rx   u>  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠩⠩⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠐⠪⠨⠪⠈⠉⠊⠓⠛⠋⠀⠻⠫⠈⠉⠋⠑⠙⠚⠀⠱⠹⠈⠉⠙⠚⠊⠚⠀⠝⠣⠅⠄
        ⠀⠀⠭⠨⠊⠓⠛⠀⠋⠑⠙⠚⠊⠚⠙⠚⠀⠎⠄⠧⠣⠅
        )r   r"   r$   r   r%   r&   r'   r   r(   r
   r{   rh   ri   r}   s      r/   test_example10_6Test.test_example10_6  s    __ @ OTU 			!S%%a()
5I!!&..1	!CX./r1   c                   SS0U l         [        R                  " SSS9nUR                  S[        R
                  " S5      5        UR                  S[        R                  " 5       5        UR                  SSS9  UR                  [        R                  5      nUS   R                  S	[        R                  " 5       5        Xl        S
U l        SS0U l         SU l        g )NshowClefSignsFz,tinynotation: 4/4 BB-4 F B- f b- d' c' a b-1re   r   r  Tr   r!   u   
        ⠀⠀⠀⠀⠀⠀⠀⠣⠣⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠘⠺⠸⠻⠺⠐⠻⠀⠺⠱⠹⠪⠀⠾⠣⠅
        u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠣⠣⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠜⠼⠇⠘⠺⠸⠻⠺⠜⠌⠇⠐⠻⠀⠺⠱⠹⠪⠀⠾⠣⠅
        )rV   r   r"   r$   r   r%   r   r  r&   r'   r   r(   r  rh   ri   r}   s      r/   test_example10_9Test.test_example10_9  s    *E2__KZ_`
		!S%%b)*
		!T]]_%
5I!!&..1	!C*+ +D1r1   c                   SS0U l         [        R                  " SSS9nUR                  S[        R
                  " S5      5        UR                  S[        R                  " 5       5        UR                  SSS9  UR                  [        R                  5      nUS	   R                  S
[        R                  " 5       5        Xl        SU l        SS0U l         SU l        g )Nr)  Fz1tinynotation: 6/8 a8 e a b c'# d' e' f'# g'# a'4.re   r   r   Tr   r   r  u   
        ⠀⠀⠀⠀⠀⠀⠩⠩⠩⠼⠋⠦⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠐⠊⠋⠊⠚⠙⠑⠀⠋⠛⠓⠪⠄⠣⠅
        u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠩⠩⠼⠋⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠜⠬⠇⠐⠊⠋⠊⠚⠙⠑⠀⠜⠌⠇⠨⠋⠛⠓⠪⠄⠣⠅
        )rV   r   r"   r$   r   r%   r   AltoClefr&   r'   r   r(   r  rh   ri   r}   s      r/   test_example10_10Test.test_example10_10  s    *E2__P*/1
		!S%%a()
		!T]]_%
5I!!&..1	!C*+ +D1r1   c                   SS0U l         [        R                  " SSS9nUR                  S[        R
                  " S5      5        UR                  S[        R
                  " S5      5        UR                  S	[        R
                  " S
5      5        UR                  S[        R
                  " S5      5        UR                  S[        R
                  " S5      5        UR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      n[        R                  " S5      US   l        [        R                  " S5      US   l        [        R                  " S5      US   l        [        R                  " S5      US   l        [        R                  " S5      US   l        [        R                  " S5      US   l        Xl        SU l        SU l        g )NcancelOutgoingKeySigFztinynotation: 4/4 d4 f# a f# d8 e f# g a2
            e-4 g b- g e-8 f g a- b-2
            e4 g# b g# e8 f# g# a b2 f4 a c' a f8 g a b- c'2
            g-4 b- d'- b- g-8 a- b- c'- d'-2 d'4 b g b d'8 c' b a g2re   r  r   r   r         0@rg   g      8@r         @@ig      D@r   Tr   rx   r   r   r  ry   r  r  u:  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠩⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠐⠱⠻⠪⠻⠀⠑⠋⠛⠓⠎⠣⠅⠄⠀⠣⠣⠣⠀⠐⠫⠳⠺⠳⠀⠋⠛⠓⠊⠞⠣⠅⠄⠀⠼⠙⠩
        ⠀⠀⠐⠫⠳⠺⠳⠀⠋⠛⠓⠊⠞⠣⠅⠄⠀⠣⠀⠐⠻⠪⠹⠪⠀⠛⠓⠊⠚⠝⠣⠅⠄⠀⠼⠋⠣
        ⠀⠀⠐⠳⠺⠱⠺⠀⠓⠊⠚⠙⠕⠣⠅⠄
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠁⠀⠨⠱⠺⠳⠺⠀⠑⠙⠚⠊⠗⠣⠅⠄
        ub  
        ---begin segment---
        <music21.braille.segment BrailleSegment>
        Measure 1, Signature Grouping 1:
        Key Signature 2 sharp(s) ⠩⠩
        Time Signature 4/4 ⠼⠙⠲
        ===
        Measure 1, Note Grouping 1:
        <music21.clef.TrebleClef>
        Octave 4 ⠐
        D quarter ⠱
        F quarter ⠻
        A quarter ⠪
        F quarter ⠻
        ===
        Measure 2, Note Grouping 1:
        D eighth ⠑
        E eighth ⠋
        F eighth ⠛
        G eighth ⠓
        A half ⠎
        Barline double ⠣⠅⠄
        ===
        Measure 3, Signature Grouping 1:
        Key Signature 3 flat(s) ⠣⠣⠣
        ===
        Measure 3, Note Grouping 1:
        Octave 4 ⠐
        E quarter ⠫
        G quarter ⠳
        B quarter ⠺
        G quarter ⠳
        ===
        Measure 4, Note Grouping 1:
        E eighth ⠋
        F eighth ⠛
        G eighth ⠓
        A eighth ⠊
        B half ⠞
        Barline double ⠣⠅⠄
        ===
        Measure 5, Signature Grouping 1:
        Key Signature 4 sharp(s) ⠼⠙⠩
        ===
        Measure 5, Note Grouping 1:
        Octave 4 ⠐
        E quarter ⠫
        G quarter ⠳
        B quarter ⠺
        G quarter ⠳
        ===
        Measure 6, Note Grouping 1:
        E eighth ⠋
        F eighth ⠛
        G eighth ⠓
        A eighth ⠊
        B half ⠞
        Barline double ⠣⠅⠄
        ===
        Measure 7, Signature Grouping 1:
        Key Signature 1 flat(s) ⠣
        ===
        Measure 7, Note Grouping 1:
        Octave 4 ⠐
        F quarter ⠻
        A quarter ⠪
        C quarter ⠹
        A quarter ⠪
        ===
        Measure 8, Note Grouping 1:
        F eighth ⠛
        G eighth ⠓
        A eighth ⠊
        B eighth ⠚
        C half ⠝
        Barline double ⠣⠅⠄
        ===
        Measure 9, Signature Grouping 1:
        Key Signature 6 flat(s) ⠼⠋⠣
        ===
        Measure 9, Note Grouping 1:
        Octave 4 ⠐
        G quarter ⠳
        B quarter ⠺
        D quarter ⠱
        B quarter ⠺
        ===
        Measure 10, Note Grouping 1:
        G eighth ⠓
        A eighth ⠊
        B eighth ⠚
        C eighth ⠙
        D half ⠕
        Barline double ⠣⠅⠄
        ===
        ---end segment---
        ---begin segment---
        <music21.braille.segment BrailleSegment>
        Measure 11, Signature Grouping 1:
        <music21.key.KeySignature of no sharps or flats>
        ===
        Measure 11, Note Grouping 1:
        Octave 5 ⠨
        D quarter ⠱
        B quarter ⠺
        G quarter ⠳
        B quarter ⠺
        ===
        Measure 12, Note Grouping 1:
        D eighth ⠑
        C eighth ⠙
        B eighth ⠚
        A eighth ⠊
        G half ⠗
        Barline double ⠣⠅⠄
        ===
        ---end segment---
        )rV   r   r"   r$   r   r%   r&   r'   r   r(   r
   r{   r|   rh   ri   rk   r}   s      r/   test_drill10_2Test.test_drill10_2  s|   159__ H W\] 			#s''*+
		#s''+,
		$((+,
		$((,-
		$((,-
		$((+,
5I!!&..1KK1!KK1!KK1!KK1!KK1! [[2"ur1   c                h   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  S[        R                  " S5      5        UR                  S[        R                  " 5       5        UR                  S[        R                  " 5       5        SU[        R                     R                  5       l        UR                  SS	S
9  UR!                  ["        R$                  5      nUS   R'                  SS9  SUS   R(                  S   R*                  R,                  l        S	US   R(                  S   R*                  R,                  l        U H  nU=R2                  S-  sl        M     SS0U l        Xl        SU l        SU l        g )Nztinynotation: 4/4 r2. AA4 DD r d2~ d8 f e d c#4
            A B-2~ B-8 d cn B- A4 F D E
            F G8 A B-4 c#8 Bn c# d d e f a a4 g8 e c# g f d Bn f e c# A e d cn B- d
            c4 B-8 A G4 F8 E D4 AA DDr   r   zCon briog      9@r3  rv  TFr   r   parenthesesr   r    r  r   r)  u  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠉⠕⠝⠀⠃⠗⠊⠕⠲⠀⠣⠨⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠚⠀⠜⠼⠇⠘⠪⠀⠱⠧⠐⠕⠈⠉⠀⠑⠛⠋⠑⠩⠹⠪⠀⠞⠈⠉⠚⠑⠠⠄⠡⠠⠄⠙⠚
        ⠀⠀⠸⠪⠻⠱⠫⠀⠻⠓⠊⠺⠩⠙⠡⠚⠀⠩⠙⠑⠜⠌⠇⠐⠑⠋⠛⠊⠪⠀⠓⠋⠩⠙⠓⠐
        ⠀⠀⠐⠛⠑⠡⠚⠐⠛⠀⠜⠼⠇⠐⠋⠩⠙⠊⠐⠋⠑⠡⠙⠚⠑⠀⠹⠚⠊⠳⠛⠋⠀⠱⠘⠪⠱⠣⠅
        uf  
---begin segment---
<music21.braille.segment BrailleSegment>
Measure 0, Signature Grouping 1:
Key Signature 1 flat(s) ⠣
Time Signature common ⠨⠉
===
Measure 0, Tempo Text Grouping 1:
Tempo Text Con brio ⠠⠉⠕⠝⠀⠃⠗⠊⠕⠲
===
Measure 0, Note Grouping 1:
Bass Clef ⠜⠼
Octave 2 ⠘
A quarter ⠪
===
Measure 1, Note Grouping 1:
D quarter ⠱
Rest quarter ⠧
Octave 4 ⠐
D half ⠕
Tie ⠈⠉
===
Measure 2, Note Grouping 1:
D eighth ⠑
F eighth ⠛
E eighth ⠋
D eighth ⠑
Accidental sharp ⠩
C quarter ⠹
A quarter ⠪
===
Measure 3, Note Grouping 1:
B half ⠞
Tie ⠈⠉
B eighth ⠚
D eighth ⠑
Parenthesis ⠠⠄
Accidental natural ⠡
Parenthesis ⠠⠄
C eighth ⠙
B eighth ⠚
===
Measure 4, Note Grouping 1:
Octave 3 ⠸
A quarter ⠪
F quarter ⠻
D quarter ⠱
E quarter ⠫
===
Measure 5, Note Grouping 1:
F quarter ⠻
G eighth ⠓
A eighth ⠊
B quarter ⠺
Accidental sharp ⠩
C eighth ⠙
Accidental natural ⠡
B eighth ⠚
===
Measure 6, Note Grouping 1:
Accidental sharp ⠩
C eighth ⠙
D eighth ⠑
Treble Clef ⠜⠌
Octave 4 ⠐
D eighth ⠑
E eighth ⠋
F eighth ⠛
A eighth ⠊
A quarter ⠪
===
Measure 7, Split Note Grouping A 1:
G eighth ⠓
E eighth ⠋
Accidental sharp ⠩
C eighth ⠙
G eighth ⠓
music hyphen ⠐
===
Measure 7, Split Note Grouping B 1:
Octave 4 ⠐
F eighth ⠛
D eighth ⠑
Accidental natural ⠡
B eighth ⠚
Octave 4 ⠐
F eighth ⠛
===
Measure 8, Note Grouping 1:
Bass Clef ⠜⠼
Octave 4 ⠐
E eighth ⠋
Accidental sharp ⠩
C eighth ⠙
A eighth ⠊
Octave 4 ⠐
E eighth ⠋
D eighth ⠑
Accidental natural ⠡
C eighth ⠙
B eighth ⠚
D eighth ⠑
===
Measure 9, Note Grouping 1:
C quarter ⠹
B eighth ⠚
A eighth ⠊
G quarter ⠳
F eighth ⠛
E eighth ⠋
===
Measure 10, Note Grouping 1:
D quarter ⠱
Octave 2 ⠘
A quarter ⠪
D quarter ⠱
Barline final ⠣⠅
===
---end segment---
        )r   r"   r#   r$   r   r%   r   r  r   r  r  r   r   r  symbolr&   r'   r   r(   r*   r   r   r   displayStyler   r)   rV   rh   ri   rk   )r7   r,   r-   r.   s       r/   test_drill10_4Test.test_drill10_4c  sL   __ ) * +2') 	 			!S%%b)*
		!U__Z01
		$)*
		$(195%%'.
5I!!&..1	!D16C!

1&&37<!

1&&4BIINI *D1wr1   c                $   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  S5      R                  S[        5       5        Xl	        SU l
        g )	Na  tinynotation: 3/4 D4 E8 F#8 G8 A8 B4 A4 G8 F#8
            E8 D8 C#8 D8 E8 F#8 G4 A4 r4 B4 c#8 d8 e8 f#8 e4 d4 c#8 B8
            c#8 e8 d8 c#8 B8 A#8 B2 r4 f#4 d8 c#8 B4 e4 c#8 B8 A#4 d4 B8 An8 G#4 A2 r4
            A4 G8 F#8 E8 D8 C#4 D4 E8 F#8 G8 A8 B8 A8 G8 F#8 E4 D4 r4r   r   TFr   r  u  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠩⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠸⠱⠋⠛⠓⠊⠀⠺⠪⠓⠛⠀⠋⠑⠙⠑⠋⠛⠀⠳⠪⠧⠀⠺⠙⠑⠋⠛⠀⠫⠱⠙⠚
        ⠀⠀⠐⠙⠋⠑⠙⠚⠩⠊⠀⠞⠧
        ⠼⠊⠀⠐⠻⠑⠙⠺⠀⠐⠫⠙⠚⠩⠪⠀⠐⠱⠚⠡⠊⠩⠳⠀⠎⠧⠀⠪⠓⠛⠋⠑⠀⠹⠱⠋⠛
        ⠀⠀⠸⠓⠊⠚⠊⠓⠛⠀⠫⠱⠧⠣⠅
        )r   r"   r#   r$   r   r%   r&   r+   r   rh   ri   rl   s     r/   test_example11_1Test.test_example11_1  sz    __ I J KR') 	 			!S%%a()
5I


1Q 6 89r1   c                @    [        5       nXl        SU l        SU l        g )Nu  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠣⠣⠣⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠚⠀⠐⠺⠀⠳⠫⠱⠫⠀⠗⠻⠫⠀⠪⠳⠨⠹⠄⠙⠀⠞⠄⠺⠀⠨⠫⠐⠺⠪⠄⠓⠀⠗⠻⠨⠹
        ⠀⠀⠨⠹⠐⠻⠪⠄⠑⠀⠏⠄⠐
        ⠼⠓⠄⠀⠐⠳⠀⠳⠄⠛⠻⠻⠀⠎⠳⠺⠀⠺⠡⠪⠪⠹⠀⠞⠄⠺⠀⠨⠫⠐⠺⠪⠳⠀⠗⠻⠨⠹
        ⠀⠀⠨⠹⠧⠐⠻⠧⠀⠎⠄⠱⠀⠏⠄⠣⠅
        u  
        ---begin segment---
        <music21.braille.segment BrailleSegment>
        Measure 0, Signature Grouping 1:
        Key Signature 3 flat(s) ⠣⠣⠣
        Time Signature 4/4 ⠼⠙⠲
        ===
        Measure 0, Note Grouping 1:
        <music21.clef.TrebleClef>
        Octave 4 ⠐
        B quarter ⠺
        ===
        Measure 1, Note Grouping 1:
        G quarter ⠳
        E quarter ⠫
        D quarter ⠱
        E quarter ⠫
        ===
        Measure 2, Note Grouping 1:
        G half ⠗
        F quarter ⠻
        E quarter ⠫
        ===
        Measure 3, Note Grouping 1:
        A quarter ⠪
        G quarter ⠳
        Octave 5 ⠨
        C quarter ⠹
        Dot ⠄
        C eighth ⠙
        ===
        Measure 4, Note Grouping 1:
        B half ⠞
        Dot ⠄
        B quarter ⠺
        ===
        Measure 5, Note Grouping 1:
        Octave 5 ⠨
        E quarter ⠫
        Octave 4 ⠐
        B quarter ⠺
        A quarter ⠪
        Dot ⠄
        G eighth ⠓
        ===
        Measure 6, Note Grouping 1:
        G half ⠗
        F quarter ⠻
        Octave 5 ⠨
        C quarter ⠹
        ===
        Measure 7, Note Grouping 1:
        Octave 5 ⠨
        C quarter ⠹
        Octave 4 ⠐
        F quarter ⠻
        A quarter ⠪
        Dot ⠄
        D eighth ⠑
        ===
        Measure 8, Note Grouping 1:
        E half ⠏
        Dot ⠄
        music hyphen ⠐
        ===
        ---end segment---
        ---begin segment---
        <music21.braille.segment BrailleSegment>
        Measure 8, Note Grouping 2:
        Octave 4 ⠐
        G quarter ⠳
        ===
        Measure 9, Note Grouping 1:
        G quarter ⠳
        Dot ⠄
        F eighth ⠛
        F quarter ⠻
        F quarter ⠻
        ===
        Measure 10, Note Grouping 1:
        A half ⠎
        G quarter ⠳
        B quarter ⠺
        ===
        Measure 11, Note Grouping 1:
        B quarter ⠺
        Accidental natural ⠡
        A quarter ⠪
        A quarter ⠪
        C quarter ⠹
        ===
        Measure 12, Note Grouping 1:
        B half ⠞
        Dot ⠄
        B quarter ⠺
        ===
        Measure 13, Note Grouping 1:
        Octave 5 ⠨
        E quarter ⠫
        Octave 4 ⠐
        B quarter ⠺
        A quarter ⠪
        G quarter ⠳
        ===
        Measure 14, Note Grouping 1:
        G half ⠗
        F quarter ⠻
        Octave 5 ⠨
        C quarter ⠹
        ===
        Measure 15, Note Grouping 1:
        Octave 5 ⠨
        C quarter ⠹
        Rest quarter ⠧
        Octave 4 ⠐
        F quarter ⠻
        Rest quarter ⠧
        ===
        Measure 16, Note Grouping 1:
        A half ⠎
        Dot ⠄
        D quarter ⠱
        ===
        Measure 17, Note Grouping 1:
        E half ⠏
        Dot ⠄
        Barline final ⠣⠅
        ===
        ---end segment---
        )r0   rh   ri   rk   rl   s     r/   test_example11_2Test.test_example11_2	  s!    ]Ar1   c                   [         R                  " S5      R                  5       nUR                  SSS9  UR	                  [
        R                  5      nUS   R                  S   R                  R                  [        S5      5        US   R                  S   R                  R                  [        S5      5        US   R                  S	   R                  R                  [        S
5      5        US   R                  [        R                  " US   R                  S   US   R                  S	   5      5        US   R                  [        R                  " US   R                  S   US   R                  S   5      5        US	   R                  [        R                  " US	   R                  S   US	   R                  S   5      5        US   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  [        R                  " US   R                  S   US   R                  S   5      5        S US   l        Xl        SS0U l        SU l        g )NzEtinynotation: 4/4 g4. f8 e4 d4 g4 f4 e4 r4 f4 g4 a4 b4 c'4 d'4 c'4 r4TFr   r   r  r   r  r   r  r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠐⠳⠄⠅⠉⠛⠫⠉⠱⠀⠳⠉⠻⠉⠫⠧⠀⠻⠃⠉⠳⠁⠉⠪⠉⠺⠀⠹⠉⠱⠉⠹⠧
        )r   r"   r#   r&   r'   r   r(   r   r   r   r   r   Slurr|   rh   rV   ri   r}   s      r/   test_example12_1Test.test_example12_1	  s   __SUU\U\U^ 	
5I!!&..1	!

1##**9S>:	!

1##**9S>:	!

1##**9S>:	!GLL1A!

1>?	!GLL1A!

1>?	!GLL1A!

1>?	!GLL1A!

1>?	!GLL1A!

1>? !3U;r1   c                H   [         R                  " S5      R                  5       nUR                  SSS9  UR	                  [
        R                  5      nUS   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  S   R                  R                  [        S	5      5        US   R                  S   R                  R                  [        S
5      5        US   R                  S   R                  R                  [        S
5      5        S US   l        Xl        SSS.U l        SU l        g )Nz8tinynotation: 4/4 g4. f8 e4 d g f e r f g a b c' d' c' rTFr   r   r   r   r   r  r  r   slurLongPhraseWithBracketsu   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠐⠳⠄⠅⠉⠉⠛⠫⠱⠀⠳⠻⠉⠫⠧⠀⠻⠁⠉⠉⠳⠪⠺⠀⠹⠁⠱⠉⠹⠧
        r   r"   r#   r&   r'   r   r(   r   r   rC  r   r   r   r|   rh   rV   ri   r}   s      r/   test_example12_2Test.test_example12_2	  s:   __WX``b
5I!!&..1	!GLL1A!

1>?	!GLL1A!

1>?	!

1##**9S>:	!

1##**9S>:	!

1##**9S>: !5:9>@r1   c                F   [         R                  " S5      R                  5       nUR                  SSS9  UR	                  [
        R                  5      nUS   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  S   R                  R                  [        S	5      5        US   R                  S   R                  R                  [        S	5      5        US   R                  S   R                  R                  [        S
5      5        S US   l        Xl        SS0U l        SU l        g )Nz;tinynotation: 4/4 e-4. f8 g4 e- f g a- r g g e'- d' c'2. r4TFr   r   r   r   r   r  r  r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠰⠃⠣⠐⠫⠄⠁⠛⠳⠫⠀⠻⠳⠣⠪⠘⠆⠧⠀⠰⠃⠳⠁⠳⠣⠨⠫⠂⠱⠀⠝⠄⠘⠆⠧
        rI  r}   s      r/   test_example12_3Test.test_example12_3	  s:   __IKKR79 	
5I!!&..1	!GLL1A!

1>?	!GLL1A!

1>?	!

1##**9S>:	!

1##**9S>:	!

1##**9S>: !3U;r1   c                   [         R                  " S5      R                  5       nUR                  SSS9  UR	                  [
        R                  5      nUS   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  [        R                  " US   R                  S   US   R                  S   5      5        S US   l        Xl        S	S0U l        S
U l        g )Nz,tinynotation: 12/8 e'4. c'4 g'8 g'4. f'4 e'8TFr   r   r   r   r  r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠼⠁⠃⠦⠀⠀⠀⠀⠀⠀
        ⠰⠃⠨⠫⠄⠉⠹⠉⠓⠳⠄⠉⠻⠉⠋⠘⠆
        r   r"   r#   r&   r'   r   r(   r   r   rC  r   r|   rh   rV   ri   r}   s      r/   test_example12_4Test.test_example12_4	  s    __KLTTV
5I!!&..1	!GLL1A!

1>?	!GLL1A!

1>?	!GLL1A!

1>? !3U;r1   c                |   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      nUS   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  [        R                  " US   R                  S   US   R                  S   5      5        S US   l        Xl        SS0U l        S	U l        SSS
.U l        SU l        g )Nz@tinynotation: 3/4 a2 b4 a8 f'# e' d' c'# b a4 b8 c'# d' e' f'#2.r   r   TFr   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠩⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠰⠃⠐⠎⠺⠀⠊⠨⠛⠋⠑⠙⠚⠀⠰⠃⠘⠆⠪⠚⠙⠑⠋⠀⠟⠄⠘⠆
        rG  u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠩⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠐⠎⠉⠉⠺⠀⠊⠨⠛⠋⠑⠙⠚⠉⠀⠪⠉⠉⠚⠙⠑⠋⠉⠀⠟⠄
        r   r"   r#   r$   r   r%   r&   r'   r   r(   r   r   rC  r   r|   rh   rV   ri   r}   s      r/   test_example12_5Test.test_example12_5	  s    ___ &wy 	
		!S%%a()
5I!!&..1	!GLL1A!

1>?	!GLL1A!

1>? !3U; 6;Z_`r1   c                2   [         R                  " S5      R                  5       nUR                  SSS9  UR	                  [
        R                  5      nUS   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  [        R                  " US   R                  S   US   R                  S   5      5        S US   l        Xl        SSS.U l        S	U l        SSS.U l        S
U l        g )Nz)tinynotation: 3/4 c'2~ c'8 d' d'2~ d'8 e'TFr   r   r   r   )r   showShortSlursAndTiesTogetheruo   
        ⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀
        ⠨⠝⠈⠉⠙⠉⠑⠀⠕⠈⠉⠑⠉⠋
        u{   
        ⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀
        ⠨⠝⠉⠈⠉⠙⠉⠑⠀⠕⠉⠈⠉⠑⠉⠋
        rP  r}   s      r/   test_example12_6Test.test_example12_6	  s    __HIQQS
5I!!&..1	!GLL1A!

1>?	!GLL1A!

1>? !5:]bc 6;]abr1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      nUS   R                  [        R                  " US   R                  S   US   R                  S   5      5        S US   l        Xl        SS0U l        SU l        SSS	.U l        S
U l        g )N)tinynotation: 3/4 f'2.~ f'8 c' d' c' b- ar   r   TFr   r   u{   
        ⠀⠀⠀⠀⠀⠀⠣⠼⠉⠲⠀⠀⠀⠀⠀⠀
        ⠰⠃⠨⠟⠄⠈⠉⠀⠛⠙⠑⠙⠚⠊⠘⠆
        rG  u   
        ⠀⠀⠀⠀⠀⠀⠣⠼⠉⠲⠀⠀⠀⠀⠀
        ⠨⠟⠄⠈⠉⠀⠛⠉⠉⠙⠑⠙⠚⠉⠊
        rT  r}   s      r/   test_example12_7Test.test_example12_7
  s    __HIQQS
		!S%%b)*
5I!!&..1	"W\\!A$**Q-2RAB!"3U; 6;Z_`r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      R                  5       nUR                  [        R                  " UR                  R                  5       UR                  R                  5       5      5        S Ul        Xl        SS0U l        SU l        SSS	.U l        S
U l        g )Nr\  r   r   TFr   r   u{   
        ⠀⠀⠀⠀⠀⠀⠣⠼⠉⠲⠀⠀⠀⠀⠀⠀
        ⠨⠟⠄⠈⠉⠀⠰⠃⠛⠙⠑⠙⠚⠊⠘⠆
        rG  r]  )r   r"   r#   r$   r   r%   r&   r'   r   r(   lastr   r   rC  r   r  r|   rh   rV   ri   r7   r,   mls      r/   test_example12_8Test.test_example12_8
  s    __HIQQS
		!S%%b)*
5I""6>>2779
		',,rxx~~/AB3U; 6;Z_`r1   c                   [         R                  " S5      R                  5       nUR                  SSS9  UR	                  [
        R                  5      nUS   R                  [        R                  " US   R                  S   US   R                  S   5      5        S US   l        Xl        SS0U l        SU l        SSS	.U l        S
U l        g )N2tinynotation: 3/4 e'8 f' g' f' e' d' c'2.~ c'4 r rTFr   r   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠰⠃⠨⠋⠛⠓⠛⠋⠑⠀⠝⠄⠈⠉⠀⠹⠘⠆⠧⠧
        rG     
        ⠀⠀⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀
        ⠨⠋⠉⠉⠛⠓⠛⠋⠑⠉⠀⠝⠄⠈⠉⠀⠹⠧⠧
        rP  r}   s      r/   test_example12_9Test.test_example12_92
  s    __QRZZ\
5I!!&..1	"W\\!A$**Q-2RAB!"3U; 6;Z_`r1   c                   [         R                  " S5      R                  5       nUR                  SSS9  UR	                  [
        R                  5      nUS   R                  [        R                  " US   R                  S   US   R                  S   5      5        S US   l        SS0U l        S	U l        SSS
.U l        SU l        g )Nrg  TFr   r   r   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠰⠃⠨⠋⠛⠓⠛⠋⠑⠀⠝⠄⠘⠆⠈⠉⠀⠹⠧⠧
        rG  rh  )r   r"   r#   r&   r'   r   r(   r   r   rC  r   r|   rV   ri   r}   s      r/   test_example12_10Test.test_example12_10D
  s    __QRZZ\
5I!!&..1	!GLL1A!

1>?!"3U; 6;Z_`r1   c                @   [         R                  " S5      R                  5       nUR                  SSS9  UR	                  [
        R                  5      nUS   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  S   R                  R                  [        S	5      5        US   R                  S   R                  R                  [        S
5      5        US   R                  S   R                  R                  [        S5      5        US   R                  S   R                  R                  [        S	5      5        S US   l        Xl        SS0U l        SU l        g )Nztinynotation: 4/4 c4 c c cTFr   r   r   r   r   r  r  r  r   r   uc   
        ⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀
        ⠐⠹⠇⠉⠹⠃⠉⠹⠁⠉⠹⠇
        rI  r}   s      r/   test_example12_11Test.test_example12_11U
  s   __9:BBD
5I!!&..1	!GLL1A!

1>?	!GLL1A!

1>?	!GLL1A!

1>?	!

1##**9S>:	!

1##**9S>:	!

1##**9S>:	!

1##**9S>:!"3U;r1   c                X   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      nUS   R                  S[        R                  " S5      5        US	   R                  S
[        R                  " S5      5        US   R                  S[        R                  " S5      5        US   R                  S[        R                  " S5      5        Xl        SU l        g )NzGtinynotation: 3/4 f2 e4 e4 d4 c4 a4. b-8 a4 g4 c8 d8 e8 f8 g4 f4 e4 f2.r   r   TFr   r  dolcer   r%  pr         ?mfrg   rit.u)  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠣⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠜⠙⠕⠇⠉⠑⠐⠟⠫⠀⠫⠱⠜⠏⠐⠹⠀⠐⠪⠄⠚⠪⠀⠳⠜⠍⠋⠐⠙⠑⠋⠛
        ⠀⠀⠐⠳⠜⠗⠊⠞⠄⠐⠻⠫⠀⠟⠄⠣⠅
        )r   r"   r#   r$   r   r%   r&   r'   r   r(   r   TextExpressionr   Dynamicrh   ri   r}   s      r/   test_example13_1Test.test_example13_1k
  s    __UWW^W^W` 	
		!S%%b)*
5I!!&..1	!C33G<=	!C))#./	!C))$/0	!C33F;<r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      nUS   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  [        R                  " US   R                  S   US   R                  S	   5      5        US   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  [        R                  " US   R                  S	   US   R                  S
   5      5        US   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  S[        R                  " S5      5        US   R                  S[        R                  " S5      5        US   R                  S[         R"                  " S5      5        US   R                  S[         R"                  " S5      5        US   R                  S[        R                  " S5      5        Xl        SU l        g )Nz`
            tinynotation: 4/4 d'#4 e'8 r b4 g a f# g fn8 e d e fn e f# g f# g# a#1
            r   r   TFr   r   r   rg   r  r  ry   r  fr%  rs  r!   rv  morendor   pppuw  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠜⠋⠄⠩⠨⠱⠉⠋⠭⠜⠏⠰⠃⠐⠺⠳⠀⠪⠻⠳⠘⠆⠜⠗⠊⠞⠄⠡⠐⠛⠉⠋
        ⠀⠀⠐⠑⠉⠋⠉⠡⠛⠉⠋⠜⠍⠕⠗⠑⠝⠙⠕⠄⠩⠐⠛⠉⠓⠛⠉⠩⠓⠀⠩⠮⠜⠏⠏⠏⠄⠣⠅
        )r   r"   r#   r$   r   r%   r&   r'   r   r(   r   r   rC  r   r   rx  r   rw  rh   ri   rb  s      r/   test_example13_2Test.test_example13_2|
  s/   __   	 			!S%%a()
5I""6>>2
1W\\"Q%++a."Q%++a.AB
1W\\"Q%++a."Q%++a.AB
1W\\"Q%++a."Q%++a.AB
1W\\"Q%++a."Q%++a.AB
1W\\"Q%++a."Q%++a.AB
1W\\"Q%++a."Q%++a.AB
1S(**3/0
1S(**3/0
1S+44V<=
1S+44Y?@
1S(**512r1   c                   [         R                  " S5      R                  5       nU[        R                     R                  5       nUb  SUl        UR                  SSS9  UR                  [        R                  5      nS US   l        [        R                  " S5      n[        R                  " S5      nUS	   R                  S
U5        US   R                  S
U5        Xl        g )Nztinynotation: 4/4 a1 a1 a1 a1rv  TFr   r   zcresc.zdecresc.r   r  r   )r   r"   r#   r   r   r  r8  r&   r'   r   r(   r|   r   rw  r$   rh   )r7   r,   
commonTimerc  e0e1s         r/   xtest_example13_3Test.xtest_example13_3
  s    __<=EEG++,224
! (J
5I""6>>2"2''1''
3
1S"
1S"r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  S[        R                  " S5      5        UR                  SSS9  UR                  [        R                  5      nS US   l        S	S0U l        Xl        S
U l        g )Nz'tinynotation: 4/4 g8 a b c' d' e' f' g'r  r|  zrush!TFr   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀
        ⠜⠗⠥⠎⠓⠖⠜⠋⠐⠓⠊⠚⠙⠑⠋⠛⠓
        r   r"   r#   r$   r   rx  r   rw  r&   r'   r   r(   r|   rV   rh   ri   rb  s      r/   test_example13_9Test.test_example13_9
  s    __FGOOQ
		#x'',-
		#{11':;
5I""6>>2"23U;r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  S[        R                  " S5      5        UR                  SSS9  UR                  [        R                  5      nS US   l        S	S0U l        Xl        S
U l        g )Nztinynotation: 4/4 c4 c e cr  r|  z(marc.)TFr   r   r   uu   
        ⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀
        ⠜⠶⠍⠁⠗⠉⠄⠶⠜⠋⠐⠹⠹⠫⠹
        r  rb  s      r/   test_example13_10Test.test_example13_10
  s    __9:BBD
		#x'',-
		#{11)<=
5I""6>>2"23U;r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      nUS   R                  S[        R                  " S5      5        US   R                  S	[        R                  " S
5      5        US   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  S[         R"                  " S5      5        Xl        g )Nz$tinynotation: 4/4 b-2 r f e- d1 r B-r  r  TFr   r   r|  r%  ppr   r   rv  )r   r"   r#   r$   r   r%   r&   r'   r   r(   r   rx  r   r   rC  r   r   rw  rh   rb  s      r/   xtest_example13_11Test.xtest_example13_11
  s    __CDLLN
		#s''+,
5I""6>>2
1S(**3/0
1S(**401
1W\\"Q%++a."Q%++a.AB
1S+44V<=r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      nUS   R                  S[        R                  " S5      5        S US   l        S	S0U l        Xl        S
U l        g )Nz:tinynotation: 3/4 e'4 e' f'# g'2. f'#8 d' a d' e' c'# d'2.r  r   TFr   zdim. e rall.r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠩⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠨⠫⠫⠻⠀⠗⠄⠀⠜⠙⠊⠍⠄⠀⠑⠀⠗⠁⠇⠇⠄⠜⠀⠨⠛⠑⠐⠊⠨⠑⠋⠙⠀⠕⠄
        r   r"   r#   r$   r   r%   r&   r'   r   r(   r   rw  r|   rV   rh   ri   rb  s      r/   test_example13_14Test.test_example13_14
  s    __YZbbd
		#s''*+
5I""6>>2
1S+44^DE"23U;r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      nUS   R                  S[        R                  " S5      5        S US	   l        S
S0U l        Xl        SU l        g )N:tinynotation: 2/4 d'8 c' b- a g2 b-4. a8 g4. b-8 a4. g8 f2r  r  TFr   r   zcalm, serener   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠣⠣⠼⠃⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠨⠑⠙⠚⠊⠀⠗⠀⠜⠉⠁⠇⠍⠂⠀⠎⠑⠗⠑⠝⠑⠜⠀⠐⠺⠄⠊⠀⠳⠄⠚⠀⠪⠄⠓⠀⠟
        r  rb  s      r/   test_example13_15Test.test_example13_15
  s    __YZbbd
		#s''+,
5I""6>>2
1S+44^DE"23U;r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      nUS   R                  S[        R                  " S5      5        S US	   l        S
S0U l        Xl        SU l        g )Nr  r  r  TFr   r   z
Sehr ruhigr   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠣⠣⠼⠃⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠨⠑⠙⠚⠊⠀⠗⠀⠜⠎⠑⠓⠗⠀⠗⠥⠓⠊⠛⠜⠀⠐⠺⠄⠊⠀⠳⠄⠚⠀⠪⠄⠓⠀⠟
        r  rb  s      r/   test_example13_16Test.test_example13_16
  s    __YZbbd
		#s''+,
5I""6>>2
1S+44\BC"23U;r1   c                   [         R                  " S5      R                  5       nUR                  SSS9  UR	                  [
        R                  5      nUS   R                  S[        R                  " S5      5        US   R                  [        R                  " US   R                  S	   US   R                  S   5      5        S US   l        S
S0U l        Xl        SU l        g )Nz/tinynotation: 3/4 g4 r g' g' e' c' f' d' b c'2.TFr   r   r%  zrit. e dim.r   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠐⠳⠧⠐⠀⠜⠗⠊⠞⠄⠀⠑⠀⠙⠊⠍⠄⠜⠀⠰⠃⠨⠳⠀⠳⠫⠹⠀⠻⠱⠺⠀⠝⠄⠘⠆
        )r   r"   r#   r&   r'   r   r(   r$   r   rw  r   r   rC  r   r|   rV   rh   ri   rb  s      r/   test_example13_17Test.test_example13_17
  s    __NOWWY
5I""6>>2
1S+44]CD
2gll2a5;;q>2b6<<?CD"23U;r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      nUS   R                  S[        R                  " S	5      5        US
   R                  S[        R                  " S5      5        S US   l        Xl        SU l        SU l        g )NzAtinynotation: 3/4 FF4 GG8 AA BB- C    D4 BB-8 C D E    F4 E8 D C4r  r   TFr   r   rt  zspeeding upr   r%  slowingu  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠣⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠘⠻⠐⠀⠜⠎⠏⠑⠑⠙⠊⠝⠛⠀⠥⠏⠜⠀⠘⠓⠊⠚⠙⠀⠱⠚⠙⠐
        ⠀⠀⠜⠎⠇⠕⠺⠊⠝⠛⠸⠑⠋⠀⠻⠋⠑⠹
        u  
        ---begin segment---
        <music21.braille.segment BrailleSegment>
        Measure 1, Signature Grouping 1:
        Key Signature 1 flat(s) ⠣
        Time Signature 3/4 ⠼⠉⠲
        ===
        Measure 1, Note Grouping 1:
        <music21.clef.BassClef>
        Octave 2 ⠘
        F quarter ⠻
        music hyphen ⠐
        ===
        Measure 1, Long Text Expression Grouping 2:
        Word ⠜
        Text Expression speeding up ⠎⠏⠑⠑⠙⠊⠝⠛⠀⠥⠏
        Word ⠜
        music hyphen ⠐
        ===
        Measure 1, Note Grouping 2:
        Octave 2 ⠘
        G eighth ⠓
        A eighth ⠊
        B eighth ⠚
        C eighth ⠙
        ===
        Measure 2, Split Note Grouping A 1:
        D quarter ⠱
        B eighth ⠚
        C eighth ⠙
        music hyphen ⠐
        ===
        Measure 2, Split Note Grouping B 1:
        Word ⠜
        Text Expression slowing ⠎⠇⠕⠺⠊⠝⠛
        Octave 3 ⠸
        D eighth ⠑
        E eighth ⠋
        ===
        Measure 3, Note Grouping 1:
        F quarter ⠻
        E eighth ⠋
        D eighth ⠑
        C quarter ⠹
        ===
        ---end segment---
        )r   r"   r#   r$   r   r%   r&   r'   r   r(   r   rw  r|   rh   ri   rk   rb  s      r/   test_example13_18Test.test_example13_18
  s    __ ; <<CGI 	
		#s''+,
5I""6>>2
1S+44]CD
1S+44Y?@"2
.r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      nUS   R                  S[        R                  " S5      5        US   R                  S[        R                  " S	5      5        S US   l        Xl        g )
Nz&tinynotation: 3/4 c'8 d' c' b- a g a2.r  r   TFr   r   r  zvery sweetly)r   r"   r#   r$   r   r%   r&   r'   r   r(   r   rx  r   rw  r|   rh   rb  s      r/   xtest_example13_19Test.xtest_example13_19I  s    __EFNNP
		#s''+,
5I""6>>2
1S(**401
1S+44^DE"2r1   c                R   [         R                  " SSS9nUR                  S[        R                  " S5      5        UR                  S[        R                  " S5      5        UR                  SSS	9  UR                  [        R                  5      nU H  nU=R                  S
-  sl	        M     US   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  S[        R                  " S5      5        [         R"                  " S5      US   l        US   R                  S[        R                  " S5      5        US   R                  S[&        R(                  " S5      5        S US   l        Xl        SU l        g )Nz
            tinynotation: 4/4 e2 f#4 g a2 b4 a g2 f#4 e d2. r4
             b-4 d'8 f' b'-4 f'8 d'8
             b-4 e'-8 g' b'-4 g'8 e'-8 b-4 e'-8 f' a'4 f'8 e'-
             b-4 d'8 f' b'-4 rFre   r  r   r2  r  Tr   ,   rg   r   r   r   r%  zrall.rx   ffPrestor   u  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠩⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠙⠑⠀⠰⠃⠐⠏⠻⠳⠀⠎⠜⠗⠁⠇⠇⠄⠐⠺⠪⠀⠗⠻⠫⠀⠕⠄⠘⠆⠧⠣⠅⠄⠀⠡⠡⠣⠣
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠏⠗⠑⠎⠞⠕⠲⠀⠣⠣⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠙⠊⠀⠜⠋⠋⠐⠺⠑⠛⠺⠛⠑⠀⠺⠨⠋⠓⠺⠓⠋⠀⠐⠺⠨⠋⠛⠪⠛⠋⠀⠐⠺⠑⠛⠺⠧
        )r   r"   r$   r   r%   r&   r'   r   r(   r)   r   r   rC  r   r   rw  r
   r{   r|   r   r  rh   ri   )r7   r,   rc  r-   s       r/   test_example13_26Test.test_example13_26U  s@   __ " 16	7
 			#s''*+
		$((,-
5I""6>>2AHHNH 
1W\\"Q%++a."Q%++a.AB
1S+44W=> [[21
1S+44T:;
1S%//(34"2r1   c                
   [         R                  " S5      R                  5       nUR                  S   R                  R                  [        R                  " 5       5        UR                  S   R                  R                  [        R                  " 5       5        UR                  S   R                  R                  [        R                  " 5       5        UR                  S   R                  R                  [        R                  " 5       5        UR                  S[        R                  " S5      5        UR                  SSS	9  S UR                  [        R                  5      S   l        S
S0U l        Xl        SU l        g )Nz$tinynotation: 4/4 f8 a c' a g c' e gr   r   rg   r  r   TFr   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠣⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀
        ⠨⠦⠐⠛⠊⠨⠦⠙⠊⠨⠦⠓⠨⠙⠨⠦⠐⠋⠓
        )r   r"   r#   r   r   r   Accentr$   r   r%   r&   r'   r   r(   r|   rV   rh   ri   rl   s     r/   test_example14_1Test.test_example14_1r  s   __CDLLN
!!(()=)=)?@
!!(()=)=)?@
!!(()=)=)?@
!!(()=)=)?@
		!S%%b)*
5IAEfnn-b1>3U;r1   c                f   [         R                  " S5      R                  5       nUR                  SSS9  UR	                  [
        R                  5      nUS   R                  [        R                  " US   R                  S   US   R                  S   5      5        US   R                  S   R                  R                  [        R                  " 5       5        US   R                  S   R                  R                  [        R                  " 5       5        US   R                  S   R                  R                  [        R                  " 5       5        US   R                  S   R                  R                  [        R                  " 5       5        US   R                  S   R                  R                  [        R                  " 5       5        US	   R                  S   R                  R                  [        R                  " 5       5        S
US   l        SSS.U l        Xl        SU l        g
)z
Doubling of Tenuto marking is demonstrated. Accent is used in place of
Reversed Accent because music21
doesn't support the latter.
z5tinynotation: 3/4 e'2. d'4 f' b c' e g c' d' d'# e'2.TFr   r   r   r   r   rg   Nr   rG  u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠰⠃⠨⠏⠄⠀⠱⠻⠐⠺⠀⠹⠘⠆⠸⠦⠸⠦⠐⠫⠳⠀⠨⠹⠱⠸⠦⠩⠱⠀⠨⠦⠏⠄
        )r   r"   r#   r&   r'   r   r(   r   r   rC  r   r   Tenutor  r|   rV   rh   ri   rb  s      r/   test_example14_2Test.test_example14_2  s    __TU]]_
5I""6>>2
1W\\"Q%++a."Q%++a.AB
1A$$++M,@,@,BC
1A$$++M,@,@,BC
1A$$++M,@,@,BC
1A$$++M,@,@,BC
1A$$++M,@,@,BC
1A$$++M,@,@,BC"25:Z^_r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      S   nUR                  [        R                  5      S   nUR                  [        R                  5      S   nUR                  [        R                  5      S	   nUR                  [        R                  5      R                  5       nUR                  [        R                  " UR                  R                  5       UR                  R                  5       5      5        UR                  S   R                   R                  [         R"                  " 5       5        UR                  S   R                   R                  [         R$                  " 5       5        UR                  S   R                   R                  [         R$                  " 5       5        UR                  S   R                   R                  [         R&                  " 5       5        UR                  S   R                   R                  [         R$                  " 5       5        UR                  S	   R                   R                  [         R$                  " 5       5        UR                  S   R                   R                  [         R&                  " 5       5        UR                  S   R                   R                  [         R&                  " 5       5        S Ul        Xl        S
U l        g )Nzp
            tinynotation: 4/4 d'8 e'- c' d' b- a- g f g4 e- e-2
            e-4~ e-8 r g4~ g8 r f4~ f e-~ e-8 rr   r   TFr   r   r   r   u/  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠣⠣⠣⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠰⠃⠨⠦⠨⠑⠋⠙⠑⠚⠊⠓⠛⠘⠆⠀⠦⠳⠦⠫⠸⠦⠏⠀⠫⠉⠦⠋⠭⠳⠉⠦⠓⠭
        ⠀⠀⠸⠦⠐⠻⠉⠸⠦⠻⠫⠈⠉⠋⠭
        )r   r"   r#   r$   r   r%   r&   r'   r   r(   ra  r   r   rC  r   r  r   r  Staccator  r|   rh   ri   )r7   r,   m0r  r	  r
  mLasts          r/   test_example14_3Test.test_example14_3  s5   __ 3 44;GI 	 			!S%%b)*
5I""6>>215""6>>215""6>>215""6>>215%%fnn5::<
		',,rxx~~/AB
!!(()=)=)?@
!!(()?)?)AB
!!(()?)?)AB
!!(()=)=)?@
!!(()?)?)AB
!!(()?)?)AB
!!(()=)=)?@
!!(()=)=)?@!r1   c                v   [         R                  " SSS9nSUR                  [        R                  5      R                  5       l        UR                  S[        R                  " S5      5        UR                  SSS9  UR                  [        R                  5      R                  5       nUR                  S   R                  R                  [        R                   " 5       5        UR                  S	   R                  R                  [        R                   " 5       5        UR                  S
   R                  R                  [        R                   " 5       5        UR                  S   R                  R                  [        R                   " 5       5        UR                  [        R                  5      S	   R                  R                  5       R                  R                  [        R"                  " 5       5        S UR                  [        R                  5      S   l        SS0U l        Xl        SU l        g )Nz+tinynotation: 2/2 D8 r F r A r d r B-2 A4 rFre   rw  r   r   Tr   r   r   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠣⠸⠉⠀⠀⠀⠀⠀⠀⠀⠀
        ⠦⠦⠸⠑⠭⠛⠭⠊⠭⠦⠐⠑⠭⠀⠨⠦⠞⠪⠧
        )r   r"   r'   r   r   r  r8  r$   r   r%   r&   r   r(   r   r   r   r  r  r|   rV   rh   ri   r7   r,   r  s      r/   test_example14_5Test.test_example14_5  s   __JY^_DIe11288:A
		!S%%b)*
5I""6>>288:
!!(()?)?)AB
!!(()?)?)AB
!!(()?)?)AB
!!(()?)?)AB
fnn-a066<<>LLSS  "	
 BFfnn-b1>3U;r1   c                   [         R                  " S5      R                  5       nUR                  SSS9  UR                  5       R                  SS  H1  nUR
                  R                  [
        R                  " 5       5        M3     US   R                   H1  nUR
                  R                  [
        R                  " 5       5        M3     UR                  [        R                  5      S   R                  S   R
                  R                  [
        R                  " 5       5        S UR                  [        R                  5      S   l        SS0U l        Xl        S	U l        S
U l        g )Nz5tinynotation: 3/4 F4 D8 F C E BB AA BB C D4 D8 E F4 rTFr   r   r   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠸⠻⠦⠦⠑⠛⠙⠋⠀⠨⠦⠨⠦⠘⠚⠊⠚⠙⠨⠦⠱⠀⠑⠦⠋⠸⠦⠻⠧
        u  
        ---begin segment---
        <music21.braille.segment BrailleSegment>
        Measure 1, Signature Grouping 1:
        Time Signature 3/4 ⠼⠉⠲
        ===
        Measure 1, Note Grouping 1:
        <music21.clef.BassClef>
        Octave 3 ⠸
        F quarter ⠻
        Articulation staccato ⠦
        Articulation staccato ⠦
        D eighth ⠑
        F eighth ⠛
        C eighth ⠙
        E eighth ⠋
        ===
        Measure 2, Note Grouping 1:
        Articulation accent ⠨⠦
        Articulation accent ⠨⠦
        Octave 2 ⠘
        B eighth ⠚
        A eighth ⠊
        B eighth ⠚
        C eighth ⠙
        Articulation accent ⠨⠦
        D quarter ⠱
        ===
        Measure 3, Note Grouping 1:
        D eighth ⠑
        Articulation staccato ⠦
        E eighth ⠋
        Articulation tenuto ⠸⠦
        F quarter ⠻
        Rest quarter ⠧
        ===
        ---end segment---
        )r   r"   r#   r&   r   r   r   r  r  r'   r   r(   r  r|   rV   rh   ri   rk   r7   r,   ns      r/   test_example14_6Test.test_example14_6  s   __TU]]_
5I##Ab)AOO""=#9#9#;< *AAOO""=#7#7#9: 
fnn-a066r:HHOO  "	$AEfnn-b1>3U;%r1   c                0   [         R                  " S5      R                  5       nUR                  SSS9  UR	                  [
        R                  5      R                  5       R                   H_  nUR                  R                  [        R                  " 5       5        UR                  R                  [        R                  " 5       5        Ma     S UR	                  [
        R                  5      R                  5       l        SS0U l        Xl        SU l        g )Nztinynotation: 3/4 C4 E FTFr   r   ui   
        ⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀
        ⠦⠨⠦⠸⠹⠦⠨⠦⠫⠦⠨⠦⠻
        )r   r"   r#   r&   r'   r   r(   r  r   r   r   r  r  r|   rV   rh   ri   r  s      r/   test_example14_7Test.test_example14_7  s    __78@@B
5I&&v~~6<<>DDAOO""=#7#7#9:OO""=#9#9#;< E FJfnn-335B3U;r1   c                0   [         R                  " S5      R                  5       nUR                  SSS9  UR	                  [
        R                  5      R                  5       R                   H_  nUR                  R                  [        R                  " 5       5        UR                  R                  [        R                  " 5       5        Ma     S UR	                  [
        R                  5      R                  5       l        SS0U l        Xl        SU l        g )Nztinynotation: 3/4 G4 B cTFr   r   u{   
        ⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀
        ⠨⠦⠸⠦⠸⠳⠨⠦⠸⠦⠺⠨⠦⠸⠦⠹
        )r   r"   r#   r&   r'   r   r(   r  r   r   r   r  r  r|   rV   rh   ri   r  s      r/   test_example14_8Test.test_example14_8  s    __78@@B
5I&&v~~6<<>DDAOO""=#7#7#9:OO""=#7#7#9: E FJfnn-335B3U;r1   c                   [         R                  " S5      R                  5       nUR                  SSS9  UR	                  S5      R
                  S   R                  R                  [        R                  " S5      5        UR	                  S5      R
                  S   R                  R                  [        R                  " S5      5        UR	                  S5      R
                  S   R                  R                  [        R                  " 5       5        S UR	                  S5      l        SS0U l        Xl        S	U l        g )
Nz#tinynotation: 3/4 G4~ G8 F D BB C2.TFr   r   r   r   r   uu   
        ⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀
        ⠸⠳⠃⠣⠇⠈⠉⠓⠛⠁⠑⠚⠀⠝⠄
        )r   r"   r#   r&   r+   r   r   r   r   r   Fermatar|   rV   rh   ri   rl   s     r/   test_example_14_14Test.test_example_14_14   s    __BCKKM
5I


1A,,33M4K4KA4NO


1A,,33M4K4KA4NO


1A**11+2E2E2GH%)

1"3U;r1   c                R   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        [        R                  " UR                  S   UR                  S   5      nUR                  SU5        UR                  SSS9  UR                  S5      R                  S   R                  R                  [        R                  " 5       5        UR                  S	5      R                  S   R                  R                  [        R                  " 5       5        UR                  S
5      R                  S   R                  R                  [        R                  " 5       5        S UR                  S
5      l        SS0U l        Xl        SU l        g )Nz^
            tinynotation: 4/4 d'8 f' f'4 e'8 c' r4
            d'2 r4 d'8 f'     e' c' d'2 r4r   r   r  TFr   r   r   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠣⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠨⠑⠛⠻⠋⠙⠧⠣⠇⠀⠕⠧⠣⠇⠰⠃⠑⠛⠀⠋⠙⠕⠘⠆⠧⠣⠇
        )r   r"   r#   r$   r   r%   r   rC  r   r&   r+   r  r   r   r  r|   rV   rh   ri   )r7   r,   sls      r/   test_example_14_15Test.test_example_14_15.  s2   __ . //6wy 	 			!S%%b)*\\"((2,5
		!R
5I


1##B'33::;;N;N;PQ


1##A&2299+:M:M:OP


1##B'33::;;N;N;PQ%)

1"3U;r1   c                   [         R                  " SSS9nUR                  S[        R                  " S5      5        UR                  SSS9  UR                  [        R                  5      R                  5       R                  SS9  UR                  [        R                  5       H  nU=R                  S-  sl        M     S UR                  [        R                  5      R                  5       l        Xl        S	U l        g )
Nz
            tinynotation: 2/4 r4. d8 g8. f#16 g8 b8 a8. g16 a8 b8 g8.
            g16 b8 d'8 e'4. e'8 d'8. b16 b8 g8 a8. g16
            a8 b8 g8. e16 e8 d8 g4.Fre   r   r   Tr   r   u/  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠼⠃⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠚⠀⠐⠑⠀⠓⠄⠿⠓⠚⠀⠊⠄⠷⠊⠚⠀⠓⠄⠷⠚⠑⠀⠫⠄⠋⠀⠑⠄⠾⠚⠓⠀⠊⠄⠷⠊⠚
        ⠀⠀⠐⠓⠄⠯⠋⠑⠀⠳⠄
        )r   r"   r$   r   r%   r&   r'   r   r(   r  r*   r)   ra  r|   rh   ri   r}   s      r/   test_example15_1Test.test_example15_1D  s    __ ' 6;< 			!S%%a()
5I
fnn-335DDUYDZ&&v~~6AHHMH 7DHfnn-224Ar1   c                2   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  S UR                  [        R                  5      S   l
        SS0U l        Xl        S	U l        g )
Nzp
            tinynotation: 2/4 d'8 r16 e'16 d'8 r16 c'#16
            d'4 b8 r8 b8 r16 c'16 b8 r16 a#16 b4 g8 r8r   r   TFr   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠼⠃⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠨⠑⠍⠯⠑⠍⠩⠽⠀⠱⠚⠭⠀⠚⠍⠽⠚⠍⠩⠮⠀⠺⠓⠭
        r   r"   r#   r$   r   r%   r&   r'   r   r(   r|   rV   rh   ri   rl   s     r/   test_example15_2Test.test_example15_2V  s    __ : ;;B79 	 			!S%%a()
5IAEfnn-b1>3U;r1   c                    [         R                  " S5      nUR                  SSS9  S UR                  [        R
                  5      S   l        Xl        SU l        g )Nz
            tinynotation: 6/8 e8. f16 e8 g4 g8 d8. e16 d8 f4 f8 c4 d8 e4 f8
            e4 d8 d4 e8 e4 f8 g4 a16 b32 c'32 c4 e16 d16 c4 r16TFr   r   u  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠋⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠁⠀⠐⠋⠄⠿⠋⠳⠓⠀⠑⠄⠯⠑⠻⠛⠀⠹⠑⠫⠛⠀⠫⠑⠱⠋⠀⠫⠛⠳⠮⠞⠝
        ⠀⠀⠐⠹⠯⠵⠹⠍
        )	r   r"   r&   r'   r   r(   r|   rh   ri   rl   s     r/   test_example15_3Test.test_example15_3d  sS    __ C D 	5IAEfnn-b1>r1   c                    [         R                  " S5      R                  5       nUR                  SSS9  S UR	                  [
        R                  5      S   l        SS0U l        Xl	        SU l
        g )Nz
            tinynotation: 3/4 e'4~ e'8. f'16 d'8. e'16 c'4 c''4 c''4
            g'#16 a'16 r8 e'16 f'16 r8 d'16 b16 r8 c'4 r4 r4TFr   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠨⠫⠈⠉⠋⠄⠿⠑⠄⠯⠀⠹⠰⠹⠹⠀⠩⠨⠷⠮⠭⠯⠿⠭⠵⠾⠭⠀⠹⠧⠧
        r   r"   r#   r&   r'   r   r(   r|   rV   rh   ri   rl   s     r/   test_example15_4Test.test_example15_4q  si    __ @ AAH 	 	5IAEfnn-b1>3U;r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      R                  5       R                  SS9  SUR                  [        R                  5      S   S   R                  R                  l        U H  nU=R                  S-  sl        M     [         R"                  " S	5      UR                  [        R                  5      R%                  5       l        Xl        S
U l        g )Nz
            tinynotation: 3/8 r4 e16. b32 b8 a8 b8 b#8 c'#16 r16 e16.
            c'#32 c'#8 b8 c'#8 c'#8 d'16 r16 d'8 d'4 e'16 f'#16 f'#16
            b8. c'#8 e'8. d'16 c'#16 b16 a4r   r   TFr   r   r   rx   u;  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠩⠩⠼⠉⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠚⠀⠐⠯⠄⠞⠀⠚⠊⠚⠀⠩⠚⠽⠍⠐⠯⠄⠨⠝⠀⠙⠚⠙⠀⠙⠵⠍⠑⠀⠱⠯⠿⠀⠿⠐⠚⠄⠙
        ⠀⠀⠨⠋⠄⠵⠽⠾⠀⠪⠣⠅⠄
        )r   r"   r#   r$   r   r%   r&   r'   r   r(   r  r*   r   r   r   r)   r
   r{   ra  r|   rh   ri   r}   s      r/   test_example15_5Test.test_example15_5~  s    __ / 0 18	 	 			!S%%a()
5I
fnn-335DDUYDZUZfnn-a0399DDRAHHMH DGKKPXDYfnn-224Ar1   c                    [         R                  " S5      R                  5       nUR                  SSS9  S UR	                  [
        R                  5      S   l        SS0U l        Xl	        SU l
        g )N7tinynotation: 4/4 c16 B c d e d e f g g a b c' d' e' e'TFr   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀
        ⠐⠽⠚⠙⠑⠯⠑⠋⠛⠷⠓⠊⠚⠽⠑⠋⠋
        r  rl   s     r/   test_example15_6aTest.test_example15_6a  s`    __VW__a
5IAEfnn-b1>3U;r1   c                   [         R                  " S5      R                  5       nUR                  SS9  UR	                  SSS9  S UR                  [        R                  5      S   l        SS0U l	        Xl
        SU l        g )	Nr  Tr   F)r   r   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀
        ⠐⠽⠾⠽⠵⠯⠵⠯⠿⠷⠷⠮⠾⠽⠵⠯⠯
        )r   r"   r#   makeMeasuresmakeAccidentalsr'   r   r(   r|   rV   rh   ri   rl   s     r/   test_example15_6bTest.test_example15_6b  sq    __VW__a
%
tLAEfnn-b1>3U;r1   c                    [         R                  " S5      R                  5       nUR                  SSS9  S UR	                  [
        R                  5      S   l        SS0U l        Xl	        SU l
        g )Nz3tinynotation: 2/4 g16 d' c' b c'4 g16. f32 e16 d e4TFr   r   r   uu   
        ⠀⠀⠀⠀⠀⠀⠼⠃⠲⠀⠀⠀⠀⠀⠀
        ⠐⠷⠨⠑⠙⠚⠹⠀⠐⠷⠄⠟⠯⠵⠫
        r  rl   s     r/   test_example15_7Test.test_example15_7  `    __RS[[]
5IAEfnn-b1>3U;r1   c                    [         R                  " S5      R                  5       nUR                  SSS9  S UR	                  [
        R                  5      S   l        SS0U l        Xl	        SU l
        g )Nz3tinynotation: 2/4 G16 E F E G F r8 F16 D E D F E r8TFr   r   r   u{   
        ⠀⠀⠀⠀⠀⠀⠼⠃⠲⠀⠀⠀⠀⠀⠀⠀
        ⠸⠷⠋⠛⠋⠷⠿⠭⠀⠿⠑⠋⠑⠿⠯⠭
        r  rl   s     r/   test_example15_8Test.test_example15_8  r  r1   c                2   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  S UR                  [        R                  5      S   l
        SS0U l        Xl        S	U l        g )
Nzm
            tinynotation: 2/4 r16 d' c' b c' d' e' c' b c' b a g
            f# g r g' f'# e' d' c' r b a g2r   r   TFr   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠼⠃⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠍⠨⠑⠙⠚⠽⠑⠋⠙⠀⠾⠙⠚⠊⠷⠿⠷⠍⠀⠨⠷⠛⠋⠑⠽⠍⠾⠮⠀⠗
        r  rl   s     r/   test_example15_9Test.test_example15_9  s    __ / 007	 	 			!S%%a()
5IAEfnn-b1>3U;r1   c                    [         R                  " S5      R                  5       nUR                  SSS9  S UR	                  [
        R                  5      S   l        Xl        g )Nz/tinynotation: 4/4 g16 a g f e8 c d16 e f d e8 cTFr   r   )	r   r"   r#   r&   r'   r   r(   r|   rh   rl   s     r/   xtest_example15_10Test.xtest_example15_10  sM     __NOWWY
5IAEfnn-b1>r1   c                   [         R                  " S5      R                  5       nUR                  SSS9  UR	                  [
        R                  5      R                  5       nS Ul        UR	                  [
        R                  5       H  nU=R                  S-  sl	        M     UR	                  [
        R                  5      R                  5       n[        S5       H  nUR                  S5        M     [        R                  " S5      UR                  S	   R                  l        [        R                  " S5      UR                  S
   R                  l        Xl        SU l        g )Nz~
            tinynotation: 12/8 r1 r4 r8 b-8 e-16 e'- g- g'- b- b'- bn b'n
            b- b'- bn b'n b- b'- a'- f' d' b- e'-4.TFr   r   r   r   naturalry   r  uD  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠁⠃⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠼⠚⠀⠣⠐⠚⠀⠣⠯⠣⠨⠋⠣⠐⠓⠣⠨⠓⠣⠐⠚⠣⠨⠚⠡⠐⠾⠡⠨⠾⠣⠐⠾⠣⠨⠾⠐
        ⠀⠀⠡⠐⠾⠡⠨⠾⠣⠐⠾⠣⠨⠚⠣⠊⠛⠑⠚⠨⠫⠄
        )r   r"   r#   r&   r'   r   r(   ra  r|   r)   r  ranger   r   r   r   r   rh   ri   )r7   r,   lastMeasurer-   r  rX  s         r/   test_example15_11Test.test_example15_11  s   __ 7 88?	 	 	5I++FNN;@@B#' &&v~~6AHHMH 7""6>>288:qAFF1I 050@0@0K!""-161A1A)1L"##.r1   c                   [         R                  " S5      R                  5       nUR                  SSS9  S UR	                  [
        R                  5      S   l        S Hk  nUR	                  [
        R                  5      U   nUR                  R                  5       R                  R                  [        R                  " 5       5        Mm     SS0U l        Xl        SU l        g )	Nz1tinynotation: 2/4 trip{c8 e a} g4 trip{B8 d a} g4TFr   r   )r   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠼⠃⠲⠀⠀⠀⠀⠀⠀⠀
        ⠆⠨⠦⠐⠙⠋⠊⠳⠀⠆⠨⠦⠸⠚⠑⠊⠳
        )r   r"   r#   r&   r'   r   r(   r|   r   r  r   r   r  rV   rh   ri   )r7   r,   rX  r-   s       r/   test_example16_1Test.test_example16_1  s    __PQYY[
5IAEfnn-b1>A%%fnn5a8AGGMMO))001E1E1GH  4U;r1   c                2   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  S UR                  [        R                  5      S   l
        SS0U l        Xl        S	U l        g )
Nzp
            tinynotation: 3/4 b-4~ trip{b-8 c' f} trip{b- d' f}
            b-4~ trip{b-8 c' d'} trip{d' c' b-}r   r  TFr   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠣⠣⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠐⠺⠈⠉⠆⠚⠙⠐⠛⠆⠚⠑⠐⠛⠀⠺⠈⠉⠆⠚⠙⠑⠆⠑⠙⠚
        r  rl   s     r/   test_example16_2Test.test_example16_2  s    __ 3 44;GI 	 			!S%%b)*
5IAEfnn-b1>3U;r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  UR                  [        R                  5      R                  5       nUR                  S[        R                  " S5      5        UR                  S[        R                  " S	5      5        UR                  [         R"                  " UR$                  R                  5       UR$                  R'                  5       5      5        S UR                  [        R                  5      S
   l        SS0U l        Xl        SU l        g )Nz\
            tinynotation: 4/4 trip{c'8 b- a-} trip{a- b- c'}
            trip{b- c' b-} e-4r   r  TFr   r  rs  legator   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠙⠣⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠜⠇⠑⠛⠁⠞⠕⠜⠏⠰⠃⠆⠨⠙⠚⠊⠆⠊⠚⠙⠆⠚⠙⠚⠫⠘⠆
        )r   r"   r#   r$   r   r%   r&   r'   r   r(   r  r   rx  r   rw  r   r   rC  r   ra  r|   rV   rh   ri   r  s      r/   test_example16_4Test.test_example16_4  s    __ " ##*79 	 			!S%%b)*
5I""6>>288:
		#x'',-
		#{11(;<
		',,rxx~~/ABAEfnn-b1>3U;r1   c                   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  S UR                  [        R                  5      S   l
        Xl        g )Nzh
            tinynotation: 2/4 trip{b'-8 f' d'} trip{b- d' e'-}
            trip{f' d' b-} trip{f b- d'}r   r  TFr   r   )r   r"   r#   r$   r   r%   r&   r'   r   r(   r|   rh   rl   s     r/   xtest_example16_6Test.xtest_example16_6%  sk    __ , --4WY 	 			!S%%b)*
5IAEfnn-b1>r1   c                2   [         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  SSS9  S UR                  [        R                  5      S   l
        SS0U l        Xl        S	U l        g )
Nzj
            tinynotation: 6/8 f#4 a8 d' c'# b quad{a g f# a} quad{g f# e g}
            f# g b a f# e d2.r   r   TFr   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠩⠼⠋⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠐⠻⠊⠨⠑⠙⠚⠀⠸⠲⠄⠊⠓⠛⠊⠸⠲⠄⠓⠛⠋⠓⠀⠛⠓⠚⠊⠛⠋⠀⠕⠄
        r  rl   s     r/   test_example16_15Test.test_example16_150  s    __ ! "")') 	 			!S%%a()
5IAEfnn-b1>3U;r1   c                    [         R                  " S5      R                  5       nUR                  SSS9  S UR	                  [
        R                  5      S   l        SS0U l        Xl	        SU l
        g )Nz-tinynotation: 4/4 c4 e a g c e a g B d a g g1TFr   r   r   uu   
        ⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀
        ⠐⠹⠫⠪⠳⠀⠶⠀⠸⠺⠱⠪⠳⠀⠷
        r  rl   s     r/   test_example17_1Test.test_example17_1A  s`    __LMUUW
5IAEfnn-b1>3U;r1   c                2   [         R                  " S5      R                  5       nUR                  SSS9  S UR	                  [
        R                  5      S   l        UR	                  [
        R                  5      S   nUR                  S   R                  R                  [        R                  " 5       5        UR                  S   R                  R                  [        R                  " 5       5        UR                  S   R                  R                  [        R                  " 5       5        UR	                  [
        R                  5      S   nUR                  S   R                  R                  [        R                  " 5       5        UR                  S   R                  R                  [        R                  " 5       5        UR                  S   R                  R                  [        R                  " 5       5        S	S0U l        Xl        S
U l        g )Nz.tinynotation: 4/4 g4 f# fn2 g4 f# fn2 e2 g2 e1TFr   r   r   r   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀
        ⠦⠐⠳⠦⠩⠻⠨⠦⠡⠟⠀⠶⠀⠏⠗⠀⠯
        )r   r"   r#   r&   r'   r   r(   r|   r   r   r   r  r  rV   rh   ri   )r7   r,   r  r  s       r/   test_example17_2Test.test_example17_2L  sp   __MNVVX
5IAEfnn-b1>""6>>215
!!(()?)?)AB
!!(()?)?)AB
!!(()=)=)?@""6>>215
!!(()?)?)AB
!!(()?)?)AB
!!(()=)=)?@3U;r1   c                    [         R                  " S5      R                  5       nUR                  SSS9  S UR	                  [
        R                  5      S   l        SS0U l        Xl	        SU l
        g )Nz)tinynotation: 3/4 c4 e g c e g c e g c'2.TFr   r   r   uc   
        ⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀
        ⠐⠹⠫⠳⠀⠶⠀⠶⠀⠨⠝⠄
        r  rl   s     r/   test_example17_3Test.test_example17_3_  s`    __HIQQS
5IAEfnn-b1>3U;r1   c                    [         R                  " S5      R                  5       nUR                  SSS9  S UR	                  [
        R                  5      S   l        SS0U l        Xl	        SU l
        g )Nz(tinynotation: 3/4 c4 e g c e g c e g a2.TFr   r   r   u]   
        ⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀
        ⠐⠹⠫⠳⠀⠶⠀⠶⠀⠎⠄
        r  rl   s     r/   test_example17_4Test.test_example17_4j  s`    __GHPPR
5IAEfnn-b1>3U;r1   c                    [         R                  " S5      nUR                  SSS9  S UR                  [        R
                  5      S   l        SS0U l        Xl        SU l	        g )Nz
            tinynotation: 3/4 g4 g8 g g4
            g4 g8 g g4
            g4 g8 g g4
            g4 g8 g g4
            g4 g8 g g4
            g4 g8 g g4
            c8 e g c' e'4
            c8 e g c' e'4 TFr   r   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀
        ⠐⠳⠓⠓⠳⠀⠶⠼⠑⠀⠐⠙⠋⠓⠨⠙⠫⠀⠶
        )
r   r"   r&   r'   r   r(   r|   rV   rh   ri   rl   s     r/   test_example17_5Test.test_example17_5u  s]    __   	5IAEfnn-b1>3U;r1   c                d   [         U l        [        R                  " S5      R	                  5       nUR                  SSS9  UR                  [        R                  5      R                  5       nS Ul
        UR                  S[        R                  " S5      5        SSS.U l        X l        S	U l        g )
Nztinynotation: 4/4 c2 e2TFr   r  r|  rightshowHandr   uK   
        ⠀⠀⠼⠙⠲⠀⠀⠀
        ⠨⠜⠄⠜⠋⠐⠝⠏
        )r   rU   r   r"   r#   r&   r'   r   r(   r  r|   r$   r   rx  rV   rh   ri   )r7   	rightHandr-   s      r/   test_example24_1aTest.test_example24_1a  s    &OO$=>FFH	t%P((8>>@	h&&s+,'.tDr1   c                   [         U l        [        R                  " S5      R	                  5       nUR                  SSS9  UR                  [        R                  5      R                  5       nS Ul
        SSS.U l        X l        SU l        g )Nztinynotation: 2/4 C8 r8 E8 r8TFr   leftr   uE   
        ⠀⠀⠼⠃⠲⠀⠀
        ⠸⠜⠸⠙⠭⠋⠭
        )r   rU   r   r"   r#   r&   r'   r   r(   r  r|   rV   rh   ri   )r7   leftHandr-   s      r/   test_example24_1bTest.test_example24_1b  sr    &??#BCKKMdO''7==?'-dCr1   c                r   [         U l        [        R                  " S5      R	                  5       n[        R                  " S5      R	                  5       nUR                  SSS9  UR                  SSS9  [        R                  " 5       nUR                  U5        UR                  U5        X0l	        SU l
        g )Nzg
            tinynotation: 2/4 c'8 g e g f g e a g
            f e d e e d r e d e g f g a f e g g f e2zg
            tinynotation: 2/4 C8 G c B A B c c B A G B
            c c B G c r B-4 A8 r c r c r B G c2TFr   u  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠃⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠁⠀⠨⠜⠨⠙⠐⠓⠋⠓⠀⠐⠛⠓⠋⠊⠀⠐⠓⠛⠋⠑⠀⠐⠋⠋⠑⠭⠀⠐⠋⠑⠋⠓⠀⠐⠛⠓⠊⠛
        ⠀⠀⠸⠜⠸⠙⠓⠐⠙⠚⠀⠸⠊⠚⠙⠙⠀⠸⠚⠊⠓⠚⠀⠐⠙⠙⠚⠓⠀⠐⠙⠭⠣⠺⠀⠸⠊⠭⠙⠭
        ⠛⠀⠨⠜⠐⠋⠓⠓⠛⠀⠐⠏⠣⠅
        ⠀⠀⠸⠜⠐⠙⠭⠚⠓⠀⠐⠝⠣⠅
        )r	   rU   r   r"   r#   r&   r   Scorer   rh   ri   )r7   r"  r'  keyboardParts       r/   test_example24_2Test.test_example24_2  s    ,OO %8 99@ 	 ?? $3 44;GI 	 	t%PdO||~I&H%r1   c                   [         U l        [        R                  " S5      R	                  5       n[        R                  " S5      R	                  5       nUR                  S[        R                  " S5      5        UR                  S[        R                  " S5      5        UR                  SSS9  UR                  SSS9  UR                  [        R                  5      nUS   nUR                  [        R                  " UR                  S   UR                  S	   5      5        US   R                  S   R                   R                  [#        S
5      5        UR                  S   R                   R                  [#        S5      5        UR                  S	   R                   R                  [#        S
5      5        US   R%                  SS9  UR                  [        R                  5      nUS   R%                  SS9  U H  nU=R&                  S	-  sl        M     U H  nU=R&                  S	-  sl        M     S Ul        S US   l        [        R*                  " 5       nUR                  U5        UR                  U5        Xpl        SU l        g )Nz7tinynotation: 3/4 r2 d'4 d'8 e'-8 d'8 c'8 b-8 a8 g2 b-4zL
            tinynotation: 3/4 r2 B-8 A G r B- r d
            r G A B- c d4r   r  TFr   r   r   r  r  r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠣⠣⠼⠉⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠚⠀⠨⠜⠨⠱⠇⠀⠨⠑⠋⠑⠙⠚⠊⠀⠐⠗⠁⠉⠺⠇
        ⠀⠀⠸⠜⠸⠚⠊⠀⠸⠓⠭⠚⠭⠑⠭⠀⠸⠓⠊⠚⠙⠱
        )r	   rU   r   r"   r#   r$   r   r%   r&   r'   r   r(   r   r   rC  r   r   r   r*   r)   r|   r+  rh   ri   )r7   r"  r'  rhmlastRHlhmr-   r,  s           r/   test_example24_3Test.test_example24_3  s   ,OOEGGNwy 	?? $ %gi 	 	C,,R013++B/0t%PdO**6>>:Rgll6<<?FLLODEAQ%%,,Ys^<Q%%,,Ys^<Q%%,,Ys^<Ad3))&..9Ad3AHHMH AHHMH "#B||~I&H%r1   c                   [         U l        [        R                  " S5      R	                  5       n[        R                  " S5      R	                  5       nUR                  SSS9  UR                  S[        R                  " S5      5        UR                  S[        R                  " S5      5        UR                  SSS	9  UR                  SSS	9  UR                  [        R                  5       H  nU=R                  S
-  sl        M     UR                  [        R                  5       H  nU=R                  S
-  sl        M     [        R                  " 5       nUR                  U5        UR                  U5        X@l        SU l        g )Nz
            tinynotation: 4/4 d'16 b16 a16 f#16 e4~ e16 d16 A16 d16 e4
            c#16 B16 c#16 d16 e16 g16 f#16 e16 f#16 e16 f#16 g16 a16
            b16 c'#16 d'16 e'16 d'16 c'#16 b16 a16 g16 f#16 e16 d2z
            tinynotation: 4/4 d'4~ d'16 c'#16 b16 g16 f#4~ f#16 g16
            b16 g16 a4 c'#4 d'8 d'16 e'16 f'#16 g'16 e'16 f'#16 g'4
            c'#4 r16 a16 f#16 e16 d4r<  Tr   r   r   Fr   r    u  
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠩⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠀⠊⠀⠨⠜⠰⠵⠚⠊⠛⠫⠈⠉⠯⠑⠐⠊⠨⠑⠫⠀⠨⠽⠚⠙⠑⠯⠓⠛⠋⠿⠋⠛⠓⠮⠚⠙⠑
        ⠀⠀⠀⠸⠜⠨⠱⠈⠉⠵⠙⠚⠓⠻⠈⠉⠿⠓⠚⠓⠀⠐⠪⠹⠑⠵⠯⠿⠓⠋⠛⠀⠀⠀⠀⠀⠀⠀
        ⠁⠁⠀⠨⠜⠰⠯⠑⠙⠚⠮⠓⠛⠋⠕⠣⠅
        ⠀⠀⠀⠸⠜⠨⠳⠹⠍⠊⠛⠋⠱⠣⠅⠀⠀
        )r	   rU   r   r"   r#   r=  r$   r   r%   r&   r'   r   r(   r)   r  r   rh   ri   )r7   r"  r'  r-   r,  s        r/   test_example24_4Test.test_example24_4  s=   ,OO %F G HOwy 	 ?? $( ) *1 	 	D$/C,,Q/03++A./t%PdO--fnn=AHHMH >,,V^^<AHHMH ={{}I&H%r1   c                   [         R                  " S5      R                  5       n[         R                  " S5      R                  5       nUR                  S[        R
                  " S5      5        UR                  S[        R
                  " S5      5        UR                  SSS9  UR                  SSS9  UR                  [        R                  5      nUR                  [        R                  5      nU H  nU=R                  S-  sl
        M     U H  nU=R                  S-  sl
        M     US   R                  S   R                  R                  [        S	5      5        US   R                  S
   R                  R                  [        S5      5        US   R                  S   R                  R                  [        S5      5        US   R                  S   R                  R                  [        S5      5        US   R                  S   R                  R                  [        S5      5        US   R                  S   R                  R                  [        S	5      5        US
   R                  S   R                  R                  [        S5      5        US
   R                  S   R                  R                  [        S5      5        [        R                  " 5       nUR                  U5        UR                  U5        U$ )Nz~
            tinynotation: 2/4 trip{d'-8 c' b-} trip{f8 b- d'-}
            trip{c'8 an f} trip{c'8 d'- e'-} d'-4
            z!tinynotation: 2/4 B-4 B- An F B-2r   r  TFr   r  r  r   r  r   r  r   r  rg   r  )r   r"   r#   r$   r   r%   r&   r'   r   r(   r)   r   r   r   r   r  )r7   r"  r'  r0  r2  r-   r,  s          r/   xtest_example24_5Test.xtest_example24_5  s8   OO %   	 ??#FGOOQC,,R013++B/0t%PdO**6>>:))&..9AHHMH AHHMH AQ%%,,Ys^<AQ%%,,Ys^<AQ%%,,Ys^<AQ%%,,Ys^<AQ%%,,Ys^<AQ%%,,Ys^<AQ%%,,Ys^<AQ%%,,Ys^<{{}I&H%r1   c                    [         U l        [        R                  " / SQSS9n[        R
                  " 5       nUR                  U5        SSS.U l        X l        SU l	        g )N)r  B4r  G5r   r   r  Tr!  descendingChordsu'   
        ⠨⠜⠨⠷⠼⠴⠤
        
r   rU   r   Chordr   r(   r   rV   rh   ri   r7   c1r  s      r/   test_example26_1aTest.test_example26_1a&  sK    &[[1E^^
		"'.DIr1   c                    [         U l        [        R                  " / SQSS9n[        R
                  " 5       nUR                  U5        SSS.U l        X l        SU l	        g )N)G2B2D3G3r   r   r&  Fr>  u'   
        ⠸⠜⠘⠷⠬⠔⠤
        r@  rB  s      r/   test_example26_1bTest.test_example26_1b1  sK    &[[1E^^
		"'-5Ir1   c                   [         U l        [        R                  " / SQSS9n[        R                  " / SQSS9n[        R
                  " 5       nUR                  [        R                  " S5      5        UR                  U5        [        R
                  " 5       nUR                  [        R                  " S5      5        UR                  U5        UR                  SSS9  UR                  SSS9  S UR                  [        R                  5      S	   l        S UR                  [        R                  5      S	   l        [        R
                  " 5       nUR                  U5        UR                  U5        XPl        S
U l        g )N)r  r<  r=  r   r   )rG  rI  r  r  TFr   r   ul   
        ⠀⠀⠀⠨⠉⠀⠀⠀
        ⠁⠀⠨⠜⠨⠷⠴⠼
        ⠀⠀⠸⠜⠘⠷⠔⠬
        r	   rU   r   rA  r   r  r   r   r   r&   r'   r(   r|   rh   ri   r7   chord_right
chord_left
part_right	part_leftr,  s         r/   test_example26_2Test.test_example26_2<  "   ,kk"4CH[[!33G
[[]
%--c23+&KKM	,,S12$5Qt%PIM
%%fnn5b9FHL	$$V^^4R8E{{}J'I&r1   c                   [         U l        [        R                  " SS/SS9n[        R                  " SS/SS9n[        R
                  " 5       nUR                  [        R                  " S5      5        UR                  U5        [        R
                  " 5       nUR                  [        R                  " S5      5        UR                  U5        UR                  SS	S
9  UR                  SS	S
9  S UR                  [        R                  5      S   l        S UR                  [        R                  5      S   l        [        R
                  " 5       nUR                  U5        UR                  U5        XPl        SU l        g )Nr  E5r   r   r  E3r  TFr   r   ul   
        ⠀⠀⠀⠨⠉⠀⠀⠀
        ⠁⠀⠨⠜⠨⠯⠐⠬
        ⠀⠀⠸⠜⠘⠽⠸⠬
        rN  rO  s         r/   test_example26_3Test.test_example26_3T  s(   ,kk4,cB[[$SA
[[]
%--c23+&KKM	,,S12$5Qt%PIM
%%fnn5b9FHL	$$V^^4R8E{{}J'I&r1   c                   [         U l        [        R                  " / SQSS9n[        R                  " / SQSS9n[        R
                  " 5       nUR                  [        R                  " S5      5        UR                  U5        [        R
                  " 5       nUR                  [        R                  " S5      5        UR                  U5        UR                  SSS9  UR                  SSS9  S UR                  [        R                  5      S	   l        S UR                  [        R                  5      S	   l        [        R
                  " 5       nUR                  U5        UR                  U5        XPl        S
U l        g )N)r<  rX  r  r   r   )rG  rY  r  r  TFr   r   uu   
        ⠀⠀⠀⠀⠨⠉⠀⠀⠀
        ⠁⠀⠨⠜⠰⠽⠴⠌⠀
        ⠀⠀⠸⠜⠘⠷⠴⠐⠴
        rN  rO  s         r/   test_example26_4Test.test_example26_4l  rV  r1   c                f   [         U l        [        R                  n[        R
                  nU" SS/SS9U" SSS9U" SS/SS9U" SSS9U" SS/SS9U" SSS9U" SS	/SS9U" SSS9/n[        R                  " 5       nUR                  [        R                  " S
5      5        UR                  [        R                  " S5      5        UR                  U5        U" SS/SS9U" SSS9U" SS/SS9U" SSS9U" SS/SS9U" SSS9U" SS/SS9U" SSS9/n[        R                  " 5       nUR                  [        R                  " S
5      5        UR                  [        R                  " S5      5        UR                  U5        UR                  SSS9  UR                  SSS9  S UR                  [        R                  5      S   l        S UR                  [        R                  5      S   l        [        R                  " 5       nUR                  U5        UR                  U5        Xpl        SU l        g )Nr  r<  r  r   r  r  rX  zF#5r=  r   r~  rG  rI  rY  r  r  rJ  A2TFr   r   u   
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠩⠼⠙⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠁⠀⠨⠜⠐⠚⠬⠙⠑⠬⠐⠓⠨⠋⠬⠛⠓⠴⠐⠓⠀⠀
        ⠀⠀⠸⠜⠘⠓⠔⠸⠋⠘⠓⠔⠸⠚⠸⠙⠔⠊⠓⠔⠸⠚
        )r	   rU   r   rA  r   r   r   r  r   r   r%   r   r   r&   r'   r(   r|   rh   ri   )r7   CN	all_rightrR  all_leftrS  r,  s           r/   test_example26_5Test.test_example26_5  s   ,KKIId|374s9Sd|374s9Sd|375PS9Td|374s9SU	 [[]
#**1-.%--e45)$tTl#6$c8RtTl#6$c8RtTl#6$c8RtTl#6$c8RT KKM	))!,-,,U34"5Qt%PIM
%%fnn5b9FHL	$$V^^4R8E{{}J'I&r1   c                .   [         U l        [        R                  " 5       nUR	                  [
        R                  " S5      5        UR	                  [        R                  " SS/SS95        UR	                  [        R                  " SS/SS95        UR	                  [        R                  " SS/SS95        [        R                  " 5       nUR	                  [
        R                  " S5      5        UR	                  [        R                  " S	S
/SS95        UR	                  [        R                  " S
S
/SS95        UR	                  [        R                  " SS/SS95        UR                  SSS9  UR                  SSS9  S UR                  [        R                  5      S   l        S UR                  [        R                  5      S   l        [        R                  " 5       nUR	                  U5        UR	                  U5        X0l        SU l        g )Nrf  r  rX  rt  r   r<  r  r%  rY  rJ  r  r  TFr   r   u   
        ⠀⠀⠀⠀⠀⠀⠼⠃⠲⠀⠀⠀⠀⠀⠀
        ⠁⠀⠨⠜⠨⠫⠬⠱⠬⠀⠀⠨⠝⠨⠤
        ⠀⠀⠸⠜⠸⠫⠬⠳⠸⠤⠀⠸⠝⠤⠀
        )r	   rU   r   r  r   r   r   r   rA  r&   r'   r(   r|   rh   ri   )r7   rR  rS  r,  s       r/   test_example26_6Test.test_example26_6  s   ,[[]
%--e45%++tTl#FG%++tTl#FG%++tTl#FGKKM	,,U34dD\EFdD\EFdD\EF5Qt%PIM
%%fnn5b9FHL	$$V^^4R8E{{}J'I&r1   )
rI   ri   rk   rH   rO   r`   rU   rV   rh   r   N)__name__
__module____qualname____firstlineno____doc__r9   propertyrh   rE   rL   ri   rR   rk   rJ   rP   rb   rm   rq   ru   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r  r  r!  r%  r)  r,  r/  r2  r5  r9  r>  rB  rE  rM  rP  r[  r_  rk  ro  rs  rx  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r"  r&  r*  r.  r4  r:  r=  r@  rD  rJ  rM  rQ  rU  rY  r^  rd  ri  rl  ro  ry  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r
  r  r  r  r  r  r  r#  r(  r-  r3  r6  r9  rD  rK  rT  rZ  r]  re  rh  __static_attributes__rn  r1   r/   r3   r3   :   s   
 	bA 	bA
 	bAKK ,\  $$ $

"
 

L\Sj.#	& *$"
&$     ROh,	
%*%<JKKK>&?"fU}& (,6#J$"1f#J3j7r:xAN<| "$ &(RjQn"Lb*$$*&&&$","2$
=~: 0:*5n,$(
			4$"	&		6,#J>@		000"Hr1   r3   __main__)"
__future__r   rA   r?   unittestmusic21r   music21.articulationsr   music21.braille.objectsr   music21.braille.translater   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   _DOC_IGNORE_MODULE_OR_PACKAGEr0   TestCaser3   rj  mainTestrn  r1   r/   <module>r{     s    # 	   ! + : ] ]              $ (F:8 F:Tt zT r1   