use of com.xenoage.zong.core.music.annotation.ArticulationType in project Zong by Xenoage.
the class ArticulationReader method readArticulation.
private static Articulation readArticulation(MxlArticulationsContent mxlAC) {
MxlArticulationsContentType mxlACType = mxlAC.getArticulationsContentType();
ArticulationType type = Equivalents.articulations.getBy2(mxlACType);
if (type == null)
return null;
Articulation articulation = new Articulation(type);
// read placement
MxlPlacement mxlPlacement = mxlAC.getEmptyPlacement().getPlacement();
articulation.setPlacement(PositioningReader.readPlacement(mxlPlacement));
return articulation;
}
Aggregations