ONLY-SPECTRUM-PITCHES

[FUNCTION]


Cluster-Rules
Function Reference
ARGUMENTS:
&key
 
  - voices    
  - input-mode    
  - gracenotes?    
  - rule-type    
  - weight    
  - chord-voice    

Description:

Pitches in the given voice must be a member of the underlying spectrum (its absolute pitches). The spectrum is represented as a simultaneous chord in another voice (voice 1 by default).

Args:
voices (int or list of ints): the voice(s) to which this constraint is applied.

Optional args:
spectrum-voice (int, default 1): the voice representing the underlying spectra (quasi underlying harmony).

Other arguments are inherited from r-pitch-pitch. For example, it is possible to control whether this constraint should be applied to all notes, or only specific notes (input-mode). By default, it is applied to notes starting on a beat.

This rule is very similar to only-chord-PCs, but instead of pitch classes absolute pitches are constrained to the pitches of the given spectrum (quasi chord).



Auto doc generation by OpenMusic 7.4 © 2024 IRCAM