Thursday, June 21, 2007

Stereo Bluetooth Profile (A2DP) on Mac OS X Tiger with Jack Audio

The tutorial below is outdated and should not be attempted. 
If you want A2DP, upgrade to Leopard. 

Low latency Stereo Bluetooth Audio is now possible on tiger thanks to Tim Hewett's a2dpcast which uses Jack for recording from the system mixer or indeed any specific coreaudio application.

To use the new system:
  1. Download Jack for Mac OS X from here.
    Make sure to read the documentation on how to install properly on Intel Macs, especially making an Aggreagate Device with "Audio Midi Setup". For the exact proceedure watch the screencast at the bottom of this post.
  2. Download a2dpcast from Tim's website, here.
  3. Extract and copy to /usr/local/bin
  4. From a terminal run
    a2dpcast ADDR
As it's based on the bluetooth code in the previous instructions, please continue to post compatiblity experiences, here.

N.B. The old instructions posted on this blog are now obsolete!

Update: Improved compatibility with new version from Tim with special thanks to Paul Guyot.

Saturday, June 09, 2007

Blogger Template: Digg This button with a custom URL

As expected in migrating over to blogger all my posts have now got slightly different URLs. The question is what to do with posts which have already been dugg with the old URL?

The first step was to set up forwards from my old URLs with Apache 2.2's mod_rewrite.

Then using the instructions posted on ajaxcold, I integrated the "digg this!" button with automatically generated URLs. In the case of old stories I want to be able to specify a URL.
  1. In your Blogger Template (First tick "Expand Widgets"):
    • Below this line (Or anywhere between <head> and </head>):
    • Add these lines:
      <!-- Digg Url Override // -->
      <script type="'text/javascript'">
      var digg_url_override = null;

  2. In the existing "digg this!" button code from ajaxcold's tutorial:
    • Replace the line:
      digg_url = '';
    • With these lines:
      if (digg_url_override === null ) {
      digg_url = '';
      } else {
      digg_url = digg_url_override;
      digg_url_override = null;

Then when (re-)posting a story which needs a custom URL, switch to HTML editor, and at the very start on a single line paste:

<script type="'text/javascript'"> digg_url_override = 'CUSTOM_URL';</script>

Where CUSTOM_URL is the custom URL you want people to keep digging.


Wednesday, June 06, 2007

List of Working Stereo Headsets

This list is outdated. If you want A2DP, upgrade to Leopard.

Here is a round-up of stereo headsets reported to work with my earlier instructions, however this should be relevant for these instructions.

Reported Working (Intel)
Motorola HT820
Griffin Bluetrip
Plantronics Pulsar 260
Plantronics Pulsar 590A
Jabra BT 620s (1 report of performance problem, Other reports of success)

Reported Working (PPC)
Jabra BT320s
Bluespoon Spider Stereo

Reported Not Working (Intel)
Sony Ericsson's HBH-DS970
Omiz Combo BT headphone
Motorola S9
Motorola DC800
Jensen WBT212

Reported Not Working* (PPC)
Motorola HT820 (Static Outputted)
Motorola S9 (Static Outputted)

Information Requested
Sony DR-BT20NX

* It seems very likely that any headset that doesn't work on Intel Macs will not work on PPC Macs.

Migrating to Blogger

I've finally found time to moving this site over to blogger, which I've wanted to do since it got tags / category labels. Nasty side effect is the loss of comment date and times, oh well...