Another thing here that could do with a bit of testing: I've just got 
rid of the Buffering tab from the sequencer configuration page, and 
added instead a new option to the Record & Mix tab to choose a mode 
("Low latency" or "Buffered") in which you want the sequencer to do 
its mixing.

"Buffered" mode is basically what we were doing before: it runs the 
mix and plugin code in its own thread with a long buffer between it 
and the RT audio thread.  This has the nice theoretical advantage of 
allowing us to use non-RT-safe plugins, etc, but it has the 
disadvantage that because those plugins are run "in advance", they 
get a delay on real-time input such as notes pressed on a MIDI 
keyboard -- very relevant for synths.

"Low latency" mode uses the same mix and plugin application code, but 
runs it in the RT thread without additional buffering.  This should 
make for suitably low latencies for recording and monitoring MIDI to 
soft synths.

There are other pros and cons.  In low-latency mode, most of the audio 
code gets the same (RT or whatever) priority as the RT thread, so it 
may get CPU time more easily and so may perform better particularly 
if your machine is short of CPU and/or memory and you run JACK in RT 
mode.  On the other hand, it risks Rosegarden getting kicked out of 
JACK more easily if you get a bad plugin (or bad code in RG).  
Buffered mode might work better than low-latency mode for plain 
playback if you have plenty of CPU and memory and you don't generally 
run JACK with RT priority or if you run Rosegarden as root.

The default is low-latency mode, because it has most of the advantages 
above.  Unfortunately we have no way to tell you if you're selecting 
a non-RT-safe plugin, which makes this slightly risky at the moment.

As for the settings that were formerly under the Buffering tab: 
they're now hard-coded with slightly different values depending on 
whether you have buffered or low-latency mode.  If you find the 
current buffered mode doesn't work as well for you as your previous 
optimal settings, I'd like to know about it.


Chris



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Rosegarden-devel mailing list
[EMAIL PROTECTED] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to