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

Add support for writing pitch bend messages #15

Merged
merged 2 commits into from
Jun 12, 2023

Conversation

robrennie
Copy link
Contributor

@robrennie robrennie commented May 19, 2023

Issue Number

#10

Description of Changes

Added simple write of PitchBend message.

Testing

Needed to have this to write atonal MIDI messages for a project I'm working on. I didn't have time time add it to the sample test, so use it if you like it. Works like a charm for me.

Disclaimer

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@webern
Copy link
Owner

webern commented May 31, 2023

Cool, thank you.

@@ -807,4 +834,4 @@ impl WriteBytes for ControlChangeValue {
write_u8!(w, self.value.get())?;
Ok(())
}
}
}
Copy link
Owner

Choose a reason for hiding this comment

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

Can you run cargo fmt and force push the fix to this commit?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@webern - I think I did this but hopefully got the commit/push right. Let me know if not.

Copy link
Owner

Choose a reason for hiding this comment

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

The issue was changes to the clippy linter. I have pushed a fix as a separate commit to this PR.

@webern webern mentioned this pull request May 19, 2023
15 tasks
@webern webern merged commit ae7dfa2 into webern:main Jun 12, 2023
3 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.

None yet

2 participants