Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added channel voice message to MidiOut #451

Merged
merged 3 commits into from
Jul 10, 2024

Conversation

cviejo
Copy link

@cviejo cviejo commented Jul 7, 2024

Expose channel voice messages on MidiOut for convenience.

Midi channel is not one-based, that's probably how it's expected from the user's perspective, happy to change though.

The two-byte MidiOut::send version was modified to fix a faulty behaviour on macOS. This could be a breaking change, but it's improbable and from what i could tell, this function was unused anyway, so it should be fine.

Will open another PR on chuck-website updating the docs after review changes and merge :)

Copy link
Member

@gewang gewang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excellent and thorough -- thank you very much!

@gewang
Copy link
Member

gewang commented Jul 10, 2024

  • add release notes and additional comments
  • MIDI channel 0-based (I agree that users may tend to think of MIDI channels as being 1-based, but maintaining a 0-based convention in code might be less confusing?)
  • added MidiOut.send(int,int,int)
  • added midiout2.ck to CKDoc
    FYI no need to submit PR for chuck-website; this gets updated (including newly CKDoc-generated APIs) on the next release (1.5.2.5)

thank you so much!

@gewang gewang merged commit 74e5ccd into ccrma:main Jul 10, 2024
3 of 4 checks passed
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