Description Usage Arguments Note
Defines and returns a voicer
feature, suitable for passing
to the features
argument of voice_opt
,
that computes the extent to which a chord spans
above a predefined pitch height specified in the
top
argument, in semitones.
If the chord does not span above top
,
then the function returns 0
.
The resulting function takes one argument, x
,
corresponding to a chord represented as a numeric vector
of MIDI note numbers, without duplicates,
sorted in ascending order.
1 | dist_above_top(top)
|
top |
(Numeric scalar) The pitch height to which the chord is compared, specified as a MIDI note number where 60 corresponds to middle C. |
The resulting function is not vectorized.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.