diff --git a/docs/allclasses-frame.html b/docs/allclasses-frame.html index 8c3d23f4..c02c199f 100644 --- a/docs/allclasses-frame.html +++ b/docs/allclasses-frame.html @@ -2,9 +2,9 @@
- +public static final java.lang.String
version
"0.8.17"
"0.8.19"
Mpm()
-boolean
addMetadata(Author author,
- java.lang.String comment)
+addMetadata(Author author,
+ Comment comment,
+ java.util.Collection<RelatedResource> relatedResources)
void
boolean
addPerformance(Performance performance)
static Mpm
createMpm()
-public Mpm()-
public static Mpm createMpm()-
public boolean addMetadata(Author author, - java.lang.String comment)+ Comment comment, + java.util.Collection<RelatedResource> relatedResources)
author
- an Author object or nullcomment
- a string or nullcomment
- a Comment object or nullpublic void addPerformance(Performance performance)+
public boolean addPerformance(Performance performance)
performance
- static Mpm
createMpm()
-void
clear()
+static Dated
createDated()
static Dated
createDated(nu.xom.Element xml)
java.util.HashMap<java.lang.String,GenericMap>
getAllMaps()
Global
getGlobal()
GenericMap
getMap(java.lang.String type)
Part
getPart()
protected void
parseData(nu.xom.Element xml)
void
removeMap(java.lang.String type)
protected void
setEnvironment(Global global,
Part part)
@@ -470,6 +476,16 @@ public void clear()+
void
clear()
+static Header
createHeader()
static Header
createHeader(nu.xom.Element xml)
java.util.HashMap<java.lang.String,GenericStyle>
getAllStyleDefs(java.lang.String type)
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,GenericStyle>>
getAllStyleTypes()
GenericStyle
getStyleDef(java.lang.String type,
java.lang.String name)
protected void
parseData(nu.xom.Element xml)
void
removeStyleDef(java.lang.String type,
java.lang.String name)
void
removeStyleType(java.lang.String type)
GenericStyle
renameStyleDef(java.lang.String type,
+ java.lang.String currentName,
+ java.lang.String newName)
+private java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,GenericStyle>> styleDefs+
private final java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,GenericStyle>> styleDefs
type
- the local name of the type, e.g. "tempoStyles" or "articulationStyles"type
- the local name of the type, e.g. "tempoStyles" or "articulationStyles", use the constants in Mpm (e.g. Mpm.ARTICULATION_STYLE)public void removeStyleDef(java.lang.String type, @@ -539,6 +553,36 @@removeStyleDef
public GenericStyle renameStyleDef(java.lang.String type, + java.lang.String currentName, + java.lang.String newName)+
type
- currentName
- newName
- public void clear()+
header
private nu.xom.Attribute
id
private int
midiChannel
private int
midiPort
private nu.xom.Attribute
name
private int
number
static Part
createPart(java.lang.String name,
+ int number,
+ int midiChannel,
+ int midiPort,
+ java.lang.String id)
+Dated
getDated()
Global
getGlobal()
Header
getHeader()
java.lang.String
getId()
+int
getMidiChannel()
int
getMidiPort()
java.lang.String
getName()
int
getNumber()
protected void
parseData(nu.xom.Element xml)
void
setGlobal(Global global)
void
setId(java.lang.String id)
+void
setMidiChannel(int midiChannel)
void
setMidiPort(int midiPort)
void
setName(java.lang.String name)
void
setNumber(int number)
private int midiPort
private nu.xom.Attribute id+
public static Part createPart(java.lang.String name, + int number, + int midiChannel, + int midiPort, + java.lang.String id)+
name
- the name of the part, can be "" (empty string)number
- midiChannel
- midiPort
- id
- public Global getGlobal()@@ -669,6 +727,34 @@
public void setId(java.lang.String id)+
id
- a xml:id string or nullpublic java.lang.String getId()+
private nu.xom.Attribute
name
id
private nu.xom.Attribute
name
private java.util.ArrayList<Part>
parts
private int
pulsesPerQuarter
void
boolean
addPart(Part part)
static Performance
createPerformance(java.lang.String name,
+ int pulsesPerQuarter)
+static Performance
createPerformance(java.lang.String name,
+ int pulsesPerQuarter,
+ java.lang.String id)
+java.util.ArrayList<Part>
getAllParts()
Global
getGlobal()
java.lang.String
getId()
+java.lang.String
getName()
Part
getPart(int number)
Part
getPart(int midiChannel,
int midiPort)
@@ -257,81 +282,87 @@ Part
getPart(java.lang.String name)
int
getPPQ()
int
getPulsesPerQuarter()
protected void
parseData(nu.xom.Element xml)
Msm
perform(Midi midi)
Msm
perform(Msm msm)
void
removePart(int number)
void
removePart(Part part)
void
removePart(java.lang.String name)
void
setId(java.lang.String id)
+void
setName(java.lang.String name)
void
setPPQ(int ppq)
void
setPulsesPerQuarter(int ppq)
int
size()
private java.util.ArrayList<Part> parts
private nu.xom.Attribute id+
public static Performance createPerformance(java.lang.String name, + int pulsesPerQuarter)+
name
- the name of the performancepulsesPerQuarter
- public static Performance createPerformance(java.lang.String name, + int pulsesPerQuarter, + java.lang.String id)+
name
- the name of the performancepulsesPerQuarter
- id
- public void addPart(Part part)+
public boolean addPart(Part part)
part
- private static GenericMap addMsmMapToList(java.lang.String mapName, @@ -783,6 +861,34 @@addMsmMapToList
public void setId(java.lang.String id)+
id
- a xml:id string or nullpublic java.lang.String getId()+
private Dated
dated
dated
private Dated
dated
dated
Dated
getDated()
+getDated()
Dated
getDated()
+getDated()
private Global
global
global
private Global
global
global
private Global
global
global
Global
getGlobal()
-getGlobal()
+Global
getGlobal()
-getGlobal()
+Global
getGlobal()
-getGlobal()
+private Header
header
header
private Header
header
header
Header
getHeader()
+getHeader()
Header
getHeader()
+getHeader()
static Part
createPart(java.lang.String name,
+ int number,
+ int midiChannel,
+ int midiPort,
+ java.lang.String id)
+Part
getPart()
Part
getPart(int number)
Part
getPart(int midiChannel,
int midiPort)
@@ -163,7 +173,7 @@ Part
getPart(java.lang.String name)
void
boolean
addPart(Part part)
void
boolean
addPerformance(Performance performance)
static Performance
createPerformance(java.lang.String name,
+ int pulsesPerQuarter)
+static Performance
createPerformance(java.lang.String name,
+ int pulsesPerQuarter,
+ java.lang.String id)
+int
addComment(java.lang.String comment)
+addComment(Comment comment)
static Metadata
createMetadata(Author author,
- java.lang.String comment)
+createMetadata(Author author,
+ Comment comment,
+ java.util.Collection<RelatedResource> relatedResources)
static Metadata
createMetadata(nu.xom.Element xml)
-createMetadata(java.util.Collection<RelatedResource> relatedResources)
+static Metadata
createMetadata(java.lang.String comment)
+createMetadata(Comment comment)
static Metadata
createMetadata(nu.xom.Element xml)
+Author
getAuthor(int index)
java.util.ArrayList<Author>
getAuthor(java.lang.String name)
java.util.ArrayList<Author>
getAuthors()
java.lang.String
Comment
getComment(int index)
java.util.ArrayList<nu.xom.Element>
java.util.ArrayList<Comment>
getComments()
RelatedResource
getRelatedResource(int index)
java.util.ArrayList<RelatedResource>
getRelatedResources()
protected void
parseData(nu.xom.Element xml)
void
removeAuthor(Author author)
+void
removeAuthor(java.lang.String name)
void
removeComment(Comment comment)
+void
removeComment(int index)
void
removeRelatedResource(int index)
void
removeRelatedResource(RelatedResource relatedResource)
private java.util.ArrayList<Author> authors+
private final java.util.ArrayList<Author> authors
private java.util.ArrayList<nu.xom.Element> comments+
private final java.util.ArrayList<Comment> comments
private java.util.ArrayList<RelatedResource> relatedResources+
private final java.util.ArrayList<RelatedResource> relatedResources
private Metadata(Author author, - java.lang.String comment) + Comment comment, + java.util.Collection<RelatedResource> relatedResources) throws java.lang.Exception
author
- an Author object or nullcomment
- a String or nullrelatedResources
- java.lang.Exception
public static Metadata createMetadata(java.lang.String comment)+
public static Metadata createMetadata(Comment comment)
public static Metadata createMetadata(java.util.Collection<RelatedResource> relatedResources)+
relatedResources
- public static Metadata createMetadata(Author author, - java.lang.String comment)+ Comment comment, + java.util.Collection<RelatedResource> relatedResources)
author
- comment
- relatedResources
- author
- public void removeAuthor(Author author)+
author
- public int addComment(java.lang.String comment)+
public int addComment(Comment comment)
comment
- public java.util.ArrayList<nu.xom.Element> getComments()+
public java.util.ArrayList<Comment> getComments()
public java.lang.String getComment(int index)+
public Comment getComment(int index)
public void removeComment(Comment comment)+
comment
- relatedResource
- Modifier and Type | +Method and Description | +
---|---|
boolean |
+Mpm.addMetadata(Author author,
+ Comment comment,
+ java.util.Collection<RelatedResource> relatedResources)
+add metadata to the MPM
+ |
+
static Metadata
createMetadata(Author author,
+ Comment comment,
+ java.util.Collection<RelatedResource> relatedResources)
+static Metadata
createMetadata(java.util.Collection<RelatedResource> relatedResources)
+Constructor and Description | +
---|
Metadata(Author author,
+ Comment comment,
+ java.util.Collection<RelatedResource> relatedResources)
+this constructor creates a new Metadata object from an author and/or comment
+ |
+
public class ArticulationStyle -extends GenericStyle+extends GenericStyle<ArticulationDef>
Modifier and Type | -Field and Description | -
---|---|
private java.util.HashMap<java.lang.String,ArticulationDef> |
-articulationDefs |
-
defs, id
void
addArticulationDef(ArticulationDef articulationDef)
-static ArticulationStyle
createArticulationStyle(nu.xom.Element xml)
+static ArticulationStyle
createArticulationStyle(nu.xom.Element xml)
+createArticulationStyle(java.lang.String name)
static ArticulationStyle
createArticulationStyle(java.lang.String name)
+createArticulationStyle(java.lang.String name,
+ java.lang.String id)
java.util.HashMap<java.lang.String,ArticulationDef>
getAllArticulationDefs()
-ArticulationDef
getArticulationDef(java.lang.String name)
-boolean
isEmpty()
-protected void
parseData(nu.xom.Element xml)
void
removeArticulationDef(java.lang.String name)
-int
size()
-createGenericStyle, createGenericStyle, getName, setName
addDef, createGenericStyle, createGenericStyle, createGenericStyle, getAllDefs, getDef, getId, getName, isEmpty, removeDef, setId, setName, size
private java.util.HashMap<java.lang.String,ArticulationDef> articulationDefs-
public static ArticulationStyle createArticulationStyle(java.lang.String name, + java.lang.String id)+
name
- id
- protected void parseData(nu.xom.Element xml) @@ -382,7 +349,7 @@parseData
set the data of this object, this parses the xml element and generates the according data structure
parseData
in class GenericStyle
parseData
in class GenericStyle<ArticulationDef>
xml
- public java.util.HashMap<java.lang.String,ArticulationDef> getAllArticulationDefs()-
public ArticulationDef getArticulationDef(java.lang.String name)-
name
- public void addArticulationDef(ArticulationDef articulationDef)-
articulationDef
- the ArticulationDef instance to be added, if there is already one with this name, it is replacedpublic void removeArticulationDef(java.lang.String name)-
name
- public int size()-
public boolean isEmpty()-
public class DynamicsStyle -extends GenericStyle+extends GenericStyle<DynamicsDef>
Modifier and Type | -Field and Description | -
---|---|
private java.util.HashMap<java.lang.String,DynamicsDef> |
-dynamicsDefs |
-
defs, id
void
addDynamicsDef(DynamicsDef dynamicsDef)
-static DynamicsStyle
createDynamicsStyle(nu.xom.Element xml)
+static DynamicsStyle
createDynamicsStyle(nu.xom.Element xml)
+createDynamicsStyle(java.lang.String name)
static DynamicsStyle
createDynamicsStyle(java.lang.String name)
+createDynamicsStyle(java.lang.String name,
+ java.lang.String id)
java.util.HashMap<java.lang.String,DynamicsDef>
getAllDynamicsDefs()
-DynamicsDef
getDynamicsDef(java.lang.String name)
-double
getNumericValue(java.lang.String dynamicsString)
static double
getNumericValue(java.lang.String dynamicsString,
DynamicsStyle style)
boolean
isEmpty()
-protected void
parseData(nu.xom.Element xml)
void
removeDynamicsDef(java.lang.String name)
-int
size()
-createGenericStyle, createGenericStyle, getName, setName
addDef, createGenericStyle, createGenericStyle, createGenericStyle, getAllDefs, getDef, getId, getName, isEmpty, removeDef, setId, setName, size
private java.util.HashMap<java.lang.String,DynamicsDef> dynamicsDefs-
public static DynamicsStyle createDynamicsStyle(java.lang.String name, + java.lang.String id)+
name
- id
- parseData
in class GenericStyle
parseData
in class GenericStyle<DynamicsDef>
xml
- public static double getNumericValue(java.lang.String dynamicsString, @@ -437,88 +404,6 @@getNumericValue
public java.util.HashMap<java.lang.String,DynamicsDef> getAllDynamicsDefs()-
public DynamicsDef getDynamicsDef(java.lang.String name)-
name
- public void addDynamicsDef(DynamicsDef dynamicsDef)-
dynamicsDef
- the DynamicsDef instance to be added, if there is already one with this name, it is replacedpublic void removeDynamicsDef(java.lang.String name)-
name
- public int size()-
public boolean isEmpty()-
public class GenericStyle +public class GenericStyle<E extends AbstractDef> extends AbstractXmlSubtreeThis class interfaces MPM styleDef elements.
protected java.util.HashMap<java.lang.String,E>
defs
protected nu.xom.Attribute
id
private nu.xom.Attribute
name
void
addDef(E def)
+static GenericStyle
createGenericStyle(nu.xom.Element xml)
static GenericStyle
createGenericStyle(java.lang.String name)
static GenericStyle
createGenericStyle(java.lang.String name,
+ java.lang.String id)
+java.util.HashMap<java.lang.String,E>
getAllDefs()
+E
getDef(java.lang.String name)
+java.lang.String
getId()
+java.lang.String
getName()
boolean
isEmpty()
+protected void
parseData(nu.xom.Element xml)
void
removeDef(java.lang.String name)
+void
setId(java.lang.String id)
+protected void
setName(java.lang.String name)
int
size()
+private nu.xom.Attribute name
protected nu.xom.Attribute id+
protected java.util.HashMap<java.lang.String,E extends AbstractDef> defs+
public static GenericStyle createGenericStyle(java.lang.String name, + java.lang.String id)+
name
- id
- protected void setName(java.lang.String name)@@ -383,6 +481,118 @@
public void setId(java.lang.String id)+
id
- a xml:id string or nullpublic java.lang.String getId()+
public java.util.HashMap<java.lang.String,E> getAllDefs()+
public E getDef(java.lang.String name)+
name
- public void addDef(E def)+
def
- the ...Def instance to be added, if there is already one with this name, it is replacedpublic void removeDef(java.lang.String name)+
name
- public int size()+
public boolean isEmpty()+
public class MetricalAccentuationStyle -extends GenericStyle+extends GenericStyle<AccentuationPatternDef>
Modifier and Type | -Field and Description | -
---|---|
private java.util.HashMap<java.lang.String,AccentuationPatternDef> |
-accentuationPatternDefs |
-
defs, id
void
addAccentuationPatternDef(AccentuationPatternDef accentuationPatternDef)
-static MetricalAccentuationStyle
createMetricalAccentuationStyle(nu.xom.Element xml)
+static MetricalAccentuationStyle
createMetricalAccentuationStyle(nu.xom.Element xml)
+createMetricalAccentuationStyle(java.lang.String name)
static MetricalAccentuationStyle
createMetricalAccentuationStyle(java.lang.String name)
+createMetricalAccentuationStyle(java.lang.String name,
+ java.lang.String id)
AccentuationPatternDef
getAccentuationPatternDef(java.lang.String name)
-java.util.HashMap<java.lang.String,AccentuationPatternDef>
getAllAccentuationPatternDefs()
-boolean
isEmpty()
-protected void
parseData(nu.xom.Element xml)
void
removeAccentuationPatternDef(java.lang.String name)
-int
size()
-createGenericStyle, createGenericStyle, getName, setName
addDef, createGenericStyle, createGenericStyle, createGenericStyle, getAllDefs, getDef, getId, getName, isEmpty, removeDef, setId, setName, size
private java.util.HashMap<java.lang.String,AccentuationPatternDef> accentuationPatternDefs-
public static MetricalAccentuationStyle createMetricalAccentuationStyle(java.lang.String name, + java.lang.String id)+
name
- id
- protected void parseData(nu.xom.Element xml) @@ -382,7 +349,7 @@parseData
set the data of this object, this parses the xml element and generates the according data structure
parseData
in class GenericStyle
parseData
in class GenericStyle<AccentuationPatternDef>
xml
- public java.util.HashMap<java.lang.String,AccentuationPatternDef> getAllAccentuationPatternDefs()-
public AccentuationPatternDef getAccentuationPatternDef(java.lang.String name)-
name
- public void addAccentuationPatternDef(AccentuationPatternDef accentuationPatternDef)-
accentuationPatternDef
- the AccentuationPatternDef instance to be added, if there is already one with this name, it is replacedpublic void removeAccentuationPatternDef(java.lang.String name)-
name
- public int size()-
public boolean isEmpty()-
public class RubatoStyle -extends GenericStyle+extends GenericStyle<RubatoDef>
Modifier and Type | -Field and Description | -
---|---|
private java.util.HashMap<java.lang.String,RubatoDef> |
-rubatoDefs |
-
defs, id
void
addRubatoDef(RubatoDef rubatoDef)
-static RubatoStyle
createRubatoStyle(nu.xom.Element xml)
+static RubatoStyle
createRubatoStyle(nu.xom.Element xml)
+createRubatoStyle(java.lang.String name)
static RubatoStyle
createRubatoStyle(java.lang.String name)
+createRubatoStyle(java.lang.String name,
+ java.lang.String id)
java.util.HashMap<java.lang.String,RubatoDef>
getAllRubatoDefs()
-RubatoDef
getRubatoDef(java.lang.String name)
-boolean
isEmpty()
-protected void
parseData(nu.xom.Element xml)
void
removeRubatoDef(java.lang.String name)
-int
size()
-createGenericStyle, createGenericStyle, getName, setName
addDef, createGenericStyle, createGenericStyle, createGenericStyle, getAllDefs, getDef, getId, getName, isEmpty, removeDef, setId, setName, size
private java.util.HashMap<java.lang.String,RubatoDef> rubatoDefs-
public static RubatoStyle createRubatoStyle(java.lang.String name, + java.lang.String id)+
name
- id
- protected void parseData(nu.xom.Element xml) @@ -382,7 +349,7 @@parseData
set the data of this object, this parses the xml element and generates the according data structure
parseData
in class GenericStyle
parseData
in class GenericStyle<RubatoDef>
xml
- public java.util.HashMap<java.lang.String,RubatoDef> getAllRubatoDefs()-
public RubatoDef getRubatoDef(java.lang.String name)-
name
- public void addRubatoDef(RubatoDef rubatoDef)-
rubatoDef
- the RubatoDef instance to be added, if there is already one with this name, it is replacedpublic void removeRubatoDef(java.lang.String name)-
name
- public int size()-
public boolean isEmpty()-
public class TempoStyle -extends GenericStyle+extends GenericStyle<TempoDef>
Modifier and Type | -Field and Description | -
---|---|
private java.util.HashMap<java.lang.String,TempoDef> |
-tempoDefs |
-
defs, id
void
addTempoDef(TempoDef tempoDef)
-static TempoStyle
createTempoStyle(nu.xom.Element xml)
+static TempoStyle
createTempoStyle(nu.xom.Element xml)
+createTempoStyle(java.lang.String name)
static TempoStyle
createTempoStyle(java.lang.String name)
+createTempoStyle(java.lang.String name,
+ java.lang.String id)
java.util.HashMap<java.lang.String,TempoDef>
getAllTempoDefs()
-double
getNumericBpmValue(java.lang.String tempoString)
static double
getNumericBpmValue(java.lang.String tempoString,
TempoStyle style)
TempoDef
getTempoDef(java.lang.String name)
-boolean
isEmpty()
-void
parseData(nu.xom.Element xml)
void
removeTempoDef(java.lang.String name)
-int
size()
-createGenericStyle, createGenericStyle, getName, setName
addDef, createGenericStyle, createGenericStyle, createGenericStyle, getAllDefs, getDef, getId, getName, isEmpty, removeDef, setId, setName, size
private java.util.HashMap<java.lang.String,TempoDef> tempoDefs-
public static TempoStyle createTempoStyle(java.lang.String name, + java.lang.String id)+
name
- id
- parseData
in class GenericStyle
parseData
in class GenericStyle<TempoDef>
xml
- public static double getNumericBpmValue(java.lang.String tempoString, @@ -437,88 +404,6 @@getNumericBpmValue
public java.util.HashMap<java.lang.String,TempoDef> getAllTempoDefs()-
public TempoDef getTempoDef(java.lang.String name)-
name
- public void addTempoDef(TempoDef tempoDef)-
tempoDef
- the TempoDef instance to be added, if there is already one with this name, it is replacedpublic void removeTempoDef(java.lang.String name)-
name
- public int size()-
public boolean isEmpty()-
static ArticulationStyle
createArticulationStyle(java.lang.String name,
+ java.lang.String id)
+static DynamicsStyle
createDynamicsStyle(java.lang.String name,
+ java.lang.String id)
+GenericStyle |
+Header.renameStyleDef(java.lang.String type,
+ java.lang.String currentName,
+ java.lang.String newName)
+Rename a styleDef.
+ |
+
static GenericStyle |
+GenericStyle.createGenericStyle(java.lang.String name,
+ java.lang.String id)
+GenericStyle factory
+ |
+
static MetricalAccentuationStyle
createMetricalAccentuationStyle(java.lang.String name,
+ java.lang.String id)
+static RubatoStyle
createRubatoStyle(java.lang.String name,
+ java.lang.String id)
+static TempoStyle
createTempoStyle(java.lang.String name,
+ java.lang.String id)
+Field and Description | ||
---|---|---|
private nu.xom.Attribute |
+id |
+|
protected nu.xom.Attribute |
name |
|
java.lang.String |
+getId()
+get the part's id
+ |
+|
java.lang.String |
getName()
get the name of the rubatoDef
|
|
protected void |
+parseData(nu.xom.Element xml)
+set the data of this object, this parses the xml element and generates the according data structure
+ |
+|
void |
+setId(java.lang.String id)
+set the part's id
+ |
+|
protected void |
setName(java.lang.String name)
set the name of the rubatoDef
@@ -197,7 +219,7 @@ Method SummaryMethods inherited from class meico.xml.AbstractXmlSubtree-getXml, parseData, setXml, toXml
+getXml, setXml, toXml
AbstractDefMethod Detail+ + + +
getName-
Method Summary | |
int |
+addAccentuation(double beat,
+ double value,
+ double transitionFrom,
+ double transitionTo,
+ java.lang.String id)
+create and add an accentuation to this accentuationPatternDef
+ |
+|
int |
addAccentuation(nu.xom.Element xml)
add a given xml representation of an MPM accentuation element to this accentuationPatternDef
|
|
private int |
addAccentuationToArrayList(double[] accentuation,
nu.xom.Element xml)
add the accentuation at the right beat position (the xml can be unsorted, this.accentuations should be sorted)
|
|
static AccentuationPatternDef |
createAccentuationPatternDef(nu.xom.Element xml)
AcctentuationPatternDef factory
|
|
static AccentuationPatternDef |
createAccentuationPatternDef(java.lang.String name,
double length)
AcctentuationPatternDef factory
|
|
static AccentuationPatternDef |
+createAccentuationPatternDef(java.lang.String name,
+ double length,
+ java.lang.String id)
+AcctentuationPatternDef factory
+ |
+|
double |
getAccentuationAt(double beatPosition)
compute the accentuation value for a given position within the accentuation pattern
|
|
double[] |
getAccentuationAttributes(int index)
access the accentuation at the specified index
|
|
nu.xom.Element |
getAccentuationXml(int index)
access the accentuation element
|
|
java.util.ArrayList<KeyValue<double[],nu.xom.Element>> |
getAllAccentuations()
access the accentuation pattern
|
|
double |
getLength()
read the length of the accentuation pattern in beats
|
|
int |
-getSize()
-get the count of accentuations in this accentuation pattern
- |
-|
protected void |
parseData(nu.xom.Element xml)
set the data of this object, this parses the xml element and generates the according data structure
|
|
void |
removeAccentuation(int index)
remove an accentuation from this accentuationPatternDef
|
|
void |
setLength(double length)
set the length of the accentuation pattern in midi ticks
|
|
int |
+size()
+get the count of accentuations in this accentuation pattern
+ |
+|
private void |
sortXml()
The accentuation pattern elements can be unsorted in the xml source.
@@ -303,7 +321,7 @@ Method SummaryMethods inherited from class meico.mpm.elements.styles.defs.AbstractDef-getName, setName
+getId, getName, setId, setName
+
+
+
+
parseDatathrows java.lang.Exceptionset the data of this object, this parses the xml element and generates the according data structure
addAccentuation
getAccentuationAt- +
getId, getName, setId, setName
getId, getName, setId, setName
| |
private |
-RubatoDef(java.lang.String name)
+ | RubatoDef(java.lang.String name,
+ double frameLength)
constructor, creates an empty rubatoDef
|
static RubatoDef |
-createRubatoDef(java.lang.String name)
+ | createRubatoDef(java.lang.String name,
+ double frameLength)
RubatoDef factory
|
meico.mpm.elements.styles | ++ + |
meico.mpm.elements.styles.defs |
Modifier and Type | +Class and Description | +
---|---|
class |
+GenericStyle<E extends AbstractDef>
+This class interfaces MPM styleDef elements.
+ |
+
Modifier and Type | -Field and Description | -
---|---|
private java.util.HashMap<java.lang.String,AccentuationPatternDef> |
-MetricalAccentuationStyle.accentuationPatternDefs |
-
Modifier and Type | -Method and Description | -
---|---|
AccentuationPatternDef |
-MetricalAccentuationStyle.getAccentuationPatternDef(java.lang.String name)
-retrieve a specific AccentuationPatternDef
- |
-
Modifier and Type | -Method and Description | -
---|---|
java.util.HashMap<java.lang.String,AccentuationPatternDef> |
-MetricalAccentuationStyle.getAllAccentuationPatternDefs()
-access the whole HashMap with (name, AccentuationPatternDef) pairs
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-MetricalAccentuationStyle.addAccentuationPatternDef(AccentuationPatternDef accentuationPatternDef)
-add or (if a AccentuationPatternDef with this name is already existent) replace the AccentuationPatternDef
- |
-
static AccentuationPatternDef
createAccentuationPatternDef(java.lang.String name,
+ double length,
+ java.lang.String id)
+Modifier and Type | -Field and Description | -
---|---|
private java.util.HashMap<java.lang.String,ArticulationDef> |
-ArticulationStyle.articulationDefs |
-
Modifier and Type | -Method and Description | -
---|---|
ArticulationDef |
-ArticulationStyle.getArticulationDef(java.lang.String name)
-retrieve a specific articulationDef
- |
-
Modifier and Type | -Method and Description | -
---|---|
java.util.HashMap<java.lang.String,ArticulationDef> |
-ArticulationStyle.getAllArticulationDefs()
-access the whole HashMap with (name, ArticulationDef) pairs
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-ArticulationStyle.addArticulationDef(ArticulationDef articulationDef)
-add or (if a articulationDef with this name is already existent) replace the articulationDef
- |
-
Modifier and Type | -Field and Description | -
---|---|
private java.util.HashMap<java.lang.String,DynamicsDef> |
-DynamicsStyle.dynamicsDefs |
-
Modifier and Type | -Method and Description | -
---|---|
DynamicsDef |
-DynamicsStyle.getDynamicsDef(java.lang.String name)
-retrieve a specific DynamicsDef
- |
-
Modifier and Type | -Method and Description | -
---|---|
java.util.HashMap<java.lang.String,DynamicsDef> |
-DynamicsStyle.getAllDynamicsDefs()
-access the whole HashMap with (name, DynamicsDef) pairs
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-DynamicsStyle.addDynamicsDef(DynamicsDef dynamicsDef)
-add or (if a DynamicsDef with this name is already existent) replace the DynamicsDef
- |
-
Modifier and Type | -Field and Description | -
---|---|
private java.util.HashMap<java.lang.String,RubatoDef> |
-RubatoStyle.rubatoDefs |
-
Modifier and Type | -Method and Description | -
---|---|
RubatoDef |
-RubatoStyle.getRubatoDef(java.lang.String name)
-retrieve a specific rubatoDef
- |
-
Modifier and Type | -Method and Description | -
---|---|
java.util.HashMap<java.lang.String,RubatoDef> |
-RubatoStyle.getAllRubatoDefs()
-access the whole HashMap with (name, RubatoDef) pairs
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-RubatoStyle.addRubatoDef(RubatoDef rubatoDef)
-add or (if a rubatoDef with this name is already existent) replace the rubatoDef
- |
-
static RubatoDef
createRubatoDef(java.lang.String name)
+createRubatoDef(java.lang.String name,
+ double frameLength)
Modifier and Type | -Field and Description | -
---|---|
private java.util.HashMap<java.lang.String,TempoDef> |
-TempoStyle.tempoDefs |
-
Modifier and Type | -Method and Description | -
---|---|
TempoDef |
-TempoStyle.getTempoDef(java.lang.String name)
-retrieve a specific TempoDef
- |
-
Modifier and Type | -Method and Description | -
---|---|
java.util.HashMap<java.lang.String,TempoDef> |
-TempoStyle.getAllTempoDefs()
-access the whole HashMap with (name, TempoDef) pairs
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-TempoStyle.addTempoDef(TempoDef tempoDef)
-add or (if a TempoDef with this name is already existent) replace the TempoDef
- |
-
class
Comment
+class
Metadata
class
RelatedResource
class
GenericStyle
+GenericStyle<E extends AbstractDef>