
    rhʨ                        S SK Jr  S SKrSr " S S\R                  5      r\S:X  a  S SKr\R                  " \5        gg)    )annotationsNTc                      \ 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# r%S$ r&S% r'S& r(S' r)S(r*g))*Test   c                    g N selfs    S/home/james-whalen/.local/lib/python3.13/site-packages/music21/humdrum/questions.pyxtest001Test.xtest001           c                    g)zK
Align and display all the bass lines for all the variations concurrently.
Nr	   r
   s    r   xtest004Test.xtest004d        	r   c                    g)z4
Assemble syllables into words for some vocal text.
Nr	   r
   s    r   xtest011Test.xtest011   r   r   c                    g)a  
Calculate changes of listeners' heart-rate from physiological data.

We'll do something different from the Humdrum example which assumes you already
have the data in spines.  Let's suppose you have the data in a Google Spreadsheet
that has two columns: time and heart-rate.  We load the data in from the internet.
We then convert the heart-rate data
to a delta value (that is, the change since the last heart-rate measurement).
Next we add time data to each offset in our score; we then add an editorial attribute
of "heart-rate" to the note just preceding the heart-rate measurement.
We can then see if heart-rate is related to the dissonance level of the preceding
10 seconds.
Nr	   r
   s    r   xtest013Test.xtest013   s     	r   c                    g)z,
Calculate harmonic intervals in semitones.
Nr	   r
   s    r   test016Test.test016#  r   r   c                    g)z
Calculate melodic intervals not including intervals
between the last note of one phrase and the first note of the next phrase.
Nr	   r
   s    r   test017Test.test017)      
 	r   c                    g)zE
Calculate pitch-class sets for melodic passages segmented by rests.
Nr	   r
   s    r   test019Test.test0196  r   r   c                    g)zM
Calculate pitch-class sets for melodic passages segmented by slurs/phrases.
Nr	   r
   s    r   test020Test.test020<  r   r   c                    g)zU
Calculate the difference in duration between the recapitulation and the exposition.
Nr	   r
   s    r   test021Test.test021B  r   r   c                    g)z-
Calculate the interval vector for some set.
Nr	   r
   s    r   test022Test.test022H  r   r   c                    g)z)
Calculate the normal form for some set.
Nr	   r
   s    r   test023Test.test023N  r   r   c                    g)z(
Calculate the prime form for some set.
Nr	   r
   s    r   test024Test.test024T  r   r   c                    g)zT
Calculate the proportion of sonorities where both the oboe and bassoon are active.
Nr	   r
   s    r   test025Test.test025Z  r   r   c                    g)z/
Change all pizzicato marks to spiccato marks.
Nr	   r
   s    r   test026Test.test026`  r   r   c                    g)z>
Change all up-stems in measures 34 through 38 to down-stems.
Nr	   r
   s    r   test027Test.test027f  r   r   c                    g)z=
Classify cadences as either authentic, plagal or deceptive.
Nr	   r
   s    r   test028Test.test028l  r   r   c                    g)zN
Classify flute fingering transitions as either easy, moderate, or difficult.
Nr	   r
   s    r   test029Test.test029r  r   r   c                    g)zI
Classify phonemes in a vocal text as fricatives, nasals, plosives, etc.
Nr	   r
   s    r   test030Test.test030x  r   r   c                    g r   r	   r
   s    r   test031Test.test031~  r   r   c                    g r   r	   r
   s    r   test032Test.test032  r   r   c                    g r   r	   r
   s    r   test033Test.test033  r   r   c                    g r   r	   r
   s    r   test034Test.test034  r   r   c                    g)z\
Compare the average overall dynamic level between the
exposition and development sections.
Nr	   r
   s    r   test035Test.test035  r!   r   c                    g)zl
Compare the estimated keys for the 2nd theme in the
exposition versus the 2nd theme in the recapitulation.
Nr	   r
   s    r   test036Test.test036  r!   r   c                    g)zY
Compare the first phrase of the Exposition with
the first phrase of the Recapitulation.
Nr	   r
   s    r   test037Test.test037  r!   r   c                    g)zA
Compare the number of syllables in the first and second verses.
Nr	   r
   s    r   test038Test.test038  r   r   c                    g)z^
Contrast the sonorities that occur on the
first versus the third beats in a waltz repertory.
Nr	   r
   s    r   test039Test.test039  r!   r   c                    g)z5
Count how many measures contain at least one trill.
Nr	   r
   s    r   test040Test.test040  r   r   c                    g)ze
Count the number of ascending major sixth
intervals that occur in phrases that end on the dominant.
Nr	   r
   s    r   test041Test.test041  r!   r   c                    g)z)
Count the number of barlines in a work.
Nr	   r
   s    r   test042Test.test042  r   r   c                    g)z-
Count the number of closed-position chords.
Nr	   r
   s    r   test043Test.test043  r   r   c                    g)z8
Count the number of harmonic functions in each phrase.
Nr	   r
   s    r   test044Test.test044  r   r   c                    g)zM
Count the number of notes in a work that
belong to the same whole-tone set.
Nr	   r
   s    r   test045Test.test045  r!   r   c                    g)z0
Count the number of notes in measures 8 to 16.
Nr	   r
   s    r   test046Test.test046  r   r   c                    g)z.
Count the number of notes in the exposition.
Nr	   r
   s    r   test047Test.test047  r   r   c                    g)z)
Count the number of phrases in a score.
Nr	   r
   s    r   test048Test.test048  r   r   c                    g)zB
Count the number of phrases that begin on the subdominant pitch.
Nr	   r
   s    r   test049Test.test049  r   r   c                    g)z1
Count the number of phrases in the development.
Nr	   r
   s    r   test050Test.test050  r   r   r	   N)+__name__
__module____qualname____firstlineno__r   r   r   r   r   r   r#   r&   r)   r,   r/   r2   r5   r8   r;   r>   rA   rD   rG   rJ   rM   rP   rS   rV   rY   r\   r_   rb   re   rh   rk   rn   rq   rt   rw   rz   r}   r   __static_attributes__r	   r   r   r   r      s    dXNr   r   __main__)	
__future__r   unittest_DOC_IGNORE_MODULE_OR_PACKAGETestCaser   r   music21mainTestr	   r   r   <module>r      sF    "  $ ^8 ^b zT r   