Saturday, September 7, 2013

The Logitech USB To 3.5mm Jack Audio Adapter

The Logitech USB To 3.5mm Jack Audio Adapter allows you to connect an analog headset to your computer via the USB port. Some systems, like older Macs don't have an analog mic-in port, so they'll need a USB adapter in order to connect a microphone.

Logitech USB To 3.5mm Jack Audio Adapter

Product Features:
  • Compatible with Windows 2000, XP, Vista, MacOS X
  • USB 2.0 To Standard 3.5mm microphone and headphone jacks
  • Plug & play USB device for your PC or Notebook

Wednesday, September 4, 2013

XLR to USB converter for Mac

I'm looking for an XLR to USB converter for Mac. So far, these are the few options I'm looking at:

If anyone has any experience using any of these, share your thoughts in the comments.

UPDATE: Found this one also: the Zoom ZH4N Handy Portable Digital Recorder. It's an audio recorder that also works as an audio USB interface. It has it's own mic, plus a few ports (including XLR ones) for external mics. I'm just not sure if, when used as a USB interface, you can only record from the primary mic, or if it lets you record from any external mic directly to your Mac.

Monday, June 24, 2013

AS3 Random Numbers Generator

Here's an AS3 random numbers generator that I wrote a while back, and I thought I'd share it. I explain how to use it after the code.

var allNumbers:Array = new Array();
var randomNumbers:Array = new Array();
var highest:int = 55;
var pick:int = 6;

for (var i:int = 1; i <= highest; i++)
    allNumbers[i] = i;
    if (i == highest)

function getRandomNumbers():void
    for (var i:int = 0; i < pick; i++)
        var rand:int = Math.ceil(Math.random() * (allNumbers.length - 1));
        randomNumbers[i] = allNumbers.splice(rand,1);
        if (i == pick - 1)

// For more ActionScript 3 tutorials, visit

Here's how it works:

  1. The highest variable allows to to specify the highest random number that can be chosen. So for example, if you assign a value of 55, then the highest random number you can get will be 55.
  2. The pick variable lets you specify how many random numbers to choose. So for example, if you assign a value of 6, then 6 random numbers will be chosen.
  3. The code is set so that the lowest random number you can get is 1, and that each number only appears once.