ToDo: mod-script-pipe

Automation Progress: mod-script-pipe

Backlinks:


  • Get working again and in Python (earlier demos were in Perl mostly)
    • The python scripts are currently OK both on 2.7 and 3.6, as they are not using 3.x features.
  • Bring Perl script up to date so that it is usable again.
  • Make python equivalent of Perl script.
  • Compiles / loads / runs, with python on Windows.
  • Compiles / loads / runs, with python on Linux.
  • Compiles / loads / runs, with python on Mac.
    • The remaining issue on Mac is believed to be about placing the module in the right place where Audacity will find and load it.
  • Complete implementation of the SetProjectInfo and SetTrackInfo command per wiki, now allowing optional parameters in a command.
    • Document the extended GetProjectInfo, GetTrackInfo, SetProjectInfo, SetTrackInfo in the alphamanual.
  • Diagnose and fix unicode issue leading to early termination.
  • Allow spaces in parameter values using 'string' or "string".
    • This was needed for filenames.
    • It will be needed for labels.
  • Start of recording-test script.
  • Remove need for the '+' in 'w+' when running on linux.
  • Auto-Documentation system for commands:
    • Update Audacity so that a single definition of parameters suffices for get / set / defaults / validation / type info.
    • Update Audacity to provide a GetAllCommands command, that lists commands with detailed JSON specs.
    • Update WIT to reformat the JSON command spec for the manual.
    • Produce automatic Automation Reference Page
  • New Audacity commands (for test scripts)
    • Design/refine commands and parameters
    • Write
      • GetMenuItems command
      • GetCommands command
        • GetCommands+ command (also gets solo-menu-items)
      • GetBoxes command
      • GetTracks command
      • GetClips command.
      • GetLabels command.
      • Get preference parameter command.
      • Select commands.
        • Also select-from-end option.
        • Also spectral selection.
      • SetTrack command.
        • Also colour, height
        • Also grayscale, spectral-edit-enabled.
      • SetClip command. (colour, T0)
      • SetLabel command. (text, t0, t1)
      • SetProject command part I. (window size, title, position)
      • Set preference parameter command.
        • Reload-Prefs checkbox working.
    • Do the manual part of documenting them.
    • Run the automated part of documenting them.
  • Move commands to AudacityCommand so that they have prompting dialogs and can participate in Macros.
    • Move DemoCommand
    • Move ScreenshotCommand
    • Move CompareAudioCommand
    • Move SetTrackInfoCommand
    • Move SelectTimeCommand
    • Move SelectTracksCommand
    • Move SelectCommand
    • Move GetPreferenceCommand
    • Move SetPreferenceCommand
    • Move GetInfoCommand
    • Move HelpCommand
    • Move ImportCommand
    • Move ExportCommand
    • Move OpenProjectCommand
    • Move SaveProjectCommand
  • Fix extra commas in JSON.
  • Allow optional parameters to NOT be defaulted.
  • Fix CommandHolder destructor.

Optional

  • Increase separation between AudacityCommand and Effect classes.
  • System for returning responses to user, even when outside batch-mode.
    • Response supporting JSON format
    • Response supporting LISP format
    • Response supporting Brief format
  • AudacityCommand and Effect hierarchy to be made more an equal footing.
    • I'm using mixins, which both hierarchies use, rather than making one derive from the other.
  • GetInfo: Boxes to include Track Control Panel buttons.
    • It's a nice to have, but not essential to the automated images created by WIT.
  • Enhancements to the JSON
    • Use the internal description strings, where available, in the JSON
    • Include indication of 'optional' for fields which are optional.
  • Enhancements to the Nyquist format
    • "(list" and rearranged label format much closer to label production format.
  • DefineParams() for existing Nyquist effects.
  • DefineParams() for existing LADSPA effects
    • Without this, effects don't advertise their parameters.
  • Fix crazy automation IDs for Tracks->Align-Tracks, which contain colons and & making them unusable for scripting.
  • Screenshot Command extensions, for first 2, 3 and 4 tracks.
  • Screenshot Command extensions, for tracks with ruler.
  • Screenshot Command extensions, for all-tracks, with and without ruler.
  • GetInfo: Type=Preferences
  • GetInfo: Type=Envelopes
  • SetEnvelopes:
  • Help button on Automation dialogs.
  • Cancel button on Automation dialogs (and X to behave as Cancel rather than as Apply).
  • Fix Bug: Tone currently running as Chirp from batch. No derived-parameters support.
  • Case insensitive command name matching.
  • Count by channels or by Tracks, when doing SetTrack, SetClip or SetEnvelope.

Super Optional

These are even more optional, because they can already be done some other way.

  • GetInfo: Keycodes command.
    • Optional, because the information is already available from GetInfo: Menus.
  • SetClip to be able to move a clip to a new track.
    • Optional, because we can use cut and paste to get the same result.
  • SetProject command part II. (set zoom, hscroll, vscroll)
    • Zoom and hscroll can already be set by making a selection and then zoom-to-selection.
    • vscroll can be done using DragCommand - though it's a very fiddly workaround.
  • Extend use of DefineParams() function.
    • Optional. It just makes for shorter cleaner code.
    • Discussion with Paul about code vs data approaches. Also consistency across menus and dialogs.
    • Generate default vanilla config dialogs from the DefineParams functions.
    • Auto-generate validators that are picked up automatically by ShuttleGui.


Future

  • (hard) Modify ResponseQueueTarget to provide intermediate results as we progress.
  • Fix crazy thread-loop instantiation of the ExecCommand function. That loop only needs to execute once.
  • Move BatchEvalCommand and MessageCommand to AudacityCommand.
    • These two are used to transfer data and responses, so converting them means dismantling more code
  • Improved error handling and reporting.
    • Design the strategy
    • Write
    • Document