Audacity configuration just for listen

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
saveriobaq
Posts: 8
Joined: Sat Jul 08, 2017 9:49 am
Operating System: Windows 7

Audacity configuration just for listen

Post by saveriobaq » Sat Jul 08, 2017 10:01 am

Hello,
  • I developed a Windows C# application for listen voice recordings, that is going to be used just to listen wav and mp3 voice recordings in different Windows PCs like W7, W8, W10.
  • I would like to run Audacity from the command line passing the voice file path as parameter.
  • The Audacity configuration I would like to have, should hide most of the menus and buttons. Just to show the transport buttons.
  • Also, the default configuration will not allow the user to make any changes to the file.
  • Also, I would like to set the window size in the configuration.
Please let me know if this is possible, and point me to the documentation.

Thanks a lot
Saverio
Last edited by steve on Sat Jul 08, 2017 10:18 am, edited 3 times in total.
Reason: fix tags

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity configuration just for listen

Post by steve » Sat Jul 08, 2017 10:20 am

saveriobaq wrote:I developed a Windows C# application for listen voice recordings
Do you mean that you want to develop an application, or that you have already developed the application?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

saveriobaq
Posts: 8
Joined: Sat Jul 08, 2017 9:49 am
Operating System: Windows 7

Re: Audacity configuration just for listen

Post by saveriobaq » Sat Jul 08, 2017 10:31 am

Hello Steve,
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.

Regards
Saverio

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity configuration just for listen

Post by steve » Sat Jul 08, 2017 11:13 am

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.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

saveriobaq
Posts: 8
Joined: Sat Jul 08, 2017 9:49 am
Operating System: Windows 7

Re: Audacity configuration just for listen

Post by saveriobaq » Sat Jul 08, 2017 11:41 am

Thank you very much Steve. You are very kind.
I am going to carefully review the option of using 2.1.1,
Thanks again and best regards

Saveriobaq

Post Reply