public class TwelveToneFunctionalRepresentation extends Object
Modifier and Type | Field and Description |
---|---|
protected FunctionalPitchModOctave[] |
pitches
The ways of writing for the pitch classes of the chromatic scale
ascending from "c".
|
static TwelveToneFunctionalRepresentation |
start_c_bees_only
One variant which uses only single flat=b symbols.
|
static TwelveToneFunctionalRepresentation |
start_c_cross_only
One variant which uses only single sharp=cross symbols.
|
Constructor and Description |
---|
TwelveToneFunctionalRepresentation(FunctionalPitchModOctave... pitches)
Only constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
init(FunctionalPitchModOctave[] pitches)
Check validitdy of argument and stores it.
|
FunctionalPitchModOctave |
represent(int i)
Return the representing pitch class for the i-th tone of the chromatic scale
ascending from "c".
|
FunctionalPitchModOctave |
rewrite(FunctionalPitchModOctave v)
Revrite a functional pitch class enharmonically, to fall into this representation list.
|
PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> |
rewrite(PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> v)
Revrite a functional pitch enharmonically, to fall into this representation list.
|
protected final FunctionalPitchModOctave[] pitches
public static final TwelveToneFunctionalRepresentation start_c_cross_only
public static final TwelveToneFunctionalRepresentation start_c_bees_only
public TwelveToneFunctionalRepresentation(FunctionalPitchModOctave... pitches)
protected void init(FunctionalPitchModOctave[] pitches)
public FunctionalPitchModOctave represent(int i)
public PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> rewrite(PitchAndOctave<OctaveRegister,FunctionalPitchModOctave> v)
public FunctionalPitchModOctave rewrite(FunctionalPitchModOctave v)