Search in sources :

Example 1 with Transpose

use of com.xenoage.zong.core.instrument.Transpose in project Zong by Xenoage.

the class AttributesReader method readTransposedInstrument.

private PitchedInstrument readTransposedInstrument(MxlTranspose mxlTranspose) {
    if (mxlTranspose == null)
        return null;
    Transpose transpose = new TransposeReader(mxlTranspose).read();
    PitchedInstrument instrument = new PitchedInstrument("", 0);
    instrument.setTranspose(transpose);
    return instrument;
}
Also used : PitchedInstrument(com.xenoage.zong.core.instrument.PitchedInstrument) Transpose(com.xenoage.zong.core.instrument.Transpose)

Aggregations

PitchedInstrument (com.xenoage.zong.core.instrument.PitchedInstrument)1 Transpose (com.xenoage.zong.core.instrument.Transpose)1