|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.charlesames.utility.common.Disposable
net.charlesames.utility.entity.Entity
net.charlesames.utility.entity.WriteableEntity
net.charlesames.music.ensemble.EnsembleEntity
net.charlesames.music.ensemble.TuningMap
public abstract class TuningMap
A TuningMap manages mappings between Degree instances and tunings expressed in cents.
| Nested Class Summary | |
|---|---|
static class |
TuningMap.Type
Tuning map options. |
| Nested classes/interfaces inherited from class net.charlesames.music.ensemble.EnsembleEntity |
|---|
EnsembleEntity.AttributeTable |
| Constructor Summary | |
|---|---|
TuningMap(Ensemble ensemble)
Constructor for TuningMap instances. |
|
| Method Summary | |
|---|---|
abstract int |
getCents(Degree degree)
Get the cents displacement from C natural for the indicated degree. |
int |
getCentsFromMiddleC(Pitch pitch)
Get the cents displacement from middle C for the indicated pitch. |
abstract TuningMap.Type |
getType()
Get the tuning map configuration. |
abstract void |
initialize()
Fill in a minimal set of tuning elements, assuming 12 equal divisions of the octave. |
| Methods inherited from class net.charlesames.music.ensemble.EnsembleEntity |
|---|
buildDescription, copyToClipboard, createIndentCell, createXmlSpec, describeFeature, equals, getContainer, getEnsemble, logError, predecessor, toString |
| Methods inherited from class net.charlesames.utility.entity.WriteableEntity |
|---|
check, clearXmlSpecs, createXmlSpec, getTagName, getXmlData, getXmlSpec, getXmlSpec, initializeXsd, isPersistent, logError, logError, makeDirty, putXmlData, save, setID, setName, setPersistent, setStatus, toXmlNode |
| Methods inherited from class net.charlesames.utility.entity.Entity |
|---|
decrementReferenceCount, dereferenceHandle, dispose, equals, getHandle, getID, getName, getPath, getReferenceCount, getStatus, getText, hasContainer, incrementReferenceCount, isModifiable, methodHasOverride, predecessor, resequenceEntities, setContainer, setModifiable, shiftEntitiesDown, shiftEntityDown, shiftEntityUp, successor, wipe |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TuningMap(Ensemble ensemble)
TuningMap instances.
ensemble - The Ensemble which contains this tuning map.| Method Detail |
|---|
public abstract TuningMap.Type getType()
public abstract int getCents(Degree degree)
degree - The indicated degree.
public final int getCentsFromMiddleC(Pitch pitch)
pitch - The indicated pitch.
public abstract void initialize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||