Question: How to detect level of microphone.

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
scottaandy
Posts: 2
Joined: Sun Jun 05, 2011 4:01 am

Question: How to detect level of microphone.

Post by scottaandy » Sun Jun 05, 2011 4:26 am

How do I begin to script a LiveCode program to graphically display the sound level input from of a USB or analog microphone? What LiveCode command do I call upon to sense the level of a microphone signal input to either the Mac's USB port or microphone jack? What resources can best lead me on this quest to sense a microphones level of sound input?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Question: How to detect level of microphone.

Post by Mark » Sun Jun 05, 2011 9:31 am

Hi scottaandy,

For USB input, you'll need an external.

For files, you can use a stack created by Mark Smith,called AudioWaveForm. You could ask him on the mailing list.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

scottaandy
Posts: 2
Joined: Sun Jun 05, 2011 4:01 am

Re: Question: How to detect level of microphone.

Post by scottaandy » Sun Jun 05, 2011 6:30 pm

Mark,
Thanks for helping. I'm not sure what is meant by an external is needed. I'm thinking back to HyperCard days when XCMD and XFCN expanded it's capabilities.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Question: How to detect level of microphone.

Post by Mark » Sun Jun 05, 2011 6:41 pm

Hi Scott,

We don't call them XCMDs and XFCNs anymore, we just call them externals now.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply