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

MIDI.write implementation #1

Open
giorrrgio opened this issue Dec 23, 2023 · 1 comment
Open

MIDI.write implementation #1

giorrrgio opened this issue Dec 23, 2023 · 1 comment

Comments

@giorrrgio
Copy link

giorrrgio commented Dec 23, 2023

Hi,
thank you for the library! I was wondering why there's no write implementation inside the midi class.
It's not as simple as the following, is it? 🤔

def write(self, packet, num):
    self.device.write(self.out_ep, packet)
@tannewt
Copy link
Member

tannewt commented Jan 17, 2024

I don't think so. There is some conversion between MIDI packets and USB MIDI container packet.

What device do you want to use it with? I don't have one for testing now.

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

No branches or pull requests

2 participants