Re: LC & Mac M1 Chip
Otherwise code uses fuzzy logic! LOL Rick > On Jan 9, 2021, at 5:34 PM, Curry Kenworthy via use-livecode > wrote: > > Otherwise code would be unpredictable. ___ 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
POST data size bug
I seem to have hit another bug in POSTing data to LiveCoder Server (Community 9.6.2) If the data being posted has 139000 characters the POST succeeds and I get a response back from my LC script in about 2.5 seconds. If I try to send about 14 characters I get a time out error. I presume the problem is in LC server, not in the internet library in my client. Neville ___ 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: LC & Mac M1 Chip
Me: > I'm planning to get an M1 Mac this year Naturally, right after I post this, Apple makes headlines (again) for doing something arbitrary and rather dim. So an ethical and professional disclaimer: I don't support self-contradictory and illogical policy, any more than self-contradictory and illogical UI. Shallow thinkers (and toddlers of all ages) focus mainly on external agreement. It requires some mental development to realize a need for intellectual consistency and indeed honesty. I like the way this principle is clear in the realm of coding. If true is also false, logic falls apart. Every logical branch in a script evaluates to true or false. True and false must be reliable, not arbitrary and capricious. Otherwise code would be unpredictable. (That's why people who rationalize have trouble writing good code: they are speaking a second language, and have trained themselves to imitate logic rather than following it! Mental habits matter.) Apple's biz practices make it difficult to avoid finally replacing my 2012 Mac, but as most people here probably know, I did not intend my statement as an endorsement. Glad Richmond can still work on the G5! :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ ___ 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: Audioclips overlapping
Hmm: writing as a lazy slob, I'm not entirely sure if I have the energy or the motivation to determine the length of 176 wav files. http://forums.livecode.com/viewtopic.php?f=10=35213 On 9.01.21 20:54, Rick Harrison via use-livecode wrote: Hi Richmond, Do you know how many seconds in length each clip is? If so, you could tell it to start a second or two sooner to help eliminate that pause you are experiencing. Rick On Jan 9, 2021, at 10:06 AM, Richmond via use-livecode wrote: Well, Yes, sort of, but I still get an annoying gap between the clips: they should play sequentially without any pauses . . . Best, and, while I'm here, wishing you a Happy New Year. Richmond. ___ 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: Audioclips overlapping
See the "prepare" entry in the dictionary. It's specifically designed to allow instant playback. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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: Audioclips overlapping
Hi Richmond, Do you know how many seconds in length each clip is? If so, you could tell it to start a second or two sooner to help eliminate that pause you are experiencing. Rick > On Jan 9, 2021, at 10:06 AM, Richmond via use-livecode > wrote: > > Well, Yes, sort of, but I still get an annoying gap between the clips: they > should play sequentially without any pauses . . . > > Best, and, while I'm here, wishing you a Happy New Year. > > Richmond. ___ 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
OT Re: Audioclips overlapping
Oh my! I had a minuet generator dongle for my Sinclair Spectrum!! So that’s how it worked! > On 9 Jan 2021, at 3:08 pm, Richmond via use-livecode > wrote: > > Erm . . . not sure about this, but the word 'concatenation' just bubbled > up in my brain. > > But any concatenation would need to be done on the fly inwith LiveCode. > > Having a seriously bonkers patch: > > https://introcs.cs.princeton.edu/java/assignments/mozart.html > > On 9.01.21 16:59, Klaus major-k via use-livecode wrote: >> Hi Richmond, >> >>> Am 09.01.2021 um 15:52 schrieb Richmond via use-livecode >>> : >>> >>> When I try to play a succession of audioClips they overlap each other. >>> Is there a way to ensure each clip does not start playing before the >>> preceding one has finished? >> do you mean this? >> ... >> play ac "a_clip.wav" >> wait until the sound is "done" >> play ac "another_clip.aif" >> ... >> >>> Richmond Mathewson. >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> 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 ___ 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
Native scroller and iPhone X and >
Hello and happy new year ! I’ve tested my app on an iPhone X and the height of the native scrollers are not corrects. It seems that this is due to the notch. The scrolling area is smaller than needed. Il i test the same app on an iPhone < X (without notch) it’s ok. What I missed ? Here the script ( it’s a locked grp with an field on it) : mobileControlCreate "scroller", sControlName mobileControlSet sControlName, "rect", the rect of grp « scroller » mobileControlSet sControlName, "contentRect", "0,0," & the formattedWidth of of fld « toScroll » & comma & the formattedHeight of fld « toScroll » Any ideas, i can't solve the problem. Thanks ! ___ 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: Audioclips overlapping
Erm . . . not sure about this, but the word 'concatenation' just bubbled up in my brain. But any concatenation would need to be done on the fly inwith LiveCode. Having a seriously bonkers patch: https://introcs.cs.princeton.edu/java/assignments/mozart.html On 9.01.21 16:59, Klaus major-k via use-livecode wrote: Hi Richmond, Am 09.01.2021 um 15:52 schrieb Richmond via use-livecode : When I try to play a succession of audioClips they overlap each other. Is there a way to ensure each clip does not start playing before the preceding one has finished? do you mean this? ... play ac "a_clip.wav" wait until the sound is "done" play ac "another_clip.aif" ... Richmond Mathewson. Best Klaus -- Klaus Major https://www.major-k.de 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: Audioclips overlapping
Well, Yes, sort of, but I still get an annoying gap between the clips: they should play sequentially without any pauses . . . Best, and, while I'm here, wishing you a Happy New Year. Richmond. On 9.01.21 16:59, Klaus major-k via use-livecode wrote: Hi Richmond, Am 09.01.2021 um 15:52 schrieb Richmond via use-livecode : When I try to play a succession of audioClips they overlap each other. Is there a way to ensure each clip does not start playing before the preceding one has finished? do you mean this? ... play ac "a_clip.wav" wait until the sound is "done" play ac "another_clip.aif" ... Richmond Mathewson. Best Klaus -- Klaus Major https://www.major-k.de 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: Audioclips overlapping
Hi Richmond, > Am 09.01.2021 um 15:52 schrieb Richmond via use-livecode > : > > When I try to play a succession of audioClips they overlap each other. > Is there a way to ensure each clip does not start playing before the > preceding one has finished? do you mean this? ... play ac "a_clip.wav" wait until the sound is "done" play ac "another_clip.aif" ... > Richmond Mathewson. Best Klaus -- Klaus Major https://www.major-k.de 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
Audioclips overlapping
When I try to play a succession of audioClips they overlap each other. Is there a way to ensure each clip does not start playing before the preceding one has finished? Richmond Mathewson. ___ 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