Re: How to Do: Download per http

2022-03-31 Thread Paul Dupuis via use-livecode

On 3/31/2022 3:00 PM, Hillen Richard via use-livecode wrote:

Hello,

My Mac is by usb connected to an iPhone, on which is running the 
data-aggregator Phybox.app and aggregates the sensor-data of the internal 
acceleration-sensor.

On Mac, when I write into the Safari address bar
"http://192.168.178.66/export?format=1“,
I receive the sampled data in a .xls-file by download from the iPhone-app.

I would like to download this file by LiveCode. But  I have no plan, how to do 
it.

May you help? I am very grateful for tips.

Richard.



I think you can do:

put URL "http://192.168.178.66/export?format=1"; into URL 
("binfile:"&tLocalFile) -- where the variable tLocalFile contains the 
file path to a new .xls file, such as 
"/Users/Fred/Documents/mySensorData.xls"


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


How to Do: Download per http

2022-03-31 Thread Hillen Richard via use-livecode
Hello,

My Mac is by usb connected to an iPhone, on which is running the 
data-aggregator Phybox.app and aggregates the sensor-data of the internal 
acceleration-sensor.

On Mac, when I write into the Safari address bar
"http://192.168.178.66/export?format=1“,
I receive the sampled data in a .xls-file by download from the iPhone-app.

I would like to download this file by LiveCode. But  I have no plan, how to do 
it.

May you help? I am very grateful for tips.

Richard.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: playrate & templateimage

2022-03-31 Thread Klaus major-k via use-livecode
Hi Martin,

> Am 31.03.2022 um 15:28 schrieb Martin Koob :
> 
> Hi Klaus
> 
> I have been meaning to test this but have to get my Windows machine up and 
> running.   I have been using my Mac exclusively for a while.
> I suspect I will get the same result as Paul but  I may get a chance to try 
> it before this week Saturday.
> I would be interested in how LC 10 works though.   
> In LC 9 the player is using AVFoundation on Mac or DirectShow on Windows.
> In LC 10  the player will use Windows Player Media Foundation.
> 
> https://livecode.com/livecode-10-sneak-peek/
> Windows Player Media Foundation
> 
> The current player on Windows uses DirectShow – which only natively supports 
> the WMV file format. Newer video formats (such as MP4) require third-party 
> codecs to be installed. The move to Media Foundation will mean these are 
> natively supported. MediaFoundation libraries support all the modern codecs 
> such as mp4 natively – so mp4s will play in player objects without any 
> thirdparty components needing to be installed in the OS.
> 
> Additionally, mirrored video playback will work correctly as well as 
> non-standard playback rates.
> This brings parity between Windows, macOS, Android and iOS video playback 
> features in terms of supported video formats.
> From what I remember the first DP of LC 10 did not include the new Windows 
> Player Media foundation.
> I don’t know if it has been added to recent DPs.   Once it is I plan to put 
> it through its paces.
> Hopefully that will resolve the issue with variable rate playback and result 
> in parity for windows and the other platforms.

yes, thanks, I already asked Heather and they cannot give a date yet, but it 
will definitively in the LC 10.x cycle.

> Martin

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: playrate & templateimage

2022-03-31 Thread Martin Koob via use-livecode
Hi Klaus

I have been meaning to test this but have to get my Windows machine up and 
running.   I have been using my Mac exclusively for a while.

I suspect I will get the same result as Paul but  I may get a chance to try it 
before this week Saturday.

I would be interested in how LC 10 works though.   

In LC 9 the player is using AVFoundation on Mac or DirectShow on Windows.

In LC 10  the player will use Windows Player Media Foundation.

https://livecode.com/livecode-10-sneak-peek/
Windows Player Media Foundation

The current player on Windows uses DirectShow – which only natively supports 
the WMV file format. Newer video formats (such as MP4) require third-party 
codecs to be installed. The move to Media Foundation will mean these are 
natively supported. MediaFoundation libraries support all the modern codecs 
such as mp4 natively – so mp4s will play in player objects without any 
thirdparty components needing to be installed in the OS.

