Skip to main content

Module chorales

Module chorales 

Source
Expand description

Bach’s chorales by their numbers in each catalogue: music21’s corpus.chorales.ChoraleList and ChoraleListRKBWV.

Two lists, as music21 has them. The first, from Wikipedia’s list of chorale harmonisations (CC BY-SA), numbers BWV 250-438 in the Kalmus, Bärenreiter, Budapest and Riemenschneider catalogues. The second, from Margaret Greentree’s jsbchorales.net, covers every chorale in the corpus but only by Riemenschneider, BWV and Kalmus number. Both are kept in src/corpus/chorales/ as music21 writes them.

Structs§

Chorale
A chorale of BWV 250-438, numbered in every catalogue.
CorpusChorale
A chorale of the corpus by its Riemenschneider, BWV and Kalmus numbers.

Functions§

bwv_sort_key
A BWV number as a number to sort by: music21’s Iterator._bwvSort. A hyphen becomes a decimal point or a zero, and a letter its place counted from a as 10, so 69.6-a sorts as 69.6010.
chorales
The chorales of BWV 250-438, in the list’s order.
corpus_chorales
The corpus’s chorales, by Riemenschneider number in the list’s order.