Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Windows 10 bug Matlab #56

Open
chromewavves opened this issue Mar 26, 2019 · 2 comments
Open

Windows 10 bug Matlab #56

chromewavves opened this issue Mar 26, 2019 · 2 comments

Comments

@chromewavves
Copy link

I have been using Hairless MIDI as a MIDI-Serial bridge on Windows 7 and it works perfectly.
However, since moving to another PC with Windows 10, some strange bugs have appeared.

This is the order of interfaces
Matlab -> Virtual Serial Port (com0com) -> Hairless MIDI -> Loop MIDI ->RME Totalmix

I am able to send as many MIDI messages as required and it works perfectly for Windows 7.

Now on Windows 10,

Hairless MIDI receives 3 bytes as per the MIDI protocol, but always has an error, like so:
Error:got unexpected data byte xxx

As an example, if I send the three bytes (180,102,00)

I read
Error:got unexpected data byte 0x3F <- This is always 3f, regardless of what is sent
Error:got unexpected data byte 0x66 <- This byte is always correct
Error:got unexpected data byte 0x0 < This byte is always correct

I have also tried with a physical dual Serial Port to USB using an FTDI chip, which again, works perfectly on Windows 7, but not Windows 10. So it is not an issue with com0com.

I have tried changing the Baud Rate, parity, flow control, flushing the serial ports in Matlab, and nothing seems to work!

I am considering using the RTP-Midi protocol instead, but would prefer not to, any ideas?
I would greatly appreciate any help.

@Vitalicus
Copy link

Tell me please, how you solved this bug?

@chromewavves
Copy link
Author

chromewavves commented Nov 30, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants