tmhglnd / mercury

A minimal and human-readable language and environment for the live coding of algorithmic electronic music.
http://www.timohoogland.com/mercury-livecoding
GNU General Public License v3.0
291 stars 13 forks source link

midiClock is not sending clock to external devices #52

Closed oscarvanleest closed 3 years ago

oscarvanleest commented 4 years ago

External devices are not receiving Mercurys' midi clock. Might have something to do with most midi port names having spaces in them?

tmhglnd commented 4 years ago

Will have to investigate, did you try:

set midiclock "a portname with spaces"
JaysonDirkz commented 3 years ago

Hi Oscar, I had the same problem. Maybe this #53 will help you.

tmhglnd commented 3 years ago

This is fixed in 42ea79581187e18743a4ad94f02291349bf64219, Documentation is updated, and also with a few enhancements as suggested in #53 by @JaysonDirkz

oscarvanleest commented 3 years ago

Still doesn't seem to be working for me, a test to make sure the device works with another simple max patch using the midiout object works fine.

tmhglnd commented 3 years ago

Okay, then i'll have to investigate further. I'll get back to this soon

tmhglnd commented 3 years ago

I've done some deeper digging and now it should correctly parse the input string with spaces, for example:

set midiClock "AU DLS Synth 1"

Please give it a try when you have the time and let me know :).