1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 08:33:36 +02:00

Can choose by Channel or by Track in Set commands.

This commit is contained in:
James Crook
2018-02-16 20:34:30 +00:00
committed by Paul Licameli
parent 8ab9345268
commit e9e9ee2998
30 changed files with 258 additions and 194 deletions

View File

@@ -38,9 +38,11 @@ def spectro_image1and2() :
capture( 'Spectral001.png', 'First_Track' )
# As spectrogram.
do( 'SetTrack: Track=0 Display=Spectrogram')
do( 'SetTrack: Track=1 Display=Spectrogram')
do( 'Select: Start=55 End=70 First=0 Last=1')
capture( 'Spectral002.png', 'First_Track' )
# Half spectrogram, half wave.
do( 'SetTrack: Channel=1 Display=Waveform')
capture( 'MixedMode.png', 'First_Track' )
def spectro_image3and4():
makeStepper();

View File

@@ -23,8 +23,8 @@ def track_image2and6() :
# A stereo track, with its name on the track
capture( 'AutoTracks002.png', 'First_Track' )
# A stereo track, with different sized channels
do( 'SetTrack: Track=0 Height=80')
do( 'SetTrack: Track=1 Height=180')
do( 'SetTrack: Channel=0 Height=80')
do( 'SetTrack: Channel=1 Height=180')
capture( 'AutoTracks006.png', 'First_Track' )
# Four colours of track
@@ -43,15 +43,14 @@ def track_image7and4and5():
do( 'SetTrack: Track=1 Height=80')
capture( 'AutoTracks007.png', 'First_Two_Tracks' )
# Two Tracks, ready to make stereo
do( 'SetTrack: Track=0 Name="Left Track" Height=80')
do( 'SetTrack: Track=1 Name="Right Track" Height=80')
do( 'SetTrack: Channel=0 Name="Left Track" Height=80')
do( 'SetTrack: Channel=1 Name="Right Track" Height=80')
capture( 'AutoTracks004.png', 'First_Two_Tracks' )
# Combined Stereo Track
do( 'SetTrack: Track=0 Pan=-1 Height=80')
do( 'SetTrack: Track=1 Pan=1 Height=80')
do( 'MixAndRender' )
do( 'SetTrack: Track=0 Name="Combined" Height=80')
do( 'SetTrack: Track=1 Height=80')
do( 'Select: First=0 Last=1' )
capture( 'AutoTracks005.png', 'First_Track' )