Thanks to all who responded re the memory leak,
There were two aspects that I have been able to track down:
a) some major leaking in DB that was my fault, and fixed in 1A3;
b) some leaking whenever images based on PDFs are drawn, apparently a bug
in AppKit (i.e. apple's fault) that's been around for awhile.
-b
--
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca
Hi Mac drummers,
A new build of Doggiebox is out! Grab it now at
http://www.zygoat.ca/products/doggiebox/download/
New changes in build 1A3 (a.k.a. version 1.0c):
- vastly optimized display mechanisms in the pattern editor, so that
responsiveness to mouse tracking and clicking is markedly improved.
- fixed problems using 3/8, 5/8 time signatures.
- improved control over tempo specification; it is now possible to
specify the tempo in terms of any base note value via a pop-up menu in
the bar properties dialog.
- improved zooming function so that it's now possible to add and modify
triplets within individual beat positions simply by zooming in.
- fixed bug where the drum info controls in the Drum Kit Editor would
sometimes be greyed out, in particular after adding a new drum.
- up and down cursor keys now move the insertion point to the beginning
and end of song, respectively.
- fixed cosmetic issue where bar numbers of 100 or greater were truncated
(only the first two digits would appear).
- fixed some major memory leaks which would sometimes result in memory
used by drum kits and songs not to be deallocated when a song was closed.
- improved error handling when opening corrupt files or those that are
created with subsequent (too-new) versions of Doggiebox.
There is STILL no playback position indicator, but I promise it will be
in the next release! Given various circumstances I have decided to
release this build now, rather than delay things possibly by several more
days or a week. Playback indicator was going to be a principal goal, but
I became sidetracked in (and totally consumed with) overhauling lots of
the display and internal storage in the process, resulting in the huge
increase in UI responsiveness that I think you will appreciate in the interim.
As usual, please report any bugs, ideas, etc.
(Please note also that the documentation hasn't been updated yet to
reflect recent changes, but you should be able to figure it out.)
-ben
--
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca
Hi all,
I've discovered a rather serious memory leak in DB that seems to occur
whenever a drum icon is rendered -- be it the display refreshing, or the
cursor changing. I see this phenomenon even with build 1A1, running on
OS 10.2.
What I would like to know is whether any of you using 10.1 (not 10.2)
also can reproduce this; in other words, I want to determine whether this
is a bug related to 10.2, or a problem with my own code.
Here's how to test:
1. open a Terminal window, and type "top" (press return). This will
display a list of running processes, and various statistics, in the
window, and will refresh periodically (every few seconds).
2. launch Doggiebox, and open a song that contains at least one bar.
3. position the song window such that you are able to see the Terminal
window at the same time.
4. keep your eye on the number beside Doggiebox (which should now be
listed in the "top" display) under the right-most column labeled "VSIZE".
5. click around in the doggiebox window, adding and deleting drums.
Press and release the command key repeatedly to switch the cursor between
drum icons.
I find that consistently as I do this, the VSIZE keeps increasing. In
fact, just switching between apps (sending Doggiebox to the background
and vice versa) seems to leak several MB.
Does this happen under 10.1? can anyone else NOT reproduce this?
thanks,
-b
--
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca
When will the next build be available?
--
----------------------------------
B R A D F I E L D
http://www.bradfieldband.com
----------------------------------
On 11,10,02 at 11:07 pm -0400, Joe Chellman wrote:
>So, I downloaded it again and gave it another try. It seems to slow
>down as the number of notes increases. The blue background tracks
>pretty well, though. It's not perfect, but it's pretty good.
>
>If I make two bars of 4/4 and expand them to hold 16 sixteenth notes
>each, and fill each measure up with hihat notes, everything else slows
>down noticably. It doesn't start slow, but it does get noticably
>slower the more notes I put in.
Hi Joe,
Good news... I've spent the last couple of days optimizing the pattern
editor display mechanisms, and I've been able to make some *major*
improvements to the responsiveness of the UI. In essence, it's about to
the point where scrolling, tracking and clicking will be immediate, and
no longer influenced by the complexity of the score.
Stay tuned for the next build, hopefully within the next couple of days.
Also coming are improved time signature support and more refined tempo
control; right now I'm working on a playback indicator, which I can't put
off any longer!
Thanks for your observations, it's been a great help.
-ben
--
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca
Hey all,
I saw a new utility posted to VersionTracker this morning: Audio
Hijack... it lets you steal the audio output from *any* app, and not only
save it to disk, but also apply real-time effects (reverb, echo, EQ, even
use VST plugins)... check it out:
<http://www.versiontracker.com/moreinfo.fcgi?id=16382&db=mac>
Using Audio Hijack, it should be possible to export Doggiebox sounds to
AIFF now, while you're waiting for me to get native support done. :)
-ben
--
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca