Difference between revisions of "Humdrum lab 8"

From CCARH Wiki
Jump to: navigation, search
(Which files contain parallel octaves?)
(Looking at the rule violations in VHV)
Line 86: Line 86:
  
 
[[File:paralleloctave.png|center|600px]]
 
[[File:paralleloctave.png|center|600px]]
 +
 +
 +
Is a parallel octave at a phrase boundary a rule violation?
 +
 +
 +
=== Piece with the most voice crossings ===
 +
 +
chorck -wfr 7 *.krn | sed 's/.*(//; s/)//' | sortcount | head -n 10
 +
298 chor043.krn
 +
14 chor056.krn
 +
14 chor283.krn
 +
11 chor259.krn
 +
9 chor358.krn
 +
8 chor325.krn
 +
7 chor284.krn
 +
7 chor290.krn
 +
7 chor049.krn
 +
6 chor311.krn
 +
 +
    chorck -r 7 chor043.krn | pbcopy
 +
 +
[[File:voicecrossings.png|center|600px]]
  
 
== cint ==
 
== cint ==

Revision as of 18:37, 15 May 2018


1 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.

1.1 How many times does Bach violate the rules?

   chorck chor*.krn -w | wc -l

1.2 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

1.3 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


1.4 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)


1.5 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?


1.6 Piece with the most voice crossings

chorck -wfr 7 *.krn | sed 's/.*(//; s/)//' | sortcount | head -n 10
298	chor043.krn
14	chor056.krn
14	chor283.krn
11	chor259.krn
9	chor358.krn
8	chor325.krn
7	chor284.krn
7	chor290.krn
7	chor049.krn
6	chor311.krn
   chorck -r 7 chor043.krn | pbcopy

2 cint

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


2.1 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