Add new comment

Permalink

In summary, audio playback in qtractor goes like this:

  1. each audio clip refers to a region of an audio file
  2. each audio file is handled through one audio buffer (ringbuffer)
  3. each audio (ring)buffer is served by one dedicated thread, filling the ringbuffer from disk, doing sample-rate conversion and time-stretching when applicable
  4. the real-time thread, on each jackd callback, reads from each audio clip ringbuffer, processes plugins, mix-down and finally writes the result jack output port buffers; the nested chain of command is qtractorAudioEngine::process() -> qtractorSession::process() -> [for each audio track: qtractorTrack::process() -> [for each current clip: qtractorAudioClip::process()]]

Although the bare fundamentals are the same (ie. jackd programming model) I doubt whether ardour follows the same approach, specially regarding the one thread per clip (a region in ardour slang). I believe ardour is way more streamlined (and stand correct) in this and most regards ;)

Note: the term "sync", splintered all over the code path, is just my own call for trying to (book)keeping all threads in time.

HTH
--
rncbc aka Rui Nuno Capela

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> <pre> <p> <br>
  • 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.
CAPTCHA
Enter the characters shown in the image.