Skip to content

"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/

Python
2.4 KB
Raw Blame

WaveTone Harness SOP

Target Software

WaveTone 2.61 is a Windows freeware application for transcription support. It opens audio files, analyzes spectrograms and fundamental frequency, detects keys and chords, edits notes, and exports MIDI, text, and processed WAVE output from GUI menu actions.

The local application layout inspected for this harness:

  • wavetone.exe: main GUI application.
  • data/asdecoder.exe plus BASS DLLs: bundled decoder support files.
  • wthelp/*.html: Shift-JIS help files documenting audio analysis and export.
  • No documented console help, batch mode, scripting API, or headless export command was found.

Backend Strategy

This harness does not reimplement WaveTone analysis. The real backend remains wavetone.exe, and cli-anything-wavetone wavetone launch starts that binary with an optional audio file argument.

Because WaveTone 2.61 exposes analysis settings, MIDI/text export, and WAVE export through modal GUI flows, this harness provides an agent-facing project manifest rather than pretending to generate native WFD data. The JSON manifest tracks the source audio, intended analysis settings, labels, tempo metadata, and any WFD path saved later from WaveTone itself.

Command Groups

  • project: create and edit the JSON manifest.
  • audio: inspect source audio metadata before opening it in WaveTone.
  • wavetone: check and launch the real WaveTone executable.
  • session: keep lightweight event logs for agent workflows.
  • defaults: show the default analysis settings used for new manifests.

Required Dependency

WaveTone is a hard runtime dependency. Set one of:

  • WAVETONE_EXE=C:\path\to\wavetone.exe
  • WAVETONE_HOME=C:\path\to\wavetone2.6.1

The backend finder also checks common portable extraction locations such as %USERPROFILE%\Desktop\wavetone2.6.1\wavetone.exe.

Known Limits

  • WFD is not generated by this harness because the format is not documented.
  • Real analysis and export still occur in the WaveTone GUI.
  • Headless export evidence is therefore limited to launch smoke coverage and audio/project file verification until a stable automation or scripting interface is discovered.

Validation Notes

The tests include unit coverage for manifests and audio probing, CLI subprocess coverage, and a real-backend smoke test that launches wavetone.exe with a WAV file and terminates it after a short wait.