saveriobaq wrote:I already have a Windows app that allows the user to browse a directory full of voice recordings (wav, mp3).
The user can set filters in order to display, let's say, just yesterday recordings of agent John.
If the user clicks on one line of that listing I want to play the file.
and I presume that you want to use Audacity as the "playback engine".
saveriobaq wrote:I would like to run Audacity from the command line passing the voice file path as parameter.
To launch Audacity and load the audio file:
Code: Select all
audacity "fully-qualified-file-name"
"fully-qualified-file-name" means, the file name including the full file path.
There is no built-in command-line option to start playback, but you could perhaps programmatically generate a spacebar keyboard event (after allowing a suitable pause to allow Audacity to launch and load the file).
saveriobaq wrote:The Audacity configuration I would like to have, should hide most of the menus and buttons. Just to show the transport buttons.
To do this you would need to either modify the Audacity source code and rebuild Audacity, or use an old version of Audacity (2.1.1 or earlier) with a specially crafted language file. The latter option is documented here:
http://manual.audacityteam.org/man/simp ... acity.html but note that this documentation is obsolete and no longer supported. See also this forum thread:
http://forum.audacityteam.org/viewtopic ... 61#p294660
saveriobaq wrote:Also, I would like to set the window size in the configuration.
The window size is set in audacity.cfg which is Audacity's "Preferences" file. See:
http://manual.audacityteam.org/man/pref ... tml#stored
It may actually be easier to just use a command-line application for playing the file, or create a simple HTML interface.