Description Usage Arguments Value Note References
Checks for parallel octaves or fifths
within a chord transition.
Voice parts are inferred using the minimal voice-leading distance algorithm
of \insertCiteTymoczko2006;textualvoicer
as implemented in the minVL
package (see min_vl
).
1 | any_parallels(contexts, continuation)
|
contexts |
A list of chords corresponding to the first chord
in the transition.
Each chord should be represented as a numeric vector
of MIDI note numbers, without duplicates,
sorted in ascending order.
|
continuation |
The second chord in the transition, represented as a numeric vector of MIDI note numbers, without duplicates, sorted in ascending order. |
A logical vector of the same length as contexts
,
with the ith element being
TRUE
if parallel octaves or fifths are found
between the ith element of contexts
and
continuation
, and FALSE
otherwise.
This is a voicer
feature suitable for passing
to the features
argument of voice_opt
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.