Skip to content

Add set_channel function for MidiMessage#24

Open
sourcebox wants to merge 1 commit intoRustAudio:mainfrom
sourcebox:set-channel
Open

Add set_channel function for MidiMessage#24
sourcebox wants to merge 1 commit intoRustAudio:mainfrom
sourcebox:set-channel

Conversation

@sourcebox
Copy link
Copy Markdown
Contributor

The ability to separately set the channel for a message is useful when processing messages for routing or creating layered sounds.

Ideally, the method would return a result with an error in case of system messages, but that would require a new dedicated error type. I'm not sure if it's worth do implement this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants