a few years ago I got into trying to export audio files imbedded inside
Livecode to wave and aif and I got it to work, but just dealing with the
pointers and grokking how Livecode stored audio was a challenge. I didn't
try any processing.
The late Mark Smith was way ahead of me and even had a wav
Hi list,
I was wondering if it could be possible to generate sound
in real time with LC. I don't mean to play a sound file,
but to put together samples at a certain sample rate
(like 44.1 or 45 KHz) and output them, while changing
some parameters like signal frequency or amplitude.
I am currentl
Glen,
Just to add to whats already been said...
Your app can run at full screen mode or in a window.
Your app can resize and reposition the controls as the window is resized.
(using very simple commands inside a resizestack handler), so instead of
worrying about monitor size, you can make it
Craig,
Well done...not over done.
I hope you’re out from under your desk.
Glen
On Thu, Jun 6, 2019 at 6:18 PM dunbarxx via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Feel like I am overdoing this, but a bit more compact:
>
> on mouseUp
>put "06-Jun-2019;09:05:21" into rawTime -
Feel like I am overdoing this, but a bit more compact:
on mouseUp
put "06-Jun-2019;09:05:21" into rawTime -- your formatted moment here
set the itemDel to "-"
put item 1 of rawTime into tDay
put itemOffset(item 2 of
rawTime,"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec") into t
And we should not be sloppy about using a function to display the answer,
rather to return a value and let the calling handler do that. But I was
avoiding actually working when I snuck this in, so I was typing from under
my desk.
Craig
--
Sent from:
http://runtime-revolution.278305.n4.nabble.c
OF course you would need a little better than the last, so the DOW is not
just entered by me for testing:
on mouseUp
put "06-Jun-2019;09:05:21" into rawTime
put dissectRawTime(rawTime) into tSeconds
convert rawTime to seconds
end mouseUp
function dissectRawTime rawtime
get the long d
Try this in a button script somewhere"
on mouseUp
put "06-Jun-2019;09:05:21" into rawTime
put dissectRawTime(rawTime) into tSeconds
convert rawTime to seconds
end mouseUp
function dissectRawTime rawtime
get the long date ; convert it to dateItems
set the itemDel to "-"
put
Obviously I overthought this (thanks Bob)...I was trying to convert the
time separately and then the date and combining them which was leading to
issues.
The dictionary format example doesn't show this as being a solution...
Glen
On Thu, Jun 6, 2019 at 2:54 PM Bob Sneidar via use-livecode <
use-
First of all that date cannot be converted in that format. Secondly, try
convert "Jun 6 2019 09:05:21" to seconds
Bob S
> On Jun 6, 2019, at 11:40 , Glen Bojsza via use-livecode
> wrote:
>
> I'm pondering the easiest way to do a linear scale based on date and time
> data.
>
> My thoughts ar
Hi.
Write a simple function that dissects the string you gave. (Pseudo)
function dissectOddFormat
use itemDelimeters to isolate "06", "Jun", "2019", "09", "05" and "21"
reform these strings into the date/time format local to your part of the
planet
convert that new string to seconds or tick
I ran into this too concerning the "effective" keyword. The dictionary says,
"Adding the effective adjective to either form returns the area of the screen
the application has to itself. In particular, if the keyboard is activated, it
take into account if the keyboard is taking up space on the s
I'm pondering the easiest way to do a linear scale based on date and time
data.
My thoughts are that if you can change 06-Jun-2019;09:05:21 to epoch
seconds then it would possible to take all the similar timestamped data and
change it to seconds thus using it as an "x-axis" scale for graphing
purp
All good feedback! Fortunately I plan to limit the scope of things to the
desktop as previously mentioned.
I can't fathom the tablet / phone market given the number of devices and
their different specs.
Thanks to everyone for their input.
Glen
On Thu, Jun 6, 2019 at 2:12 PM Phil Davis via use-l
Hi Glen,
There are some screen resolution stats on the web that may be useful, at
least for 'general public' app window sizes:
https://en.wikipedia.org/wiki/Display_resolution
Phil Davis
On 6/6/19 6:47 AM, Glen Bojsza via use-livecode wrote:
Hello,
I was looking for input on the follo
1. that really depends on the app type and of course on the customers displays.
2. most customers i know have got 17" or higher displays with a ratio of 16:9
or 16:10. The minimum resolution is 1280x1024 or 1280x768.
3. When working with ERP tools or other business software for accounting,
shi
I deploy (fancy word saying I have a load of ancient Pentiums . . .)
some machines
in my school hooked up to flat-screens with a Max Res of 1024 by 780. I
mean,
at $10 a pop those monitors were impossible to resist!
I make my EFL (English as a Fried Language) standalones to a "standard"
of 102
Here's a silly thought that may help a bit . . .
http://forums.livecode.com/viewtopic.php?f=7&t=32683
Richmond.
On 6.06.19 16:47, Glen Bojsza via use-livecode wrote:
Hello,
I was looking for input on the following design questions...I haven't done
anything for years so I am looking for other
We use a height of 728—that’s in compensation for a variety of issues—some
laptops have very small screens:
LC window title bar (can be hidden by LC if necessary)
Windows Task bar (can be hidden by LC if necessary)
You can get the height of the screen:
(item 4 of the working screenRect) - (item
NVM it's in a column template script.
Bob S
> On Jun 6, 2019, at 09:09 , Bob Sneidar via use-livecode
> wrote:
>
> Hi all.
>
> I have one stack that will throw errors in the column behavior. I set the
> global gRevDevelopment to true and set a try catch with a breakpoint in the
> two pl
Hi all.
I have one stack that will throw errors in the column behavior. I set the
global gRevDevelopment to true and set a try catch with a breakpoint in the two
places where it seems to fail, but the script is not breaking. Instead it
ignores the breakpoint and continues to run.
How do I tr
NP. BTW what I do for functionality that exists in both buttons and menus is,
barring the handlers being in a library or behavior, I simply send mouseUp from
the menu script to the button with the pertinent handlers. It's easier to edit
the script of a button than it is to pull up the Menu Build
Bob, thanks for the info...I will start with 1024x768 as a minimal screen
resolution for now and see what happens. As for the combo of menus and
buttons I will try to find if there is a benefit of both and also usability
space within the app.
My target platforms are Windows 10 and OS X 10.X
Glen
The smallerst monitor I know of is 640x480. That is tiny. Many developers
require a minimal size monitor to function correctly. Our ERP system specifies
a minimum of 1024x768.
As far as scrolling, I suppose it depends on the app. Take Facebook for
example. It depends on scrolling. You couldn't
Hello,
I was looking for input on the following design questions...I haven't done
anything for years so I am looking for other developers' experiences.
1. what would be considered the smallest stack size for a desktop app?
2. Does the above fill most of the screens in use today ...ie what is the
25 matches
Mail list logo