Re: PHP -> curl -> LC

2022-10-18 Thread jbv via use-livecode
Hi Stephen, Thank you for your answer. Yes, I would be interested in some example using .htaccess, although my file is already full of rewriting rules and I'm afraid that it would add some conflicts... Best Le 2022-10-16 17:32, Stephen Barncard via use-livecode a écrit : Hi jbv, I think this

Processing WAV file sample data

2022-10-18 Thread Peter Reid via use-livecode
Hi I'm developing a project that will manipulate WAV files. The source files will be in the following form: - WAV stereo (2-ch), 48kHz, 16bit 16kbit, 2-15 secs duration, uncompressed The output will be a series of chunks from the source files, each being WAV mono (1,2,3,4 channe

Re: Processing WAV file sample data

2022-10-18 Thread jbv via use-livecode
Hi, I have been working on something similar : a stack that reads samples from wav mono files and displays waveforms in a graphic control. It works on Mac & Windows, but I haven't used it for a year, and AFAIR the code isn't too clean... Le 2022-10-18 07:10, Peter Reid via use-livecode a écrit 

Re: Processing WAV file sample data

2022-10-18 Thread Paul Dupuis via use-livecode
ffmpeg will do this. While a video tool, it has robust capabilities for manipulating audio track or just audio files. In one of the Livecode Global problem solving sessions this summer examples of using ffmpeg from LC was demonstrated and the sample stack is available if you subscribed to the

Re: Long shot question about OpenCV

2022-10-18 Thread Paul Dupuis via use-livecode
On 10/17/2022 9:24 PM, Mark Wieder via use-livecode wrote: On 10/17/22 15:00, Paul Dupuis via use-livecode wrote: Has anyone out there done any work at wrapping the OpenCV computer vision/image recognition open source library with LCB? See https://opencv.org/ I am particularly interested in si

Re: Mobile: Convert from screen to card coords

2022-10-18 Thread Klaus major-k via use-livecode
Hi Brian, I knew I forgot something... > Am 17.10.2022 um 19:53 schrieb Brian Milby via use-livecode > : > > Looking at the image, I’m not sure you can do what you want and have it work. > You can draw outside of the card rect, but you can’t interact with anything > outside of the rect. In

Re: Mobile: Convert from screen to card coords

2022-10-18 Thread Brian Milby via use-livecode
When you use “none” as the mode, then screen and card coordinates will be the same. When the app starts you should get a resizeStack that provides the opportunity to adjust the layout. Brian Milby br...@milby7.com > On Oct 18, 2022, at 8:56 AM, Klaus major-k via use-livecode > wrote: > > H

Re: Mobile: Convert from screen to card coords

2022-10-18 Thread Klaus major-k via use-livecode
Hi Brian, > Am 18.10.2022 um 15:05 schrieb Brian Milby via use-livecode > : > > When you use “none” as the mode, then screen and card coordinates will be the > same. 8-) > When the app starts you should get a resizeStack that provides the > opportunity to adjust the layout. Forgot to ment

Re: Mobile: Convert from screen to card coords

2022-10-18 Thread Mark Smith via use-livecode
Hi Klaus, I don’t use fullscreen mode anymore. It’s much better looking if you position all of the controls yourself. Here’s an example that should get you started… command layoutTheControls put safeAreaRect() into lSafeAreaRect -- the rect where it is safe to position all of the controls

Re: Mobile: Convert from screen to card coords

2022-10-18 Thread Klaus major-k via use-livecode
Hi Mark, > Am 18.10.2022 um 15:12 schrieb Mark Smith : > > Hi Klaus, I don’t use fullscreen mode anymore. It’s much better looking if > you position all of the controls yourself. Here’s an example that should get > you started… > > command layoutTheControls > ... > set the left of group id t

Re: Mobile: Convert from screen to card coords

2022-10-18 Thread Brian Milby via use-livecode
Klaus, My setBackground handler doesn't give a direct translation, but does start it. https://github.com/bwmilby/mobileDemo/blob/48b89b37aba41afb5a7b90cfc9bdbbca9e7f052c/mobileDemo_Scripts/stack_MobileDemo_card_id_1002.livecodescript#L105 Since we are talking about portrait on mobile, the extra s

Re: Mobile: Convert from screen to card coords

2022-10-18 Thread Klaus major-k via use-livecode
Hi Brian, > Am 18.10.2022 um 17:25 schrieb Brian Milby via use-livecode > : > > Klaus, > > My setBackground handler doesn't give a direct translation, but does start it. > https://github.com/bwmilby/mobileDemo/blob/48b89b37aba41afb5a7b90cfc9bdbbca9e7f052c/mobileDemo_Scripts/stack_MobileDemo_car

Re: Set behavior of standalone

2022-10-18 Thread Geoff Canyon via use-livecode
If you mean set the behavior *after* creating the standalone, that should be possible, but it won't stick. You would have to set it each time. If you mean set a behavior of a e.g. a stack or a card (or anything) before creating the standalone, then it should be possible and should be permanent. Is

Re: Set behavior of standalone

2022-10-18 Thread Craig Newman via use-livecode
The script only stack behavior not only should be set before the standalone is built, it must not reside in the executable. Craig > On Oct 18, 2022, at 4:46 PM, Geoff Canyon via use-livecode > wrote: > > If you mean set the behavior *after* creating the standalone, that should > be possible,

Easy Android adaptive icons

2022-10-18 Thread J. Landman Gay via use-livecode
For anyone struggling with Android adaptive icons, or who like me doesn't want to deal with Android Studio just to make a single icon, I found this: https://easyappicon.com/ It does work and is quick and easy. The Android icons are all placed in a single folder and I think you can probably jus