protected void configureChannelRouter(TGSong song) {
    this.channelRouter = new GMChannelRouter();

    GMChannelRouterConfigurator gmChannelRouterConfigurator =
        new GMChannelRouterConfigurator(this.channelRouter);
    gmChannelRouterConfigurator.configureRouter(song.getChannels());
  }
 private boolean isPercussionChannel(TGSong song, int channelId) {
   Iterator it = song.getChannels();
   while (it.hasNext()) {
     TGChannel channel = (TGChannel) it.next();
     if (channel.getChannelId() == channelId) {
       return channel.isPercussionChannel();
     }
   }
   return false;
 }