Archives for: August 2009
31/08/09
WPF in VMWare is horrible...
… when hardware acceleration is switched on. Yeah, that’s weird, isn’t it? I’ve seen it several times on different machines though, including that one time when WPF was just killing my machine and I hunted around for the reason for two hours before remembering…
Part of the reason for this post. So, if WPF is running oddly slowly in your VM, try switching off the hardware acceleration setting. In VMWare Fusion on the Mac, you need to click on the Display icon in the settings window to find the Accelerate 3D Graphics setting. I know that other VMWare versions have the setting as well, but I’m not sure where exactly it is.
Every now and then I give this another try, because it seems so weird and I think perhaps they’re going to fix it one day. But as of today, this behavior is what it is on both my MacBook and my Mac Pro.
30/08/09
The amazing mood swings of SoundTrack Pro
I’m using SoundTrack Pro to do editing on recordings for Sod This, have done so since the first episode. Cool software, usually. But sometimes shit happens in it, and it’s just unbelievable.
When recording, I always try to remember to switch the track to mono, but about half the time I forget. By default it records in 24 bit, 44100 Hz, and saves as an AIFF file. So a typical one track recording ends up being a cool 600MB or so, in stereo.
Anyway, so I have to bring the thing down to mono before mixing it in. No problem – that’s what the Convert to Mono menu entry is for. Right? Yeah, theoretically. It works fine on the mp3 files Gary usually sends me from his end of the recording (yeah, somehow he can’t be bothered to set up that recording format to something more sensible). It usually works on my files as well. Sometimes it doesn’t, like today.
When it doesn’t work, the result is simply an empty file. Not a single sample left. Well, that’s not true – it still shows 12000000 samples or some such number, but they are all empty, silent. No idea why it does this. I can only imagine it’s a bug, perhaps based on the precise details of the encoding of the audio data. I just can’t imagine where it comes from. I can be accused of leaving all the settings on their defaults, but definitely not of fiddling them to some creative new combination every single time I record. Nobody else in the world seems to have that problem, or at least I can’t find a single mention of it in Google.
Brilliant, so I try fiddling around with the various encoding settings to try and work around that odd bug. Save my file in 16 bit (need to do that anyway, since a hard-learned lesson of the past is that Logic is too dumb to work with 24 bit files – not that it ever tells you so, it just doesn’t work), resample it to 32000, whatever. No dice. Hm, how come that the AIFF file I save for my recording is always called *.aiff, while the one I save from Gary’s recording is called *.aif (yeah, single ‘f’)? No idea – both are saved using the same file type in SoundTrack.
Anyway, finally I think what the hell, I’ll save the file as an MP3, since that works with Gary’s thing. Stupid, but there you go. Just need to use that Export command in SoundTrack to do that, right? Hey, what’s that? Export is disabled? Interesting… wonder why. Well, Google once more is clueless. Not a single fucking result. Should never be inactive, by all accounts. Brilliant.
Guess what I’m just doing? I’m using Audacity to encode the file as an MP3, hoping that I’ll be able to pull it into SoundTrack after that and finally start the actual work of editing it. Unbelievable but true. At least I have time to write this absolutely useless post in the meantime. If you ever see Sod This episode 6 come out, you know I’ve found a way to work around all this crap.
Update: Converting to mp3 didn’t help at all. I’m sure I’m not enough of an expert on this, but somehow I just can’t even guess what sort of a weird bug SoundTrack must have so it’s unable to do anything useful with my audio data. So, next idea: use Audacity to do the conversion to mono. No fancy menu option for it, but it seems to work so far…
28/08/09
Do I want my Snow Leopard to be 64 bit?
Hm… update to this recent post of mine.
I just found this blog post about VMWare Fusion’s support for Snow Leopard. Hadn’t thought about that yet – it doesn’t support 64 bit as the host yet, and possible won’t do so for the foreseeable future. In that case, I can’t even use the 64 bit kernel, since VMWare support is very important for me. Well.
That makes me think a thought I’ve never thought before… never really wondered too much about 32 vs 64 bit on the Mac. Guess why? Because it doesn’t seem to be important. Why is it important on Windows? Simple: because you can’t have more than 3.something GB of RAM in your machine before it stops recognizing more RAM on 32 bit. So if my current Leopard installation is 32 bit, how come it works with the 16GB I have in my Mac Pro? As usual, there’s probably more to the 32 and 64 bit labels than you see at a glance… answers welcome – I may research myself, but not now :-)
Update: A quick Google search revealed the answers – everything’s right here. Interesting read. Short answer: Mac OS X, as well as Linux, can use PAE to make available more than 4GB even in 32 bit. For reasons better left unexplored here, Windows can’t.
Will my Snow Leopard be 64 bit?
@DerAlbert just pointed me at an article in German, which links to a PDF file with release notes for a recent pre-release Snow Leopard version. What it says is that a 64 bit kernel will not be used by default in Snow Leopard – in spite of all the advertising Apple has done for the 64 bit focus of Mac OS X 10.6.
Although this information is about pre-release software (and yes, it shouldn’t be out there at all – somebody must have broken their NDA), it doesn’t seem likely that things will change before the final release (which according to Apple has been in the post on its way to my house since yesterday – not here yet though).
The release notes show a list of machines where the use of the 64 bit kernel can be forced during startup, and it seems that my Mac Pro is among those. So I’ll have a chance to test this, which is nice – certainly much more than Microsoft can claim for their own efforts at supporting 64 bit.
Something I like about my Macs: Apple tries hard to deliver me everything that’s reasonably part of the operating system I bought in one package. Cool.
Resizing multiple font sizes at once in Keynote
Recently I was configuring some slide templates and I found it impossible to resize several font sizes at once. In Keynote, there are placeholders that have multiple levels, most notably the one for the body, which has multiple levels of bullet points by default. These levels each have their own format settings of course, including their font sizes.
Now what if you want the whole thing a bit smaller? Maybe the first three are sized 42/36/30 and you want them to be 36/30/24. What do you do? Well, entering the font size in the combo box in the toolbar doesn’t work. Curiously, the combo box actually shows you several font sizes for the element if you have the entire placeholder selected, but you can only ever enter one font size there and all levels will be set to that size. Same with the Fonts dialog – I like the slider for the font size, but it sets all levels to the same size.
Now, when I was first looking for this a few days back, I didn’t find a solution, so I just replicated my sizes manually in the few places where I needed them. After I was done, I found the real solution, and when I had the same problem again today, I could remember finding the solution, but not what it was. Don’t you hate it when that happens?
Anyway, I remembered it eventually, and here it is: use the keyboard shortcuts or the menu entries from the standard Font menu to do the resizing. Command-+ will increase the sizes (for all levels, but keeping the relative sizing) and Command– decreases them. Cool, eh?
Good luck!


