Hi Dennis,
Your problem (as seen from your patch) is that
MusEGlobal::precountEnableFlag is always 'on'?
Not working precount mode is another problem, so let's cope with
precount flag first.
I just checked - this flag is saved to MusE.cfg and is restored from it.
And it also is set by metronome config UI, when you press 'apply' or 'ok'.
Can you check your config file - the tag is called 'precountEnable'.
What value it has when muse is closed?
After that add this line
fprintf(stderr, "MusEGlobal::precountEnableFlag=%d\n",
(int)MusEGlobal::precountEnableFlag);
just before
if (MusEGlobal::precountEnableFlag
&& MusEGlobal::song->click()
&& !MusEGlobal::extSyncFlag.value()
&& MusEGlobal::song->record()) {
to see what value this flag has at runtime.
04.01.2016 01:58, Dennis Schulmeister пишет:
Hi everybody,
Please have a look at the attached diff file. I was trying to record
something with the current git master and found that it is still not
working. I think I sent a similar patch maybe a year ago to the list
but it seems it didn't make it. The problem is, that the sequencer
doesn't start rolling in record mode. The playhead just doesn't move.
When pressing "Stop" the transport state gets completely invalid with
no way back.
If it helps, I'm using the jack backend and am trying to record MIDI.
The attached diff fixes the problem for me. I spent quite some time
back then figuring out, what's going wrong. So it'd be great if you
would accept the patch. :-)
Besides that I have another major problem. But I'm not sure how I could
possibly find the cause. Playback doesn't work anymore. The sequencer
rolls incredibly slow and the MIDI messages are not sent in time. It is
as if the sequencer is waiting a few seconds for some kind of timeout,
flushes the playback buffer, increases its time counter and then waits
again.
This one could be a local thing because the same problem also occurs
with MusE 2.1 from the Fedora repositories. Any help how to look into
this would be much appreciated.
Dennis
------------------------------------------------------------------------------
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer
--
Regards,
Andrew
------------------------------------------------------------------------------
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer