Command Line
You can use the command-line to pass individual files, folders, options, and commands to Resonic.
Parameter Basics
Options always begin with --, e.g. --option.
Options that can have values must be written in the form --option=value.
If an option value contains spaces the whole parameter must be quoted, i.e. "--option=value with spaces".
Boolean options can be negated using the no- prefix, e.g. --option and --no-option.
Non-options like filenames must never begin with --.
If a filename contains spaces it must be "enclosed in quotes" as well.
The order in which command line parameters are supplied to Resonic is not important.
Playing Files
To pass an audio file to Resonic and start playing it simply supply its full path:
To put Resonic into a different playback state and not start playing automatically use the --stopped and --paused options:
Resonic.exe "full path to file" --paused
Window Activation
By default Resonic shows and activates its main window when you open a file or folder via Windows Explorer integration (not available in portable version), or via the command line.
To change this behavior globally see Menu » Advanced.
You can override this behavior when playing files via the command line using these parameters:
--activate
This ensures that Resonic does not pop into the foreground unexpectedly.
Track Advance
To tell Resonic not to automatically advance to the next file in the list ignoring the global track advance setting for this one file, or to force track advance for this one file, use these options:
--advance
Th change the global auto-advance behavior for files and folders see Menu » Advanced.
Set Loop Selection (Pro)
Available from Resonic Pro 0.9.
There are a couple of options available to create a loop selection for the track:
To set the left locator of the loop selection (always required end or length):
To set the right locator of the loop selection:
To set the loop duration (overrides --loop-end):
Values range from 0..1, i.e., 0-100% of the total track length.
If you append an s letter to a value it is interpreted as a seconds value instead.
--loop-all
Note that this also works at runtime without specifying a filename, in which case Resonic Pro will modify the existing loop selection.
Remote Control Commands
Available from Resonic 0.9.
Resonic can partially be remote-controlled via the command-line.
For this matter a series of commands are available, which are also shared by the hotkey features.
--cmd=transportPlay
--cmd=transportPause
--cmd=transportPauseToggle
Multiple --cmd options can be specified at the command-line, which are then executed sequentially.
Because command names are not finalized yet (Beta) we're only listing a small assortment here. If you're interested in remote controlling Resonic from your application get in touch with us.
Missing Something?
You feel like we're missing some important command line features here?
Let us know and we'll see what we can do!