Ejemplo n.º 1
0
 internal SF2ModulatorList(EndianBinaryReader reader)
 {
     ModulatorSource       = reader.ReadEnum <SF2Modulator>();
     ModulatorDestination  = reader.ReadEnum <SF2Generator>();
     ModulatorAmount       = reader.ReadInt16();
     ModulatorAmountSource = reader.ReadEnum <SF2Modulator>();
     ModulatorTransform    = reader.ReadEnum <SF2Transform>();
 }
Ejemplo n.º 2
0
 internal SF2ModulatorList(SF2 inSf2, BinaryReader reader)
 {
     sf2                   = inSf2;
     ModulatorSource       = (SF2Modulator)reader.ReadUInt16();
     ModulatorDestination  = (SF2Generator)reader.ReadUInt16();
     ModulatorAmount       = reader.ReadInt16();
     ModulatorAmountSource = (SF2Modulator)reader.ReadUInt16();
     ModulatorTransform    = (SF2Transform)reader.ReadUInt16();
 }