Page 1 of 1

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

Posted: Mon Dec 12, 2016 8:45 pm
by Joop Sleijster
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.

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

Posted: Mon Dec 12, 2016 9:02 pm
by LiveCode_Panos
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
--

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

Posted: Wed Dec 14, 2016 12:47 pm
by Joop Sleijster
OK. Panos.
I wil wait.

Thank you for the response.

Joop

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

Posted: Wed Dec 14, 2016 2:44 pm
by kroka
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