Why does "Record sound file path" not work under Live Code 8

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Joop Sleijster
Posts: 46
Joined: Mon Aug 26, 2013 6:49 pm

Why does "Record sound file path" not work under Live Code 8

Post by Joop Sleijster » Mon Dec 12, 2016 8:45 pm

Hi,

In 2009 I built a stack using LiveCode 4.
This stack took sound recorded via the internal microphone and wrote the sound to a sound file.
This sound could then be played again.

When a new sound was recorded, the old file was overwritten.

Now I'm trying to make this stack Running under LC 8.1.1 (Indy or community).

Playback of the audio files works fine, but the recording and saving the file does not function under LC 8.

The old stack continued to operate t / m LC 6.6.5.
 Then with LC and 6.7 and subsequent versions, playing or recording and writing the sound did not function anymore.

I do not manage it to operate.

I think the problem lies with: record sound file filePath (see dictionary).
That does not write to a file (and does not make a recording?).


I found a solution thanks to peachboy ( see recording audio by minogaade).

But record sound file is in the dictionary and it seems to me that it must be possible for one to rely on the dictionary.
In other words: what’s in the dictionary must must be able to be carried out.

Through this post I want LC ask if something is done to repair this in the future.
If not,remove it from the dictionary.
So that the dictionary wil stay up to date.


Thanks,

Joop

N.B. I bought the "Live Code Dictionary & User Guide Bundle" and want to rely on it.

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: Why does "Record sound file path" not work under Live Co

Post by LiveCode_Panos » Mon Dec 12, 2016 9:02 pm

Hi Joop,

The

Code: Select all

record sound ..
command used QuickTime to do the recording. The use of QuickTime was deprecated in version 8.1 of LiveCode, meaning that the

Code: Select all

record sound ..
command currently does not work. This is a known issue, and the plan is to implement a sound recording API that will work cross platform.

In the meanwhile, since you have an Indy license, you could use the

Code: Select all

mergMicrophoneStartRecording
command for sound recording on Mac and iOS.

Best,
Panos
--

Joop Sleijster
Posts: 46
Joined: Mon Aug 26, 2013 6:49 pm

Re: Why does "Record sound file path" not work under Live Co

Post by Joop Sleijster » Wed Dec 14, 2016 12:47 pm

OK. Panos.
I wil wait.

Thank you for the response.

Joop

kroka
Posts: 52
Joined: Fri Sep 28, 2007 10:20 am
Location: Berlin, Germany
Contact:

Re: Why does "Record sound file path" not work under Live Co

Post by kroka » Wed Dec 14, 2016 2:44 pm

Panos,

could you give us a hint if the implementation of sound recording on Windows will be available soon?

I'm selling a multimedia program that is relying on recording options - and since many of my users refuse to use Quicktime now, they are waiting for an update.

Or would you know any workaround in the meantime?

Thanks

Kroka
"irgendwas is immer"

Post Reply

Return to “Multimedia”