Description Usage Arguments Details Value Note
Checks for exposed octaves within the outer voices of a chord transition.
1 | exposed_outer_octaves(contexts, continuation, reverse = FALSE)
|
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. The function is vectorized over this argument. |
continuation |
The second chord in the transition, represented as a numeric vector of MIDI note numbers, without duplicates, sorted in ascending order. |
reverse |
(Logical scalar)
Whether to reverse the computation so that
|
Exposed octaves, as defined here, occur when the chord transition reaches a chord with a (potentially compound) octave between the bass and treble voices that is approached by parallel motion and with both voices moving by more than two semitones.
A logical vector of the same length as contexts
,
with the ith element being
TRUE
if exposed octaves 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.