Hi Robert,
Thanks for your assistance. Much appreciated.
On Sat, 25 Apr 2015 13:24:07 +0200
Robert Jonsson <[email protected]> wrote:
> So you have jack running and start MusE without any special parameters?
Yes
> Can you send your ~/.config/MusE/MusE.cfg?
> Do you load a default song?
MusE.cfg: http://pastebin.com/yecm89gZ
default.med: http://pastebin.com/egXn8W87
> Can you give a short step by step how you set it up for recording (which
> fails)?
Kinda straight-forward. MusE loads the default song with my default
configuration for MIDI ports, MIDI sync and so on. I create a new MIDI
track and arm it for record. Then it's "Record" and "Play" in the
transport window. "Master" is on, "Jack" and "Sync" are usually off.
http://www.pingu-mobil.de/share/muse-record.png
http://www.pingu-mobil.de/share/muse-stop.png
I still think there is a problem in audio.cpp startRolling(). The
attached diff at least makes MusE record again.
Dennis
diff --git a/muse2/muse/audio.cpp b/muse2/muse/audio.cpp
index 5e177ce..de6026f 100644
--- a/muse2/muse/audio.cpp
+++ b/muse2/muse/audio.cpp
@@ -873,26 +873,31 @@ void Audio::startRolling()
}
}
}
-
- if (MusEGlobal::precountEnableFlag
- && MusEGlobal::song->click()
- && !MusEGlobal::extSyncFlag.value()
- && MusEGlobal::song->record()) {
- printf("state = PRECOUNT!\n");
- state = PRECOUNT;
- int z, n;
- if (MusEGlobal::precountFromMastertrackFlag)
- AL::sigmap.timesig(curTickPos, z, n);
- else {
- z = MusEGlobal::precountSigZ;
- n = MusEGlobal::precountSigN;
- }
- clickno = z * MusEGlobal::preMeasures;
- clicksMeasure = z;
- ticksBeat = (MusEGlobal::config.division * 4)/n;
- }
- else {
+ /// dennis: commented check for pre-count flag because the
+ /// state will newever change to PLAY which breaks recording
+ /// as the sequencer won't start rolling. NOTE: Disabling
+ /// pre-count in the preferences doesn't help either probably
+ /// because MusEGlobal::precountEnableFlag isn't correctly set.
+ // if (MusEGlobal::precountEnableFlag
+ // && MusEGlobal::song->click()
+ // && !MusEGlobal::extSyncFlag.value()
+ // && MusEGlobal::song->record()) {
+ // printf("state = PRECOUNT!\n");
+ // state = PRECOUNT;
+ // int z, n;
+ // if (MusEGlobal::precountFromMastertrackFlag)
+ // AL::sigmap.timesig(curTickPos, z, n);
+ // else {
+ // z = MusEGlobal::precountSigZ;
+ // n = MusEGlobal::precountSigN;
+ // }
+ // clickno = z * MusEGlobal::preMeasures;
+ // clicksMeasure = z;
+ // ticksBeat = (MusEGlobal::config.division * 4)/n;
+ //
+ // }
+ // else {
//
// compute next midi metronome click position
//
@@ -902,7 +907,7 @@ void Audio::startRolling()
if (tick)
beat += 1;
midiClick = AL::sigmap.bar2tick(bar, beat, 0);
- }
+ // }
// reenable sustain
for (int i = 0; i < MIDI_PORTS; ++i) {
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer