AudioSynthesis.Synthesis.Synthesizer.GetProgramName C# (CSharp) Method

GetProgramName() public method

public GetProgramName ( int channel ) : string
channel int
return string
        public string GetProgramName(int channel)
        {
            if (bank != null)
            {
                SynthParameters sChannel = synthChannels[channel];
                Patch inst = bank.GetPatch(sChannel.bankSelect, sChannel.program);
                if (inst != null)
                    return inst.Name;
            }
            return "Null";
        }
        public Patch GetProgram(int channel)