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; }
public PitchBendEvent(FTBN pitchValue) { PitchValue = pitchValue; }