cadencii.MidiDeviceImp.Play C# (CSharp) Method

Play() public method

public Play ( byte channel, byte program, byte note, byte velocity ) : void
channel byte
program byte
note byte
velocity byte
return void
        public void Play( byte channel, byte program, byte note, byte velocity ) {
            if ( CHANNEL < channel ) {
                return;
            }
            if ( s_last_program[channel] != program ) {
                s_device.ProgramChange( channel, program );
                s_last_program[channel] = program;
            }
            s_device.Play( channel, note, velocity );
        }