public Patch GetProgram(int channel) { if (SoundBank != null) { var sChannel = _synthChannels[channel]; var inst = SoundBank.GetPatchByNumber(sChannel.BankSelect, sChannel.Program); if (inst != null) return inst; } return null; }