HydrogenAudio

Hydrogenaudio Forum => General Audio => Topic started by: barabba on 2016-11-13 15:52:32

Title: Looking for a sound recorder controlled by command line
Post by: barabba on 2016-11-13 15:52:32
Hi, thanks a lot for reoporting your experience and suggestions!

I'm looking for a Win32 (or 64) recorder, with these features:
1) Support line command, like pogram.exe /record , and program.exe /stop
2) show in tray the recording or stop
3) save file with date:time format as name

Do you know any software that suites that?

Would be nice to see also:
Vu-meter in tray, showing clip
adjust automatically the record volume base on average volume.
Save directly in .aac format

Thank you a lot!
Title: Re: Looking for a sound recorder controlled by command line
Post by: lozenge on 2016-11-14 23:06:05
sox (can be specifically invoked as 'rec') or ffmpeg (supports AAC) can both do this but it'd be better to write a little wrapper script to save specifying your soundcards input device, and expanding a variable to write the file as "DATE_TIME.aac" each time you want to record... Not sure how easy it is to put an icon in the tray on Windows, but the command window in which it was run shows what's going on (or just your usual prompt when stopped).  The built in ASCII meter in sox is nice, but AAC support might be trickier.
Title: Re: Looking for a sound recorder controlled by command line
Post by: barabba on 2016-11-15 00:19:01
Thank you a lot for kind reply!
The reason why I want vu meter in tray is that I've a full screen panel with buttons, and only windows taskbar is visible (no other windows can be displayed)
Title: Re: Looking for a sound recorder controlled by command line
Post by: Coreda on 2016-11-15 07:12:29
Was reminded of fmedia (http://fmedia.firmdev.com/), it has a minimize to tray setting and both GUI/CLI support for recording, though from the OP it sounds like you'd like to control a GUI via command line arguments. Haven't yet used it myself but was linked to it here a few months ago. Unsure whether it includes a date/time variable with its title formatting.
Title: Re: Looking for a sound recorder controlled by command line
Post by: barabba on 2016-11-17 17:24:20
thank you! it looks a solution, I wrote the author for some requests :)
Title: Re: Looking for a sound recorder controlled by command line
Post by: barabba on 2016-11-17 19:10:46
thank you Coreda, the program looks good! I wrote author if he can introduce a way to stop recording by command line.
For Vu meter, tray icon and automatic gain control I'm trying to use different programs