dkjMusic
-
Content Count
9 -
Joined
-
Last visited
Posts posted by dkjMusic
-
-
22 hours ago, Pat Foley said:If the runtime chart has clickable points perhaps its binding them at runtime. I run 6 Teecharts with 6 to 8 Lines 400 points or more plus legend updating with latency ~ 5ms.
What's interesting for a real time teechart when made visible, the memory size as the app increases to 1.5 megs 32bit and to 3 megs for 64 bit so 6 Teecharts if each is shown increase a 12 meg program to 40 ish. So there must be some lazy loading of UI parts going on. On win11 the app reported size shrinks in twenty or so minutes.
Pat, I have FamilyCurve.ClickableLine := False; for each line series.
21 hours ago, Arnaud Bouchez said:To be fair, there is a 14,000 time addition on both sides, more often outside of the IDE.
Something is interfering with your application, and wait for 14 seconds.
Don't guess, use a profiler. You will see where the time is spent.
For instance a good one is https://www.delphitools.info/samplingprofiler/
I ran the SamplingProfiler and, lo and behold, I did not see the 14-second delay for any of the graphs.
What could this mean?
Arnaud, please disregard this. I just reran the SamplingProfiler again and saw the same delays.
-
I am deveoping an app in Delphi 10.3 Community Edition. At one point the program retrieves equation parameters from a MS Access datbase and calculates x's and y's for a set of plots. It does this to produce 15 TCharts with 9 line series each.
I have found that these operations often take much longer to execute when I run the standalone app as compared to running the app in the IDE. Below is a table of execution times (using GetTickCOunt). The columns are TChart graph #, milliseconds in the IDE, and milliseconds for standalone.
# IDE SA
-- --- -----
1 703 14890
2 875 500
3 844 14828
4 829 14844
5 875 468
6 812 500
7 906 14859
8 1281 14813
9 938 14860
10 829 14875
11 15562 14844
12 937 14859
13 927 14860
14 812 531
15 828 14868What could explain the differences in execution times and what can I do to decrease the times for the standalone execution?
-
Wow. Thanks Dave, that worked like a charm. Can't wait to get started.
-
I have developed a Win32 app using the Delphi 10.3 Community Edition and I would like to create a version for Android. Unfortunately, when I installed Delphi, I did not include the capability for Android development.
Is there a way for me to modify my existing Delphi installation to include Android capability without a complete reinstall?
-
8 hours ago, Alexander Elagin said:Also look here: https://web.archive.org/web/20050307135804/https://www.simdesign.nl/fft.html
The archived version has all the necessary files while the actual site currently produces error 404
Alexander, thanks very much for your reply. This looks like just what I am looking for.
I'll let you know how it works out.
-
In my Delphi application I select a portion of a wave form for music in a Windows .wav file. I would like to then analyze that selection to produce a frequency spectrum like that in the image below. My objective is to identify the predominant musical pitches in the selection.
How can I obtain the amplitude vs. frequency data points for plotting?
-
Does anyone know whether the latest Delphi Community Edition includes Raize (Konopka) VCL components?
-
I want to extend the editor, perhaps using the Open Tools API, to open a fly-out menu automatically when a word(s) is highlighted in the editor. The Opera browser does this as shown in the screenshot below. I posed this topic on the IDERA Community forum and have received no replies. Cut and Paste could be added to the fly-out context menu. Can anyone point me to an example or how to get started?
App is faster in IDE
in General Help
Posted
shineworld, I just tried your approach and there were still significant delays in some of the graphs.
I have no idea what to try next.