Sorry, curiosity gets the better of me.
The default data is taken from here, I have done tests and it is like this:
---
./qtractorTimeScale.cpp:67: m_iSampleRate = 44100;
// (Re)nitializer method.
void qtractorTimeScale::clear (void) { m_iSnapPerBeat = 4;
m_iHorizontalZoom = 100;
m_iVerticalZoom = 100;
// m_displayFormat = Frames;
>> m_iSampleRate = 44100;
m_iTicksPerBeat = TICKS_PER_BEAT_DEF;
m_iPixelsPerBeat = 32;
m_iBeatsPerBar2 = 0;
m_iBeatDivisor2 = 0;
// Clear/reset tempo-map...
reset();
}
---
One solution is the one I proposed:
- If you open it from a template, rebuild the xml with the samplerate data taken from the audio engine before it is read.
- The most logical thing would be that m_iSampleRate was not a handwritten data, but that it took the data from the audio engine. Although I don't know if it is written by hand precisely in case the reading of the audio engine fails.
Anyway... I've I'm calm, I know what's going on.
I cancelled the appointment with the Shaman to scare away mocking spirits XD
Copyright (C) 2006-2024 rncbc aka Rui Nuno Capela. All rights reserved.
Powered by Drupal
Recent comments
1 min 1 sec ago
12 hours 9 min ago
20 hours 15 min ago
22 hours 10 min ago
1 day 11 hours ago
1 day 12 hours ago
1 day 12 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 14 hours ago