-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Like many semi-interactive programs, Demlo's user-experience feels limited on the commandline.
In particular, it can be frustrating to re-run Demlo over and over with different pre-/post-/scripts until we get the result right.
I've been thinking of writing an Emacs mode to provide for a better experience.
Why Emacs? Mostly because:
- of its textual nature;
- of its keyboard-based, power-user bindings;
- I use it, I know it, I can program it :)
Running Demlo from Emacs would produce a special buffer "à-la-Magit" where each audio file would contain the diff as it is currently displayed in shells.
The entry would be collapsable.
There would be two collapsable subsections:
-
A subsection containing the list of scripts which could be turned on and off with a simple binding.
-
A subsection containing the pre/post scripts which would be writable (in Lua mode, obviously).
A C-c C-c key press on a track section would update the "diff" by running Demlo with the changed made to the scripts in the subsections.
A C-u C-c C-c would do the same to all tracks.
Last but not least, the diff "after" fields would be writable. This would effectively allow for a very convenient way of hand-editing tags and other properties.
Finally, C-x C-s would process the track at point while C-x s would process all tracks.