From 0188b7570d6a21d3584c550f4da75ef17481b44e Mon Sep 17 00:00:00 2001 From: James Crook Date: Tue, 9 Apr 2019 21:55:22 +0100 Subject: [PATCH] Do script changes for Pull request #271 that were previously missed. --- scripts/piped-work/docimages_named_tracks.py | 4 ++-- scripts/piped-work/docimages_spectro.py | 2 +- scripts/piped-work/docimages_tracks.py | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/piped-work/docimages_named_tracks.py b/scripts/piped-work/docimages_named_tracks.py index 0d2eb5f01..6acf6b982 100644 --- a/scripts/piped-work/docimages_named_tracks.py +++ b/scripts/piped-work/docimages_named_tracks.py @@ -15,7 +15,7 @@ import time def ntrack_stereo() : loadStereoTrack() # A stereo track, with its name on the track - capture( 'AutoTracks002.png', 'First_Track' ) + capture( 'AutoTracks002.png', 'FirstTrack' ) # A stereo track do( 'Select: Track=0' ) do( 'SetTrack: Height=80') @@ -85,7 +85,7 @@ def ntrack_punch(): do( 'Select: Track=1 Start=40 End=80' ) #work backwards from the end result... - capture( 'Punch-in tracks002.png', 'All_Tracks' ) + capture( 'Punch-in tracks002.png', 'AllTracks' ) do( 'Select: Track=3 Start=40 End=80' ) do( 'RemoveTracks') do( 'Select: Track=1' ) diff --git a/scripts/piped-work/docimages_spectro.py b/scripts/piped-work/docimages_spectro.py index ea5394035..169bb6f78 100644 --- a/scripts/piped-work/docimages_spectro.py +++ b/scripts/piped-work/docimages_spectro.py @@ -149,7 +149,7 @@ def spectro_imagesF(): do( 'SetTrack: Display=Spectrogram' ) capture( 'ScaleLin.png', 'AllTracks' ) do( 'SetPreference: Name=/Spectrum/ScaleType Value=1 Reload=1') - capture( 'ScaleLog.png', 'All_Tracks' ) + capture( 'ScaleLog.png', 'AllTracks' ) do( 'SetPreference: Name=/Spectrum/ScaleType Value=0 Reload=1') diff --git a/scripts/piped-work/docimages_tracks.py b/scripts/piped-work/docimages_tracks.py index 0c3d38391..12842631c 100644 --- a/scripts/piped-work/docimages_tracks.py +++ b/scripts/piped-work/docimages_tracks.py @@ -13,15 +13,15 @@ exec( open("docimages_core.py" ).read() ) def track_image1and8() : loadMonoTracks(1) # A mono track complete with ruler - capture( 'AutoTracks001.png', 'First_Track_Plus' ) + capture( 'AutoTracks001.png', 'FirstTrackPlus' ) # Mono with arrow at start. do( 'SetClip: Clip=0 Start=-4.0') - capture( 'AutoTracks008.png', 'First_Track' ) + capture( 'AutoTracks008.png', 'FirstTrack' ) def track_image2and6() : makeStereoTracks(1) # A stereo track, with its name on the track - capture( 'AutoTracks002.png', 'First_Track' ) + capture( 'AutoTracks002.png', 'FirstTrack' ) # A stereo track, with different sized channels do( 'Select: Track=0 TrackCount=0.5' ); do( 'SetTrack: Height=80')