Accessing the Internal microphone

Interested adding compiled externals from LiveCode and third parties to your LiveCode projects? This is the place to talk about them.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
garyb
Posts: 5
Joined: Wed Feb 12, 2014 3:53 pm

Accessing the Internal microphone

Post by garyb » Fri Feb 06, 2015 2:57 pm

Hi Guys looking to understand if there are routines I can use when wanting to record music from the internal microphone.

I essentially want to take the music analyse if for scale and tone and then provide feed back to improve the tone of the instrument.

This will require me to take the data-in and then work with it.. There will be no requirement to play the recording back.

Are there routines that can process musics data streams and process accordingly.

Kind regards
Gary

MaxV
Posts: 1579
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: Accessing the Internal microphone

Post by MaxV » Thu Apr 16, 2015 5:14 pm

On Linux you can use sox or arecord, for example:

Code: Select all

shell("sox -t alsa default output.wav")
See http://www.upubuntu.com/2013/05/how-to- ... -from.html
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm
Location: NE USA

Re: Accessing the Internal microphone

Post by WaltBrown » Thu Apr 16, 2015 10:32 pm

Check "record sound" in the Dictionary.
Walt Brown
Omnis traductor traditor

Post Reply

Return to “Using Externals”