On Saturday, December 17, 2016 9:06:54 AM EST asbaklm wrote:
> Hi there Tim, thanks so much for the rtc re-write and the many updates from
> the team which are mentioned in the changelog. Muse3 is coming along
> nicely.

Just to mention that with these hi-res timer fixes, it should no longer
 be necessary to compile kernel with special timer settings,
 or poke weird command-line values into changing dev/rtc 
 sys locations, or do anything as root, etc etc.  It just works now. Yay.
I get these same results with a STOCK KUbuntu distro :-)


FYI: Why does MusE need a timer? For ALSA midi support.
MusE uses a timer, either ALSA or the RTC, to queue ALSA
 playback or record events. We use ALSA's 'direct' methods
 rather than its queuing system.

Good ol' MusE's midi sequencing had been so intertwined with 
 this timing system, that it was hard to remove or bypass.
Even with Jack Midi support, we still needed the timer not just for 
 ALSA support but also some deeply entwined commands and so on.

Recent advances occurred: Our ALSA midi driver can now be stopped and 
 started at will (see midi config settings the 'ALSA' button).
Yet when stopped, the timer still runs and is needed for a few other things.

So I will, once and for all, attempt to finish up. The moment seems right, 
 I'm in there now, sort of half-done. We have been planning this for a while.
It's not easy, there were pitfalls, hopefully it won't be long. 

Goal: ALSA will be build-configuration OPTIONAL. When Jack alone is running, 
 no timer will be needed or running (at least not for ALSA midi support).

Trivia: Werner's original Qt4 + Jack Midi based MusE-2 (muse_qt4_evolution 
 in our git attic) had no ALSA midi support.

T.

> 
> So the results on my Lenovo T430 laptop from latest git build:
> (I don't use drumgizmo so don't know whether or not this would have caused
> issues.)
> >muse3 -apNI2L
> >Config File </home/user/.config/MusE/MusE.cfg>
> >LOCALE en_GB
> >Denormal protection enabled.
> >string2sysex: Cannot convert string to sysex r ct bn bt f7
> >Trying ALSA timer...
> >AlsaTimer::initTimer(): best available ALSA timer: HR timer
> >got timer = 84
> >Aquired timer frequency: 1000000000
> >INFO: Requested timer frequency:2048 actual:2048
> >starting with template /usr/local/share/muse-3.0/templates/default.med
> >INFO: Requested timer frequency:2048 actual:2048
> 
> For experimental purposes I also entered the timer frequency as you
> suggested and low and behold, get the crazy number
> >INFO: Requested timer frequency:32768 actual:32768
> 
> That's a bit more than I think I'll need, hahaha.
> 
> Thanks again for this awesome project. =)



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer

Reply via email to