Description Usage Arguments Details Value
View source: R/voice-pi-chord.R
Lists all the possible voicings for an object of class
pi_chord
.
1 2 3 | all_voicings_pi_chord(x, min_octave, max_octave, dbl_change, min_notes,
max_notes, fix_melody = NA_integer_, fix_content = integer(),
fix_chord = NULL)
|
x |
Object to voice. |
min_octave |
See |
max_octave |
See |
dbl_change |
See |
min_notes |
See |
max_notes |
See |
fix_melody |
(Numeric scalar) Determines the MIDI pitch for the melody (i.e. the top note of the voicing). If NA, no constraint is applied. |
fix_content |
(Numeric vector) Specifies a set of MIDI pitches that must be contained in the voicing. |
fix_chord |
(NULL or numeric vector) If not NULL, the function returns just one voicing with the MIDI pitches specified in this vector. |
By default, these voicings preserve the chord's bass pitch class.
To include all possible inversions,
transform the chord first to an object of class
pc_set
and then call
all_voicings_pc_set
.
By setting dbl_change
to TRUE
,
it is possible to preserve the pitch-class doublings
in the original chord.
A list of possible voicings.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.