private TGDivisionType createDivisionType(TGDivisionType tgDivisionTypeSrc) {
   TGFactory tgFactory =
       TGDocumentManager.getInstance(this.findContext()).getSongManager().getFactory();
   TGDivisionType tgDivisionTypeDst = tgFactory.newDivisionType();
   tgDivisionTypeDst.copyFrom(tgDivisionTypeSrc);
   return tgDivisionTypeDst;
 }
 public void initialize() {
   try {
     MidiPlayer midiPlayer = MidiPlayer.getInstance(this.context);
     midiPlayer.init(TGDocumentManager.getInstance(this.context));
     midiPlayer.addListener(new TGTransportListener(this.context));
     midiPlayer.setTryOpenFistDevice(true);
     midiPlayer.addSequencerProvider(new MidiSequencerProviderImpl(), true);
   } catch (MidiPlayerException e) {
     TGErrorManager.getInstance(this.context).handleError(e);
   }
 }