all_voicings_pc_set: All voicings (pitch-class set)

Description Usage Arguments Value

View source: R/voice-pc-set.R

Description

Lists all the possible voicings for an object of class pc_set.

Usage

1
2
3
all_voicings_pc_set(x, min_octave, max_octave, dbl_change, min_notes,
  max_notes, fix_melody = NA_integer_, fix_content = integer(),
  fix_chord = NULL)

Arguments

x

Pitch-class set to voice.

min_octave

See voice_opt.

max_octave

See voice_opt.

dbl_change

See voice_opt.

min_notes

See voice_opt.

max_notes

See voice_opt.

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.

Value

A list of possible voicings.


pmcharrison/voicer documentation built on Dec. 17, 2020, 1:09 p.m.