Recording sound being played

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
thatkeith
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 383
Joined: Mon Mar 01, 2010 7:13 pm
Contact:

Recording sound being played

Post by thatkeith » Thu Aug 14, 2014 9:33 pm

I have a stack that plays wav audio files, short clips that are played in an order determined by a string of text. I'd like to be able to record the sounds that are played into a new sound file. Format isn't important, just the act of capturing the audio.

From what I can see, LC will record from practically any external source imaginable. Can I record what LC itself plays, directly rather than what the speakers produce? Or am I missing something simple? (Again? ;) )

k
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist

thatkeith
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 383
Joined: Mon Mar 01, 2010 7:13 pm
Contact:

Re: Recording sound being played

Post by thatkeith » Fri Aug 15, 2014 8:18 pm

So, no joy? I got a half-reasonable result by simply playing the sound through the laptop's speakers and recording from the internal mic, but it's obviously not great quality.

If there's no pure LC solution for direct 'system' recording of what's played, would it be silly of me to try playing through the headphone socket wired directly to a USB audio interface and recording from that? Any thoughts?

k
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4174
Joined: Sun Jan 07, 2007 9:12 pm

Re: Recording sound being played

Post by bn » Fri Aug 15, 2014 8:46 pm

Hi Keith,

from what I understand what you want you might want to have a look at Trevor DeVore's enhanced Quicktime external

http://www.bluemangolearning.com/liveco ... rnals/eqt/

look at the documentation if it suits your needs.

I thought Klaus would spot your post, he is an expert for enhancedQT.

Kind regards
Bernd

Post Reply