mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
Fix for bugs 943, 942, 941, 843 and 775.
Non-linear effects now process tracks before mixing. This will be slower when multiple tracks are selected but the preview should now match the applied effect. SetLinearEffectFlag(true) allows linear effects to preview more quickly when multiple tracks selected, by pre-mixing selected tracks. Simple generators like Tone and Noise may be marked as 'linear' so that they only preview a few seconds. Generators that vary over time (such as Chirp) must use the full duration that is set. As this currently requires calculating the full duration, preview for 'non-linear' generators are not limited to the preview length.
This commit is contained in:
@@ -69,6 +69,8 @@ EffectTimeScale::EffectTimeScale()
|
||||
m_PitchHalfStepsEnd = DEF_HalfStepsEnd;
|
||||
m_PitchPercentChangeStart = DEF_PitchPercentStart;
|
||||
m_PitchPercentChangeEnd = DEF_PitchPercentEnd;
|
||||
|
||||
SetLinearEffectFlag(true);
|
||||
}
|
||||
|
||||
EffectTimeScale::~EffectTimeScale()
|
||||
|
Reference in New Issue
Block a user