Additionally, mirrored video playback will work correctly as well as 
non-standard playback rates.

This brings parity between Windows, macOS, Android and iOS video playback 
features in terms of supported video formats.


From what I remember the first DP of LC 10 did not include the new Windows 
Player Media foundation.

I don’t know if it has been added to recent DPs.   Once it is I plan to put it 
through its paces.

Hopefully that will resolve the issue with variable rate playback and result in 
parity for windows and the other platforms.

Martin


> On Mar 31, 2022, at 8:31 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Paul,
> 
>> Am 31.03.2022 um 14:23 schrieb Paul Dupuis via use-livecode 
>> :
>> 
>> On 3/31/2022 3:40 AM, Klaus major-k via use-livecode wrote:
 ...
>>> Well, that is the point, the PITCH does NOT change, only the speed of the 
>>> playback,
>>> and even you might to be able to hear that. :-D
>> Okay, I made a test stack with a player and a slider with playRate from -2 
>> to +2, current Thumb position 1 that on scrollBarDrag set the playRate to 
>> the thumbPosition and opened a mp4 video a tested.
>> 
>> 1) Under LC 9.6.6, changing the playRate can cause LC to hang, whether the 
>> video is playing or paused. Not every time, but some of the times it would 
>> just pop up an endless spinning windows cursor ball and Windows would 
>> declare that LiveCode 9.6.6. was "not responding" and a forced quit would be 
>> required.
>> 
>> 2) When it did work, I was able to change the playRate to 1.2 or 1.4 and 
>> while the video sped up, apparently my ears are better than I thought, as 
>> even I could tell the pitch got higher (the people's voices got higher 
>> pitched and "squeaky")
>> 
>> Windows 10 (latest build) LiveCode 9.6.6 STABLE.
> 
> thank you very much for testing!
> 
> So apparently it does not work on Windows as it does on a Mac, and thus 
> currently not usable for me.
> 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de 
> https://www.major-k.de/bass 
> kl...@major-k.de 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode 
> 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: playrate & templateimage

2022-03-31 Thread Klaus major-k via use-livecode
Hi Paul,

> Am 31.03.2022 um 14:23 schrieb Paul Dupuis via use-livecode 
> :
> 
> On 3/31/2022 3:40 AM, Klaus major-k via use-livecode wrote:
>>> ...
>> Well, that is the point, the PITCH does NOT change, only the speed of the 
>> playback,
>> and even you might to be able to hear that. :-D
> Okay, I made a test stack with a player and a slider with playRate from -2 to 
> +2, current Thumb position 1 that on scrollBarDrag set the playRate to the 
> thumbPosition and opened a mp4 video a tested.
> 
> 1) Under LC 9.6.6, changing the playRate can cause LC to hang, whether the 
> video is playing or paused. Not every time, but some of the times it would 
> just pop up an endless spinning windows cursor ball and Windows would declare 
> that LiveCode 9.6.6. was "not responding" and a forced quit would be required.
> 
> 2) When it did work, I was able to change the playRate to 1.2 or 1.4 and 
> while the video sped up, apparently my ears are better than I thought, as 
> even I could tell the pitch got higher (the people's voices got higher 
> pitched and "squeaky")
> 
> Windows 10 (latest build) LiveCode 9.6.6 STABLE.

thank you very much for testing!

So apparently it does not work on Windows as it does on a Mac, and thus 
currently not usable for me.


Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: playrate & templateimage

2022-03-31 Thread Paul Dupuis via use-livecode

On 3/31/2022 3:40 AM, Klaus major-k via use-livecode wrote:

Hi Paul,


Am 31.03.2022 um 02:01 schrieb Paul Dupuis via use-livecode 
:

...
Today I was delighted to find out that this is not the case anymore!
PITCH does not change anymore when setting the PLAYRATE!
Thanks for the hint, Frans!

At least on a Mac. Is this also the case on Windows?

could someone please test it and report here?

...

