Page 1 of 1

Thoughts provoked by something across the road. #1

Posted: Thu Jan 09, 2025 10:26 am
by richmond62
https://forums.livecode.com/viewtopic.php?f=7&t=39517

Someone was attempting to record sound with LC 7 on Windows 10 (which is all a bit freaky) using

Code: Select all

recordFormat
and so on.

This is marked in the Dictionary as only possible on MacOS, yet the person claimed that they got 'somewhere' with Windows 10.

The ability to record sound cross-platform would be fantastic . . .

Re: Thoughts provoked by something across the road. #1

Posted: Thu Jan 09, 2025 12:32 pm
by tperry2x
There's lots of bits like this, where it should really be cross platform but isn't.
In my opinion, what's the point of having a cross platform IDE, when some functions aren't available cross platform?

It's a bit like cutting a hole in the bottom of your boat to let the water out: not very logical.

There should at least be equivalent functions for Windows and Linux.

Re: Thoughts provoked by something across the road. #1

Posted: Fri Jan 10, 2025 4:04 am
by OpenXTalkPaul
Like with the macOS, this needs Quicktime ( for Widows) installed on Windows for it to work properly there, Which is software that Apple no longer supports, and hasn't for some time now.

But using Win32's 'Media Control Interface' (MCI strings) it should be possible to script recording a sound to a file.

I have written a script to record sound to file using FFMPEG, which is cross platform but depending on how FFMPEG binary was built with optional includes switches, it can be fairly big (>150mb binary).

What I'd like to do eventually is replace the backend for Media related syntax, the commands and functions that relied on Quicktime, with support for a FOSS media engine (or two or three) instead ( I've been listening to Richard Stallman a lot lately.)