Ejemplo n.º 1
0
 public MusicTrack GetMusicTrack(SBN program, FTBN bank)
 {
     foreach (var track in Tracks)
     {
         if (track is MusicTrack musicTrack && musicTrack.Program == program && musicTrack.Bank == bank)
         {
             return(musicTrack);
         }
     }
     return(null);
 }
 public MusicTrack(FTBN bank, SBN program, bool isDrumTrack = false)
 {
     _bank       = bank;
     Program     = program;
     IsDrumTrack = isDrumTrack;
 }
Ejemplo n.º 3
0
 public PitchBendEvent(FTBN pitchValue)
 {
     PitchValue = pitchValue;
 }