1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-27 15:50:10 +01:00

Update default tests in pipe-test.pl for 2.2.2

This commit is contained in:
Steve Daulton
2018-01-21 23:20:32 +00:00
parent 2ee3ba5761
commit 76954f4bcd

View File

@@ -227,9 +227,9 @@ sub deleteAll{
# A test of the CompareAudio command
sub compareTest{
deleteAll();
deleteAll();
menuCommand("NewAudioTrack");
menuCommand("NewMonoTrack");
doCommand("Chirp:");
menuCommand("NewMonoTrack");
doCommand("Chirp:");
@@ -302,7 +302,7 @@ sub fullTest{
extraSpaces();
menuCommand("NewStereoTrack");
#screenshot($screenshotDir, "window", "None"); # (Slow)
doCommand("Select: Mode=All");
doCommand("Select: Mode=All");
getMenuCommands();
menuCommand("NewMonoTrack");
batchFallback();
@@ -352,7 +352,9 @@ sub testClearAndPasters{
sleep(1.0);
deleteAll();
my $len = 20.0;
# Since there aren't proper generator commands yet, we use the preferences
# to control the duration.
# This preferences is not read in Audacity 2.2.x where duration
# is read from pluginsettings.cfg
my $origDuration = getPref("/CsPresets/NoiseGen_Duration");
@@ -403,6 +405,8 @@ sub getEffects{
# (These ones will need special handling)
# AutoDuck
# Bass and Treble
# Repair
# NoiseRemoval
# ClickRemoval
# Paulstretch
@@ -411,7 +415,6 @@ sub getEffects{
my @effects = qw(
Amplify
ChangePitch
ChangeSpeed
ChangeSpeed
ChangeTempo
Compressor
@@ -428,11 +431,13 @@ sub getEffects{
Wahwah
);
return @effects;
}
}
# Create a chirp for an effect to be applied to.
# The duration setting does not work in Audacity 2.2.x where duration
# is read from pluginsettings.cfg
sub generateBase{
my $genCmd = "Chirp";
my $genCmd = "Chirp";
my $duration = 30.0;
menuCommand("NewMonoTrack");
doCommand("$genCmd:");