timdoug's tidbits


2024-01-15

Fixing S/PDIF output levels

The Monoprice S/PDIF TOSLINK to RCA coax adapter is a handy device, but its output is pretty hot -- my oscilliscope reads a bit more than 1V pp into 75Ω termination, about twice what the specification describes.

After the 100nF cap on the 74HC04's output was a 150Ω resistor; I replaced it with a 390Ω one, now it's within spec at ~480mV pp. (I also lifted a pad, can't see the bodge on the other side though!)

[/music] permanent link

2021-06-14

Quickly and easily sum your Bandcamp purchases

This will give per-currency totals. Tested in Safari, Firefox, and Chrome.

  1. Log in to your Bandcamp account and visit the purchases page, i.e., https://bandcamp.com/[your username]/purchases
  2. Scroll to the bottom and click "view all NNN purchases"
  3. Keep scrolling down until all purchases have loaded
  4. Right-click on the page and select "Inspect" in Firefox/Chrome, or "Inspect Element" in Safari
  5. Click the "Console" tab in the inspector
    • Firefox only: type allow pasting to enable execution of the following snippet
  6. Paste the following into the console and hit return:

    totals = {}; $('div.purchases-item-total').each(function (){ res = $(this).text().match(/(\d+\.\d+) (\w+)/); if (!totals.hasOwnProperty(res[2])) { totals[res[2]] = 0 }; totals[res[2]] += parseFloat(res[1]); }); totals
It should look something like this (floating point math is quirky, elide tiny subcent portions if present):

[/music] permanent link

2009-06-17

Does Ableton Live work on an Eee PC 900HA?

Very much so. With two decks, equalizers, and a few other affects, CPU usage doesn't appear to go higher than ~20% or so. This may just become my new gig rig!

Just make sure to install QuickTime if MP3s are at all part of your setup. Cheers.

[/music] permanent link


© 2006-24 timdoug | email: "me" at this domain
So necessary