At 02:47 PM 8/27/2014, you wrote: >Instead of setting mode and period, we only have a period parameter to >constructor. But yes, you can use it very universally.
How do you set "what would be mode" to Single and Multiple? Is it always "Multiple" and you code turning it off on the first Action event? BTW, how do you do that (I'm so used to .ModeOff)? Is it Me.Close? (I know, I know, look at the example. But I'm asking before I do the work, so I don't waste time doing work that ends up being funky.) >> 2) On Mac, does this pose as a regular Timer so I don't have to use two >> discreet timers for cross-platform apps? > >No. Would you guys want that? >Than I would need to see if I can make it a subclass of timer somehow. If it's not too much trouble, but yes, I think it really completes it. Might as well. I've always been in favor of you cleaning some of this MIDI/Sound stuff up where the best methods become cross-platform, although by using PortAudio which is cross-platform anyway, sort of solved the problem for me. But I know you got lots on your plate. >> 3) I use a Timer for polling a PortMIDI MIDIInStream, running Period=1 >> (saying "go as fast as possible") to minimize latency. MIDI latency has been >> a problem on Windows, will this help? > >It should help. Thanks - and thanks. Thanks also to Tim, I appreciate it. It's probably been a source of aggravation for my clients over time. >Windows has probably a dozen APIs on how to make timers. But normal timing >only gives 60 calls per second. >WindowsTimerMBS internally runs a thread which basically sends a message to a >message window every millisecond. Than the message window on main thread >checks if time is reached and performs action event. >PS: I think this is 5th time I try to code this over the last years and this >time it seems to work. Thanks for swinging the bat! Garth Hjelte Sampler User _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
