Difference between revisions of "Humdrum lab 8"

From CCARH Wiki
Jump to navigation Jump to search
Line 93: Line 93:
 
== cint ==
 
== cint ==
  
cint is a tool that extract counterpoint modules from polyphonic music.
+
cint is a tool that extract counterpoint modules from polyphonic music. [http://extras.humdrum.org/man/cint documentation for cint]
 +
 
 +
It is a generalized tool related to chorck, which is a specialized tool.
  
  

Revision as of 18:40, 15 May 2018


chorck

Chorck is a Humdrum Extras tool for checking the part-writing syntax of chorales. documentation for the chork tool

Eight syntax rules are checked by the program, as defined in the music-theory textbook: . Tonal Harmony with an Introduction to Twentieth-Century Music by Stefan Kostka and Dorthy Payne:

  1. Parallel 5ths between two voices when moving to different pitch classes.
  2. Parallel Octaves between two voices when moving to different pitch classes.
  3. Contrary parallel 5ths -- when two voices move in parallel 5ths displaced by an octave. (such as an octave and a fifth going to a fifth)
  4. Unequal 5ths -- when the bass part and another voice move from dim 5ths to perfect 5ths or vice versa.
  5. Hidden 5ths -- when the soprano moves in similar motion with another voice and the soprano leaps to a perfect 5th with that voice.
  6. Hidden 8va -- when the soprano moves in similar motion with another voice and the soprano leaps to a perfect octave with that voice.
  7. Voice crossing -- when an inner voice goes above the soprano voice or below the bass voice.
  8. Open spacing -- when the interval between successive voices other than the bass exceeds an octave.

How many times does Bach violate the rules?

   chorck chor*.krn -w | wc -l

List of the rule violations by type

   chorck *.krn -w  | sed 's/between.*//' | sortcount
   647	7. Voice crossing
   491	5. Hidden 5th
   441	8. Open spacing
   243	6. Hidden octave
   93	4. Unequal 5th
   61	3. Contrary parallel 5th
   36	1. Parallel 5th
   6  	2. Parallel octave

List of the rule violations by voice pairs

chorck *.krn -w  | sed 's/on line.*//' | sortcount

338	8. Open spacing between alto and tenor
329	7. Voice crossing between tenor and bass
202	5. Hidden 5th between soprano and alto
191	5. Hidden 5th between soprano and tenor
174	6. Hidden octave between soprano and tenor
156	7. Voice crossing between soprano and alto
103	8. Open spacing between soprano and alto
98	5. Hidden 5th between soprano and bass
84	7. Voice crossing between alto and bass
78	7. Voice crossing between soprano and tenor
46	6. Hidden octave between soprano and bass
37	4. Unequal 5th between bass and soprano
32	4. Unequal 5th between bass and alto
24	4. Unequal 5th between bass and tenor
23	6. Hidden octave between soprano and alto
19	3. Contrary parallel 5th between bass and alto
18	3. Contrary parallel 5th between tenor and soprano
14	1. Parallel 5th between tenor and soprano
12	1. Parallel 5th between tenor and alto
11	3. Contrary parallel 5th between bass and tenor
7	3. Contrary parallel 5th between bass and soprano
6	3. Contrary parallel 5th between tenor and alto
4	1. Parallel 5th between bass and soprano
3	1. Parallel 5th between bass and tenor
3	2. Parallel octave between bass and alto
2	2. Parallel octave between bass and tenor 
2	1. Parallel 5th between bass and alto
1	2. Parallel octave between tenor and soprano
1	1. Parallel 5th between alto and soprano


Which files contain parallel octaves?

chorck -wfr 2  chor*.krn
2. Parallel octave between bass and tenor on line 57 (chor078.krn)
2. Parallel octave between bass and tenor on line 52 (chor114.krn)
2. Parallel octave between bass and alto on line 65 (chor164.krn)
2. Parallel octave between bass and alto on line 94 (chor226.krn)
2. Parallel octave between tenor and soprano on line 34 (chor270.krn)
2. Parallel octave between bass and alto on line 45 (chor334.krn)


Looking at the rule violations in VHV

    chorck -r 2 chor078.krn | pbcopy

Then paste into VHV:

Paralleloctave.png


Is a parallel octave at a phrase boundary a rule violation?


cint

cint is a tool that extract counterpoint modules from polyphonic music. documentation for cint

It is a generalized tool related to chorck, which is a specialized tool.


parallel thirds

The three-interval counterpoint module for stepwise rising parallel thirds is "3 2 3". this can be done as a filter in VHV:

  !!!filter: cint -O --search "3 2 3"

The -O option collapses intervals greater than an octave to less than an octave, such as 10th (an octave plus a 3rd) being transposed to 3rds.

Risingthirds.png