mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-18 16:41:14 +02:00
Script work
Add Envelope script Add Clips and Boundaries Scripts. Add docimages_oddments.py for the weirder cases. Add make html script. Add more spectral images Add Dark versions of spectrograms (paul's comment) Clean up oddments script. - This commit also adds an option NOT to bring Audacity to the top when screenshotting. -- That's because QuickPlay will disappear if you do -because you lose mouse capture. - Also allow negative window IDs in the drag command. - Registration names of align commands sorted. They had &, : and / in them. - Fixed bug in SetTrackInfo where bFocused was being ignored - Fixed bug where command manager ignored multi-commands. - Commit docimages_oddments.py again, to fix line endings.
This commit is contained in:
committed by
Paul Licameli
parent
4724c6a131
commit
fa49d94530
45
scripts/piped-work/docimages_envelopes.py
Normal file
45
scripts/piped-work/docimages_envelopes.py
Normal file
@@ -0,0 +1,45 @@
|
||||
# docimages_envelopes.py
|
||||
# Sends commands to get images for the manual.
|
||||
# Images for envelope manipulation.
|
||||
|
||||
# Make sure Audacity is running first and that mod-script-pipe is enabled
|
||||
# before running this script.
|
||||
|
||||
#load and run the common core.
|
||||
exec( open("docimages_core.py" ).read() )
|
||||
|
||||
|
||||
|
||||
def env_images() :
|
||||
loadMonoTracks(1)
|
||||
do( 'Select: Start=0 End=0')
|
||||
# A mono track
|
||||
capture( 'Envelope001.png', 'All_Tracks' )
|
||||
do( 'EnvelopeTool' )
|
||||
# As spectrogram.
|
||||
capture( 'Envelope002.png', 'All_Tracks' )
|
||||
do( 'SetEnvelope: Time=55 Value=0.9');
|
||||
capture( 'Envelope003.png', 'All_Tracks' )
|
||||
do( 'SetEnvelope: Time=120 Value=0.4');
|
||||
capture( 'Envelope004.png', 'All_Tracks' )
|
||||
do( 'SetEnvelope: Time=125 Value=0.9');
|
||||
capture( 'Envelope005.png', 'All_Tracks' )
|
||||
do( 'SetEnvelope: Time=45 Value=0.85');
|
||||
capture( 'Envelope006.png', 'All_Tracks' )
|
||||
do( 'SetEnvelope: Time=25 Value=1.85');
|
||||
capture( 'Envelope007.png', 'All_Tracks' )
|
||||
do( 'SetEnvelope: Time=0 Value=0.85');
|
||||
capture( 'Envelope008.png', 'All_Tracks' )
|
||||
do( 'SetTrack: VZoom=Times2' )
|
||||
capture( 'Envelope009.png', 'All_Tracks' )
|
||||
do( 'SetTrack: VZoom=HalfWave' )
|
||||
capture( 'Envelope010.png', 'All_Tracks' )
|
||||
do( 'SelectTool' )
|
||||
capture( 'Envelope011.png', 'All_Tracks' )
|
||||
do( 'SetTrack: VZoom=Reset' )
|
||||
capture( 'Envelope012.png', 'All_Tracks' )
|
||||
|
||||
|
||||
|
||||
env_images()
|
||||
|
Reference in New Issue
Block a user