Package toxi.music.scale
Class GenericScale
java.lang.Object
toxi.music.scale.AbstractScale
toxi.music.scale.GenericScale
-
Field Summary
Fields inherited from class toxi.music.scale.AbstractScale
HALFTONE_STEP, INV_HALFTONE, OCTAVE_RANGE, tones
-
Constructor Summary
ConstructorDescriptionGenericScale
(String name, byte[] tones) GenericScale
(String name, int seed) Implements a scale based on a 12 bit integer value, where all 1 bits are used as possible tones for this scale. -
Method Summary
Methods inherited from class toxi.music.scale.AbstractScale
getName, getPitchForScaleTone, getPitchForScaleTone, getPitchForSemitone
-
Constructor Details
-
GenericScale
-
GenericScale
Implements a scale based on a 12 bit integer value, where all 1 bits are used as possible tones for this scale. This way any possible scale can be implemented and easily experimented with.- Parameters:
name
-seed
-
-