pub fn program_change(program: u8, channel: u8) -> MidiMessage {
        MidiMessage {
            data: vec![make_status(Status::ProgramChange,channel), program],
        }
    }
/// Create a program change message
/// This message sent when the patch number changes. `program` is the new program number.
Create a program change message
This message sent when the patch number changes. `program` is the new program number.
Create a program change message This message sent when the patch number changes . ` program ` is the new program number .
pub fn program_change(program: u8, channel: u8) -> MidiMessage {
        MidiMessage {
            data: vec![make_status(Status::ProgramChange,channel), program],
        }
    }
pub fn program_change ( program : u8 , channel : u8 ) -> MidiMessage { MidiMessage { data : vec ! [ make_status ( Status ProgramChange channel ) program ] , } }
Create a program change message
This message sent when the patch number changes.
Create a program change message This message sent when the patch number changes .
program
u8
channel
u8
program
u8
channel
u8