Thoughts provoked by something across the road. #1

All flavors welcome.
Forum rules
Be kind.
Post Reply
User avatar
richmond62
Posts: 4831
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Thoughts provoked by something across the road. #1

Post 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 . . .
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 3209
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

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

Post 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.
User avatar
OpenXTalkPaul
Posts: 2633
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

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

Post 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.)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests