Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## toxi.music.scale
Class GenericScale

    java.lang.Object
      toxi.music.scale.AbstractScale
          toxi.music.scale.GenericScale

    public class GenericScale

extends AbstractScale

Field Summary

Fields inherited from class toxi.music.scale.AbstractScale
`HALFTONE_STEP, INV_HALFTONE, OCTAVE_RANGE, tones`

Constructor Summary
`GenericScale(java.lang.String name, byte[] tones)`
`GenericScale(java.lang.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`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### GenericScale

    public GenericScale(java.lang.String name,
                        byte[] tones)

### GenericScale

    public GenericScale(java.lang.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. This way any possible scale can be implemented and easily experimented with.

  Parameters:
    `name` -
    `seed` -

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD