Audio Server

You are currently browsing the archive for the Audio Server category.

I went to the Apple Store on 5th Ave before doing a little bouldering in Central Park.  Chris sent the Polish Traverse and made it look effortless.  At least someone is in shape.  So, I stopped by Apple and asked what they knew about the 802.11n chipset on the latest model iPod Touch.  Nothing.  They never know anything.  Seriously, I’ve had my best experiences at these stores only in the morning on very un-busy days.

I had to get a new battery once for a black Macbook and my options were: 1) schlep to Staten Island 2) buy one or 3) schlep to the 14th Street store because they are less busy.  I sat around the 14th Street store for about 45 minutes, crossed my fingers and waited for a lull in the ever present traffic.  The Genius there was very nice, she took pity on me and warranteed a new battery. But my other option was to come back to the 59th store at 5AM on a Friday. Their system blows, but I digress…

The employee didn’t have any specific answers about 802.11n on the new Touch.  It was his belief that it works, though I imagine if this were the case I’d have read at least one technical blog mention it.  Right now the word is that it has Broadcom’s mobile n chipset and it has a single antenna and it should be capable up to 30 Mb/s. Most tech writers speculate it’ll be enabled in the next 6 months. Oh well. Also, there is no camera yet on the Touch.

The image below links to the tear down, and if you’re into such things, click here for the Broadcom PDF spec sheet.

YouTube Preview Image

iFix it 802.11n iPod Touch Teardown

iFix it 802.11n iPod Touch Teardown

802.11n in iPod Touch

802.11n in iPod Touch

Thought I’d throw out a quick post while I was doing some searching for “best practices” in FLAC image extraction of audio CD’s for backup purposes.   Basically follow this guy’s instructions:

http://hiphopiscoolagain.com/jiggafellz-step-by-step-guide-to-secure-cd-ripping-with-exact-audio-copy/

In EAC you’ll click the “Actions > Extract Image + Cue Sheet > Compressed” function using your basic FLAC settings.  Also be sure to enable Accurate Rip and do the automatic detection on all the drive settings.  Save a .log file.  There should be three files upon final output: the FLAC image, the CUE sheet, and the .LOG.  That’s it.  Simple is as simple does.  If you feel like embedding the CUE sheet in the FLAC you can use Foobar2000 to do such, know however that it’s non-standard as far as burning back out.  Apparently it’s always handy to have a separate CUE sheet.  Good to know.

UPDATE: So, two things I realized.  One: XLD (X Lossless Decoder) for OS X does pretty much the same thing as EAC.  However, if you’re still hell bent on using EAC and XP (couldn’t get EAC to go under Darwine) it’s important to know that it won’t easily embed cuesheets (.cue sheets) automatically as XLD does.  Embedded cuesheets do make life a little easier as your playback software can look at either the .cue or the .flac file and see all the tracks from the single disc rip.

To embed a .cue using Foobar2000 right click on the .flac image file select “Utils > Edit cuesheet” a window will pop up, check “Embed cuesheet” and then “Load .cue file” from your extraction directory, click “OK” to save.  Bingo bango.  XLD can do this automatically.  I really cannot say which is better per data integrity, YMMV.  Obviously if you’re running Windows EAC is a “reference” standard.

Album art is another grey area as either the %Album Name%.jpg or simply “cover.jpg” can be used inside the album folder.  Also, what about album dates?  Certainly, we can agree that the album’s original release date is the important date here in metadata, and per genre conventions I tend to trust MusicBrainz.  For a good read I really liked Daniel Stout’s article about simplifying down to 25 main “top level” genres and tagging comments/notes metadata with sub-genres.  The moral here is you should read up as much as you can.  Either EAC or XLD will do fine with rips to backup your audio CDs.  Cover art and sub-genre notes I’m going to have to keep exploring.

Exact Audio Copy

Exact Audio Copy

There is not doubt that you get out of MythTV what you put into it.  I spent a good day, post system build, just getting things going.  I upgraded to the 180.51 stable NVIDIA driver for the 9400 GT card that I have, at first it presented some problems, but I used Synaptic upgrade manager with Jean-Yves’ Avenard.org optional kernel builds with VDPAU support and the machine seems to run pretty cool.  Yes that Antec 120mm fan is loud but I think I can run it on the low setting. Why Antec builds cases with fan holes that seem to be able to produce noise is beyond me.  Since it’s an exhaust you’d think they might as well make it a super open mesh or just an open circle.

The Apple “mini” Remote still doesn’t work.  I was able to get LIRC to recognize it via the HDHomeRun IR input, and it wrote to some .conf file somewhere, but it’s unclear exactly how to set it up from within Myth.  But Apache works, I need to install Avahi and Netatalk again so I can get access to all the recordings from the other computers on the LAN.  I still wouldn’t mind having a low powered server as a dedicated back-end, especially if I could run MT-DAAPD on that, ideally it’d be gigabit and something like an old Sempron 3000+ headless with say over 2 TB’s of free space.

I fixed a floor pump today that had a bad O ring using only teflon tape.  Science.  Also I had a double Americano using Stumptown beans at City Girl cafe on Thompson this morning.  So good… wicked Sláinte.

City Girl Cafe

City Girl Cafe via Noyda on Flickr

Hairbender

Hairbender via Lameen on Flickr

What happens to a dream deferred? Does it dry up like a raisin in the sun?  Or does it spend all weekend working out Ubuntu 8.04 command line shell commands to make a beautiful thing happen?  Namely, mount an Apple Time Capsule share over ethernet via Samba/CIFS and and then serve the data via mt-daapd to iTunes and Airport Express.  All from the command line baby.  Yeah.  Compile that package of Netatalk with libcrack2 and ssl. Talk to me dirty with inexplicable buffer writes in  vi baby.  And you’ll do a lot of apt-get.  And if you’re lucky you’ll do a few apt-get purge(s) thrown in there for good measure.

What about mounting the Time Capsule in Ubuntu?  Shouldn’t that be simple beans? You know, smbclient, smbfs, and GO right? It just works.  Hah. Apple doesn’t exactly have a support page for this sort of thing.  The crux of it for me was the domain=workgroup option, and figuring out that with Netatalk everything referenced .local addresses no the local IPs for some reason.  Whatever.  The FLAC flows now.  OGG, wavpac, you name it, this little Linux machine can serve it to iTunes whole.  No more dealing with that cursed iTunes XML library.  Unless of course you want to put music on your iPod.  I still don’t have that part completely figured out.  My feeling is you copy and add music as you want it on your iPod.

Got the two Airport Express Base Stations working on the network with Airtunes & iTunes.  I bought an older 802.11b/g one for wired usage and an 802.11n one for wireless audio in the kitchen.  I had to do hard resets on both of them before they’d show up on the Airport Utility.  I turned off wireless on the b/g one and told it to use Airtunes via ethernet.  The newer 802.11n Express joins our existing Time Capsule 802.11n network. Optical SPDIF out from the wired b/g Express goes into the E-MU 0404 DAC, unbalanced RCA analog line into the old Denon amplifier.  Works well.  Pretty light, open and clear DAC on the high end.  These old Bose speakers were never much for bass anyhow, and we don’t like to annoy the building.

Apparently Hulu’s content providers (which I believe includes FOX & NBC) decided to pull their support for Boxee.  Now if you haven’t been following Boxee, they are one of the few companies actually making inroads into “set-top conversion” software, allowing people with computers to get the TV shows they want legally from their computers onto actual television screens.  It’s sad really, that this should be an issue.  Almost every show we watch online (legally, usually via the networks’ streaming sites) usually only has one commercial.  So if you’re watching an hour of television at NBC.com and you’re hoping for a variety of commercials you’ll be disappointed, you’ll simply get the same commercial over and over again.  How is it they can’t figure this out?  I distinctly remember watching a Verizon LG Chocolate phone commercial approximately 30 times (with the Feist song as soundtrack) as multiple episodes of a show simply had the same commercial.

Anyhow, at some point I’m going to try and put together a small low power HTPC that can record and playback at least a 720p stream.  Most of the Intel Atom motherboards simply have abysmal video performance and NVIDIA is supposed going to release something soon (and possibly a new Mac Mini). XMBC or Boxee, or even XP Media Center would work as far as a front end.  My requirements are pretty minimal, I’d like to have a Firefly MT-DAAPD server running for music (transcoding .flac to .wav for iTunes/Airtunes) and possibly a second instance of it running for the rest of the mp3/aac/m4a’s.  I’d probably record shows via the SiliconDust HDHomeRun, which would give two tuners for playback/recording.  Mostly the challenge has been finding something that is close to silent and fanless (especially as the Atom could be fanless) but it really hasn’t been optimized for HTPC applications yet.  OSX86 (search “Hackintosh”) with Boxee and Elgato EyeTV could potentially be an option as well.  MythTV could work too.  Who knows?  Right now I’m pretty happy with the Airtunes and Firefly setup.

So I bit the bullet and ordered a couple of Airport Express base stations so that I can finally listen to music over both ethernet and 802.11n.  A small miracle, the old Dell P3 is able to transcode the FLAC on a USB hard disk drive attached to the Time Capsule (a Samba share via Bonjour in Windows XP mind you) and serve it via Firefly to the iTunes (as uncompressed .WAV with track info) on our Mac laptops.  So now, when I get the Airport Express base stations it should be a matter of selecting both “kitchen” and “living room” in the Airtunes settings and bingo bango, I’m done. Music everywhere.  If I’m ever flush I could use an iPod touch or iPhone to remote control via the mobile interface, however, I’m holding out until they offer 802.11n 5 GHz as a feature.  I don’t understand how Apple could push so hard for 802.11n and then not have it on the products that are supposed to integrate into the “home media system”.  So I think this is it.  It’s the end of the odyssey.  If Z’s in the kitchen with her laptop she can select music from the MP3 library via her iTunes, or if I want to listen to FLAC I select the Firefly Share.  Simple as that, really.

Sadly my Saturdays and Sundays have not been filled with ice climbing trips to hidden frozen waterfalls of the Northeast.  My hand feels better despite having a small gash where it hit the edge of the BMW car door. I imagine I’ll be able to go back to the MPHC climbing gym soon.  

I miss the outdoor rock.  Ryan, Josh and I went on a few climbing trips before it got cold and before weddings and Texas.  Ryan has photos of us climbing in the Gunks and Brewster, NY available here: http://picasaweb.google.com/ryanwesleywebb these are just a sampling.

 

Peterskill - Mark, Josh

Peterskill - Mark, Josh

Ryan in Peterskill

Ryan in Peterskill

Ryan, Ice Pond

Ryan, Ice Pond

 

Mark's hand Ice Pond

Mark's hand, Ice Pond

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I spent most of yesterday reading about MythTV.  If you feel like setting up an open source home DVR (TiVo like) then Mythbuntu or KnoppMyth seem to be a couple good stable options for creating a home Linux TV recording solution.  Obviously this will only work if your signal is “free and clear”. Dish, DirecTV, ComCast, Time Warner and basically any cable or satellite provider, encrypts all premium content.  So on the one hand, local network channels and basic cable should be “free and clear” (over digital cable local channels are usually free using QAM) but with satellite it’s more likely you’ll need to rent the DVR from them.  The only reason I’ve been considering it is because I’ve needed some sort of iTunes server back-end (see my Firefly MT-DAAPD post) and it might as well DVR network HD shows we want to watch.  Also, our ATSC tuner is old (2nd or 3rd generation) and I think the latest 5th or 6th gen tuner chipset should allow us to get all the local HD broadcast channels without fussing with the antenna. 

There are three parts to most MythTV setups, which could all be integrated into one system or distributed into three smaller systems:

  • The back-end is your dedicated server which should have low power and processing requirements.  I’ve been looking at the MSI Wind ‘Nettop barebones PC (MSI’s product page) which sells on Newegg for like $139.99.  It uses an intel Atom 1.6GHz processor with minimal power draw, I think around 35 Watts max, but you could probably optimize it to use somewhat less than this.  Obviously, HDTV content takes up a fair amount of disk space, so for starters lets say a 1.0 Terrabyte hard disk drive.
  • The actual TV tuner (which now ‘a days will need to be digital ATSC HDTV compatible, unless you still have analog cable) could be as simple as a PCI card in the back-end but something even cooler is the SiliconDust HDHomeRun.  This product is two ATSC tuners in one.  It transfers HD broadcasts from over-the-air (or QAM) to your server via ethernet.  It requires DHCP to obtain an IP address, but otherwise it’s just a little box with one 10/100 ethernet jack and two antenna inputs; ATSC to IP as it were. Your back-end will recognize it as two tuners in the setup. You could watch one while the other records or both could record simultaneously.
  • The front-end will be how you actually watch the content you have archived. Say you ripped all your DVD’s and you’ve been time-shifting several seasons of Top Chef, the “front-end” is what will do the heavy lifting of playback depending on the bit rate and resolution of the video.  It should look just like any other media playback menu.  From my reading, MPEG-2 is the optimal format to save content to (thankfully DVD and ATSC signals are already MPEG-2 so no transcoding is required) and MPEG-4/h.264 require more horsepower on your machine to playback smoothly.  My MacBook Pro Core Duo 2.0 GHz would be a fine front-end however I’d need to plug it in to watch shows.  I’d be able to watch live TV wirelessly on the laptop anywhere in the house though. Note: the Elgato EyeTV is another option for Mac OS X HDTV time shifting however it doesn’t have the front-end/back-end model, your laptop has to be on and plugged into the tuner to record.
Yup.  So that’s where I’m at.  I’ve already wired the 1GigE cable to the bedroom.  I still need to do a cable run to the kitchen, but that’s not really a priority.  I think having a small machine like the Wind PC in a closet would be a nice way to have both an iTunes server and a DVR.  Apparently MythWeb allows you to easily setup recording from your web browser, so you just login and set the shows you want to watch for the week and let the back-end do its job.  There are ways to “Sling” content to yourself if you’re out of town or something, but personally I think I could wait until I’m home, and besides most of the content by the big networks is instantly available online now for free viewing.

I’m trying to price this thing out…. on the one hand an iPod touch and a used 802.11g Airport Express base station with SPDIF optical out is about $250.  This requires a laptop running iTunes to be on and feeding it the music which is in turn controlled by the iPod Touch “Apple Remote” app.  So this is one relatively cheap option, really.  

Another option is the Squeezebox Classic which also can be found for about $200 plus $200 for the Touch running iPeng Squeezebox Remote Control app ($10), so for ~$410 you have perhaps a slightly more robust playback system that is open source and can play FLAC or any other file format for that matter and doesn’t require iTunes, but still requires a server/laptop running SlimServer.  Sonos sells a similar setup and they also have a free iTunes app.  The one cool thing about the Sonos is that no laptop is required, it seems it can pull directly from the TC as a NAS but that would be $350 + $200 iTouch.  

Maybe the cheapest, and I think I might try this route first since I already bought the damn Time Capsule which functions as a pretty good NAS / Backup server… For $25 Rogue Amoeba sells AirFoil which allows you to send your iTunes stream to either an Airport Express unit or any other computer on network (AirFoil Speakers is a free download) which means I could simply stream directly from one of our newer Mac laptops to the old thing in the closet which is plugged into the Edirol UA-5.  It’s a free download with 10 minute tests.  All the data would be on TC or a USB drive.  This might be the solution I was looking for.

Okay.  I tested it.  It works.  So that’s an option.  The final option is just the $50 Airport Express, no iPod Touch remote, and simply stream from the laptop to the base station SPDIF > DAC > Analog Out and control on the laptop as a remote.  The fan on the old laptop is really loud.  If can figure out a way to quiet it down.

Okay. Weirdly the stream from 89.9 WKCR doesn’t work in Winamp under Win2k on the old laptop.  So I’m back to the iTunes Foobar2000 plugin scenario and that seems to work fine, it’ll play any internet stream I give it.  Oh well.