Can't send/receive message in same thread #420
Replies: 2 comments
-
If this is still current, could you please describe a little bit more what you are trying to achieve. The code snippet is unclear to me. |
Beta Was this translation helpful? Give feedback.
-
I think we can close this. My use case here was probably only valid for unit testing. I may have simplified my code too much for it to make sense. Ultimately I was writing a midi clock implementation and wanting to test that I was generating the pulses correctly without having a real bus. I thought I might be able to do it by wiring up two virtual ports as a "mock" channel that I could pass to my midi clock engine and validate that the messages were arriving as expected. I haven't touched the code in a while, but I was able to create a slight indirection on top of mido that achieved the same thing. |
Beta Was this translation helpful? Give feedback.
-
Should this work?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions