Add new comment

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

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.