Bug Squash: AlexP on MacBook Vista Audio Problems, Other Wifi Adapters and DPCs?

alexp_dpc

I love the sound bugs make when you squish them under a solution.

AlexP, whose blog is also a great source for multitouch and the Sony PS3 Eye Camera and Windows drivers we used in the recent hackday, has been diagnosing his MacBook under Windows Vista. Hardware problems are often the source of sound blips on computers. I’ve talked previously about using the DPC Latency Checker to find this issue.

The good news: Alexander has found the problem (the Broadcom Wireless Adapter in some Apple MacBooks) and a solution (switching off Windows’ automatic wireless network search when you don’t need it). I actually wonder if a similar problem was culpable in early problems with network WiFi on Mac OS X Leopard. Whatever is going on, check out the fix here if you’re encountering this problem. And let us know if you’re seeing this on machines other than just the MacBook revision F; I’d imagine any PC with a similar wireless adapter might have the issue:

MacBook Rev. F Audio Skipping in Vista Analysis and Solution – Part 2

And yes, hardware/driver problems may frequently manifest as what Windows terms DPCs – basically, a symptom of hardware usage that can interfere with reliable audio performance. I’m curious whether WiFi connections specifically may be a cause in other cases. The problem is almost certainly not limited to computers from Apple – especially since, in this case, the MacBook is just behaving like any PC laptop with similar specs.

Tips: Fix Windows Explorer, Be Happy

I’m a big believer in open platforms, computer platforms, and the power to customize stuff. Unfortunately, there’s a simple reality: developers’ work is sometimes a bit like the proverbial bull in the china shop. (Code SMASH!)

In short: a lot of times when Windows’ file managemer Explorer is hanging, it’s not Microsoft’s fault. Misbehaved shell extensions – often installed without your permission by other tools you’ve installed – are often responsible.

If you’re like me, you’re willing to put in a little bit of effort if it saves you time down the road. For me, a few tweaks to Explorer resolve some of Windows’ biggest annoyances and make it workable, productive, and enjoyable for music making. (Greetings, FL Studio and SONAR and Reaper and Windows-only plug-ins!)

read more

Max 5 Bug Squash, Expo74 Max/MSP/Jitter Event in April

Max/MSP: it does a body good! Photo (CC Yao Chung-Han / worKingLab)

If you haven’t been following Max 5 updates, the folks at Cycling ‘74 have been aggressively bug squashing. The changelog for 5.0.6 alone is exhaustive. (Via @rekkerd on Twitter, of rekkerd.org.)

Updated: Also new in Max 5, it’s now possible as of 5.0.6 to properly save your patches to a version control repository. Don’t know what that is? Now’s a perfect time to find out — it means it’ll be easier to track changes you make to your own patches, and easier to collaborate with other people. And it’s free. From adamj, on comments:

RE: the diff’ing issue I was talking about above. Timothy Place (one of the Max developers) shared this helpful tidbit:

“Since the change log is a mile long, I’ll point out an obscure new power-user feature in Max 5.0.6.

You can send a new message to Max like this (or put it in an init file):
;max sortpatcherdictonsave 1

This makes it so that the JSON files that are use by Max for saving patches will keep the dictionary in the same order (alphabetized) every time you save. If you are keeping your patches in version control (e.g. SVN, GIT, CVS, etc.) then this should make your diffs a lot more usable.”

See: Version Control and Sharing for Patching: Keep Those Max, Pd Patches in Order with Git

And in other Max news, Expo74 will be a full-blown Max conference in April in San Francisco. You still have a few days to lock in the US$295 intro price (through 3/1). On the menu:

  • C74-taught workshops for users: live looping, 3D, Max for Live, new timing objects, etc.
  • Workshops for developers: C programming and the Max external API
  • Special guest speakers, including Robert Henke — but also Miller Puckette, the creator of the original Max and developer of Cycling ’74’s open-source rival Pd.
  • An afternoon on teaching Max
  • A “Science Fair” for sharing projects
  • Field trips
  • A “Relationship Manager” – a sort of conference concierge – plus access to the C74 folks, a bit like the Apple Worldwide Developer Conference

Expo74

It’s good stuff. And the price seems a very reasonable deal for a conference.

You know, it also reminds me that some of the events around the open-source tools could be friendlier than they are. And we like science fairs. I’m not sure that I’ll be able to make it out to California in April (I’ll be there in March for the Game Developer Conference), but eager to hear how this goes.

Now that’s my kind of Max patch UI. As designed by Keith A. McMillen; photo (CC) Julian Bleecker.

But speaking of open source, don’t want to spend April at an event for a proprietary tool? Prefer the East Coast to the West Coast? Like code better than patching? Like tools that begin with the letter “S” better than the letter “M”? Want tools that make you think of supermassive black holes? Oh, April in North America has you covered regardless of what you like. One moment while I write up another post…

Vista Bug Squash: Fix Driver Installation Problems with Class-Compliant Devices

Registry Editor

Welcome to our Bug Motel. Bugs check in, but they don’t check out.

Much of the OS discussion tends to devolve into generalities, philosophical debates, and religious wars. We’re going to try something different: wherever possible, squash the bugs. Here’s a tip for Windows Vista that finally allowed many of my USB devices to work properly.

Many music devices, including simple audio interfaces and (in particular) USB MIDI keyboards, don’t require drivers. These are sometimes called class-compliant devices, as they’re covered by standardized classes that describe what they do. There actually are drivers for them, but they’re provided by the operating system. And that’s a good thing.

Unfortunately, many people have found that Windows Vista has problems finding the drivers for these devices. Here’s a fix that works for me (and, apparently many others):

read more