If PITCH was a property value I could test and report, but as I understand what 
you are looking for is for someone to adjust the playRate and HEAR whether the 
pitch is changing and I doubt - with my bad hearing - I could tell if the PITCH 
was changing!

Well, that is the point, the PITCH does NOT change, only the speed of the 
playback,
and even you might to be able to hear that. :-D





Okay, I made a test stack with a player and a slider with playRate from 
-2 to +2, current Thumb position 1 that on scrollBarDrag set the 
playRate to the thumbPosition and opened a mp4 video a tested.


1) Under LC 9.6.6, changing the playRate can cause LC to hang, whether 
the video is playing or paused. Not every time, but some of the times it 
would just pop up an endless spinning windows cursor ball and Windows 
would declare that LiveCode 9.6.6. was "not responding" and a forced 
quit would be required.


2) When it did work, I was able to change the playRate to 1.2 or 1.4 and 
while the video sped up, apparently my ears are better than I thought, 
as even I could tell the pitch got higher (the people's voices got 
higher pitched and "squeaky")


Windows 10 (latest build) LiveCode 9.6.6 STABLE.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: playrate & templateimage

2022-03-31 Thread Klaus major-k via use-livecode
Hi Paul,

> Am 31.03.2022 um 02:01 schrieb Paul Dupuis via use-livecode 
> :
 ...
 Today I was delighted to find out that this is not the case anymore!
 PITCH does not change anymore when setting the PLAYRATE!
 Thanks for the hint, Frans!
 
 At least on a Mac. Is this also the case on Windows?
>>> could someone please test it and report here?
>> ...
> If PITCH was a property value I could test and report, but as I understand 
> what you are looking for is for someone to adjust the playRate and HEAR 
> whether the pitch is changing and I doubt - with my bad hearing - I could 
> tell if the PITCH was changing!

Well, that is the point, the PITCH does NOT change, only the speed of the 
playback, 
and even you might to be able to hear that. :-D


Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: playrate & templateimage

2022-03-31 Thread Klaus major-k via use-livecode
Hi Alex,

> Am 31.03.2022 um 01:46 schrieb Alex Tweedly via use-livecode 
> :
> 
> 
> On 30/03/2022 22:18, Klaus major-k via use-livecode wrote:
>> 
 At least on a Mac. Is this also the case on Windows?
>>> could someone please test it and report here?
>>> Thank you!
>> really noone has a minute to test? :-(
>> 
> Oh, I have a minute. Unfortunately, I don't have a 'Windows".
> Alex.
> P.S. Actually, I think it's "fortunately I don't have a Windows" :-)

LOL! :-D

Thank you for at least wanting to try. ;-)


Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: New desktop freeware app

2022-03-31 Thread Klaus major-k via use-livecode
Hi Tom,

> Am 30.03.2022 um 23:37 schrieb Tom Glod via use-livecode 
> :
> 
> Hallo Klaus, congrats , looks interesting and useful.  

thank you!

> Will you be marketing this ?

No, don't think so. I released it as freeware, since I cannot afford an 
Apple Developer Account in the moment and probably not in the future.


Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: playrate & templateimage

2022-03-31 Thread Klaus major-k via use-livecode
Hi Peter,

> Am 31.03.2022 um 04:16 schrieb Peter Bogdanoff via use-livecode 
> :
> 
> I’ve just tried LC 9.6.6 in Windows and playrate functions as 0 = stopped or 
> > 0 = playing normal rate. Tested by playing a wmv and a mp3. Entering in a 
> positive number other than 1 causes it to pause for a second or two then 
> start playing at normal speed.
> 
> Mac does do the “variable speed” with both mov and mp3.

oh, thank you.
Sounds like this may only work at some time in LC 10 with the new 
"Mediafoundation" framework on Windows.

> Peter Bogdanoff
> 
> ...
> Today I was delighted to find out that this is not the case anymore!
> PITCH does not change anymore when setting the PLAYRATE!
> Thanks for the hint, Frans!
> 
> At least on a Mac. Is this also the case on Windows?
 could someone please test it and report here?

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode