CLI Recording

Dan Shoop shoop at iwiring.net
Wed Mar 14 14:01:12 PDT 2007


At 10:01 AM -0700 3/14/07, Daniel Hazelbaker wrote:
>Yes, as in bash.  i.e. something like:
>
>record --device "Built-In Microphone" --duration 3600 output.aif
>
>But as of yet, I have not found anything like the above that works 
>with Core Audio.
>
>Daniel
>
>
>On Mar 14, 2007, at 9:35 AM, Dan Shoop wrote:
>
>>At 2:49 PM -0800 3/9/07, Daniel Hazelbaker wrote:
>>
>>>I need a way to record from the CLI to an .aif (or .wav) from a 
>>>specific audio device.  Reason being is we do timed recordings 
>>>that we use as backups if our sound person forgets to hit record 
>>>on the CD or there is a problem etc.  We do not want to depend on 
>>>user intervention to click record.  Right now I use Linux, ALSA 
>>>and arecord from a cron job to do this, but I would like to move 
>>>to a Mac Mini running OS X.  Does anybody know of any software 
>>>that will let me record from a cron job even if a user is not 
>>>logged in?
>>>
>>
>>Whatever tool you use would be what has the specific command line 
>>interface and options. So depending on which tool you use will 
>>depend on what command line interface options are available.
>>
>>Do you mean a "shell", like bash, when you say CLI? In that case 
>>the command invoked will be the command of the  audio tool doing 
>>the recording.


PLEASE don't top post.

Presumably you already have some audio recording application and 
would use osascript on it.

`man osascript`

-- 

-dhan

------------------------------------------------------------------------
Dan Shoop                                                   AIM: iWiring
Systems & Networks Architect                      http://www.ustsvs.com/
shoop at iwiring.net                                http://www.iwiring.net/
1-714-363-1174

"The wise man doesn't give the right answers, he poses the right
questions." -- Claude Levi-Strauss

------------------------------------------------------------------------

iWiring provides systems and networks support for Mac OS X, unix, and
Open Source application technologies at affordable rates.


More information about the MacOSX-admin mailing list