2022-12-05 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in the log rendering code that caused voicetracks to
	be faded during the trailing transition.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-12-05 11:51:48 -05:00
parent a5084d454e
commit 9bae0c81ab
2 changed files with 7 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
//
// Render a Rivendell log to a single audio object.
//
// (C) Copyright 2017-2021 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2017-2022 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -539,7 +539,9 @@ bool RDRenderer::Render(const QString &outfile,RDLogModel *model,RDSettings *s,
sf_writef_float(sf_out,pcm,frames);
delete pcm;
pcm=NULL;
lls.at(i)->setRamp(lls.at(i+1)->transType(),lls.at(i)->segueGain());
if(lls.at(i)->source()!=RDLogLine::Tracker) { // Don't fade voicetracks
lls.at(i)->setRamp(lls.at(i+1)->transType(),lls.at(i)->segueGain());
}
}
else {
if(i<(lls.size()-1)) {