How to build a simple music server

September 6, 2016
 by Paul McGowan

Building a dedicated music server from a Mac Mini, or even a Windows NUK, can be a snap if you just want to load your products and go. These instructions will walk you through the process of building a simple server. If you want to get more in depth, go here to read the extended version of these instructions.

In a nutshell

These are the quick steps we’ll be taking:

  • Purchase a Mac Mini computer (under $499)
  • Purchase and install Bit Perfect from the Apple app store ($10)
  • Load your music on the Mini
  • Connect via USB to your DAC

With the goal of a small, quiet, affordable, lightweight box without a keyboard, mouse or screen, the choices available to us narrow down quickly. Many of you suggested a laptop. I nixed this choice immediately because of size. Even a small 13″ laptop is huge, relative to what we have in mind for our project, and doubles in size when you open it up exposing the screen and keyboard. Besides, it looks like a computer. I don’t want a computer, I want a dedicated music server.

Next comes the choice of platforms. This one’s obvious to me. Apple. Why? Well, if we ignore my dislike for Windows and Windows based machines and focus back on our design goals that include ease of use and setup, that really narrows the choice down. Say what you will about Apple products, they are dead easy to setup and use. In fact, they are so easy, many Windows users don’t like them because of their simplicity. Tough crowd.

The Mac Mini is an easy choice. Retailing for $599 with a 500Gb storage drive inside, this little baby is all you need. Measuring a mere 1.4″ tall and 7″ wide and deep, this little faceless unit weighs in at 2.7 lbs, is machined from a solid billet of aluminum and is about as elegant a “computer” as you can get. It does have a fan inside but you’d never know it. Here’s a picture of this little jewel. It doesn’t even look like a computer.

Mini

To set this product up you will need an old monitor, USB keyboard and mouse (any brand will do). The monitor needs a DVI input (or HDMI) which most in the last 5-years have. If you don’t have a monitor, you can buy one cheap from Amazon: here’s one for $39 used. Apple makes different adapters if yours is ancient enough to not have DVI, check with the guys at the Apple store if you have questions. Remember, you’re only going to need these for setup and perhaps those times when you want to load a big library, but never in use as a music server.

You’ll need internet access to setup the computer and perhaps 15 minutes. Apples are brainless to setup, just follow the instructions that appear on the screen and you’re done. Don’t setup anything other than the basic computer.

For my setup I also purchased Apple’s Super Drive because it looks cool, matches the mini and works great. You can use any USB DVD/CD ROM drive you wish. For me, staying cool and matching’s important, so I spent the $80 to get the rig I showed in the picture yesterday. All in I spent $734.30 with Boulder city tax of 8%.

Using iTunes for the interface

In our music server we’re going to use iTunes as the user interface. iTunes isn’t perfect, but it’s damn good. I’ll put together a tutorial of how to effectively use it as a powerful ally in building your library. iTunes used to be very intuitive in its operation, but they’ve simplified the thing down to the point where it no longer is so. That was a big mistake on their part, dumbing the product down to the point of frustration for anyone wanting to do anything like manage their library. But once you learn a few tricks, it’s easy.  Most of those tricks are included in this How To section of our website.

The good news about iTunes is that once our server’s built, library’s been added and edited to be the way we want, the program is awesome as a simple, gorgeous, easy to use controller. That’s one of the reasons I chose it over any number of other choices. No program is perfect, and there’s a small learning curve needed to manage your library in iTunes, but we’ll get you past these small hurdles quickly.

Another reason I chose the Mini as the platform of choice is iTunes and the Apple ecosystem. Once you’ve made the choice to go with iTunes for your library management and user interface tools, it then makes perfect sense to stay with the ecosystem Apple has created. Apple products work well together. Perhaps better than any other concoction you can imagine. Yes, iTunes works on Windows, but nothing about it is native, the mobile devices that connect with a Windows platform aren’t native and, well, the whole thing is just messy and too fiddly for me. Give me simple, it just works. To do this, stay within the walled garden Apple has created.

Choosing the iPad Mini

So while you’re in the Apple store, decide how much you want to spend on the user interface device. For my money I went with an iPad Mini. This little gem fits easily in the pocket, connects seamlessly with your new server and costs only $299. You can save $100 by going with the iPod Touch if you want really small (or use your iPhone if you have one), and this will work just as well. However, in my experience, it takes a bit of the fun and splendor out of the experience. Sitting in your listening chair with the iPad mini controlling everything you listen to (except the volume) is a real treat.

Using the Mac Mini for sound reproduction

Macs have some of the best sounding outputs between the two platforms, when used just straight out of the box, but there are issues. For example, if we play high resolution audio on our server we want the sample rate and bit depth to be exactly what’s on the recording. Yet both Windows and Macs won’t support this. On our Mac, you are supposed to choose a fixed sample rate for the output of your computer to the DAC via USB. Let’s say you choose 176.2/24 as the output. Whatever you play is then upsampled or downsampled to this rate. In other words, everything you listen to on your DAC is going to be molested by the computer. Not a good thing. Even if you manually set it each time, the computer will molest your music. To complicate the problems, there’s DSD. Neither Windows nor Macs have a clue what to do with DSD. We need to fix all of this if we’re going to build a true high-end music server.

What we want is a program that grabs the audio from iTunes and pulls it out of harm’s way. Not only that, we want to place all our music into the computer’s RAM and play from RAM, not from our hard drive. In addition to that, we don’t want our software to affect, in any way, the iTunes user interface. No, what we want is for a magic program that sits in the background and turns our music server into a bit perfect output, played through the equivalent of a Digital Lens straight and unmolested from any contamination right to our DAC.

Let’s keep it Bit Perfect

What we want in our choice of software is a means for the audio stored on our hard drive to get out of the computer without being altered or molested in any way. Both Apple and Microsoft want to fool with your audio in ways that don’t serve the music and we’re not going to let them do that. We do, however, want to keep iTunes for our music management tool. There are a few excellent software programs out there that do exactly what we want. I am going to tell you about the one I’ve chosen and why.

From the beginning of this project I’ve mentioned my goal was simplicity, no need for keyboards, mice and video screens, high-end performance and ease of use. I want all the features and fun of using iTunes for my music, but I don’t want any hassle or downside to playing it. A tall order actually, but it is achievable. Let me say upfront that none of the available choices for software are perfect, so we have to choose whatever we think is closest to our goals of simplicity without sacrificing the sound quality.

For this task I have chosen Bit Perfect. The program hides in the background as if it didn’t exist and yet is extremely powerful: grabbing the audio from iTunes and forwarding it in perfect form to the computer’s memory. There it fills up the memory until enough has been added, and sends it on its way out the USB port in bit perfect fashion (hence the name). Moreover, it makes sure the sample rate and bit depth remain exactly true to the source material without any intervention from the user. This last bit is certainly not unique amongst the available programs, in fact I don’t know if any of this is unique, but here’s what I do know: it seems to be the least intrusive to the user experience than any of the other programs I tried (and I tried most of the big names) without any compromise in sound quality. In fact, to my ears, the SQ is marvelous and close to that coming from the PerfectWave Transport Memory player.

I am also enamored with the use of the computer’s RAM to mimic what we call a Digital Lens. Again, I don’t know if this is unique to Bit Perfect, but it certainly works, is effective and best of all, Bit Perfect is only $9.95.

So what about DSD? If you’re going to be playing DSD, as certainly I will be doing, here’s where we come into a bit of a hassle. To use DSD files you have to run them through another program Bit Perfect offers called DSD Master. This $29.95 program is used to package DSD files in a form that iTunes can understand. iTunes and Mac or Windows machines can’t natively deal with DSD as I have written before in the series on DoP. Different programs handle this in different ways.

Putting all the pieces together

With this long preamble in mind, here’s the simplest way to build you music server.  You will need the following items:

  • A Mac Mini computer.  Use the most basic of models, or upgrade to the next step up in RAM and storage if you wish.  Increasing the RAM to as high as 16GB can help the sound.
  • A Mac iPad Mini.  Purchase the lowest cost one without the better screen
  • An Airport Express router
  • Apple Super Drive DVD player
  • Bit Perfect software
  • Bit Perfect DSD Master software
  • An excellent USB Cable.  For my server is Used a JCat
  • An old USB computer keyboard
  • An old monitor and mouse
  • An internet connection

As described earlier, connect the new Mac Mini to the computer keyboard and mouse for setup.  Follow the instructions on the Mac to set it up, register it, get the latest operating system etc.  This make take a few hours, be patient and get it the way you want.  Do not load any other programs.

Load your library into your new server

iTunes will come pre-installed on the computer.  Prepare to load your library into the Mac Mini.  You can do what I do, use the internal Hard drive, or you can use an external hard drive, one that is either on your home network or connected to the computer itself through USB.

If you wish to use the Mac’s internal hard drive, iTunes is already preconfigured for this.  Your files will be located in the iTunes Library, which you can access using the Mac’s Finder program.

If you wish to use an external hard drive to store your media, follow these instructions:

Open iTunes->Preferences->Advanced to see the location of the iTunes library.  You may select Change if you wish to use an external hard drive or NAS.  You must first make sure the desired drive is attached and recognized by your computer.  Once you select this drive, all music that iTunes manages will be accessed on this drive.

You will also note there is a checkbox that allows for iTunes to always copy any new additions to the iTunes to this location or not.

Screen shot 2014-05-25 at 7.04.09 AM

Set the import options

When iTunes imports a CD or music from any source, it will save it in the way you select.  My preference is to use AIFF, which is the same as WAV, only you are able to keep cover art and track titles.  This setting does not compress the music at all and because memory is inexpensive, highly recommended you do not compress the media, even with a lossless compression.

To select AIFF as the import setting:

Open iTunes Preferences.  Go to iTunes->preferences.  Go to the General preferences are and select Import Settings.

Screen shot 2014-05-24 at 10.13.58 AM

From the drop down list, choose the file type you want to convert to.  This is also the place where you set how you wish iTunes to import (rip) your media.  Select OK.

Import your entire library

Following the aforementioned guidelines, import your entire library, either onto your internal hard drive or your external hard drive.

Once imported, spend a good day making sure you have cover art that is correct, song titles, composers and artists labeled correctly.  Time spent on polishing and perfecting your music library is time well spent.

To manage the tracks and albums in your library, you can refer to this How To in our support section.

Purchase and load Bit Perfect

The next step, after your library has been uploaded, edited and ready to go, is to load Bit Perfect onto the Mac and launch it.  There are very few settings to adjust in Bit Perfect, but perhaps the most important is setting up RAM and Integer mode.  Open Bit Perfect Preferences menu:

Bit-perfect-preference

Set the memory buffer to no more than 25% of the total RAM size of your computer.  If your computer has 2GB of RAM, then this setting of 512MB is perfect.  Assign more if you have more RAM.

Setup the Airport Express

To set up the Airport Express router, which we recommend using as a separate router dedicated only to communicating between the iPad Mini controller and the Mac and iTunes, simply plug the AE into the wall.  Take a Cat 5 Ethernet cable and connect it between the Mac’s Ethernet input and the AE’s Ethernet LAN (Local Area Network) input as shown in this photo.

apple-12q2-airportexpress-schematic-lg

Once connected and powered up, open the Mac iPad Mini.

Connecting the iPad Mini

If you followed the previous instructions and loaded the free Apple Remote program on the Mini, all you will now need to do is configure the Airport Express to communicate with your iPad.  On the iPad, go to Settings->WiFi.  The Airport Express will appear as a choice.  Simply choose the AE as your WiFi choice and configure it as the system walks you through the simple setup.

Open Apple Remote

Once connected to the AE and your Mac music server, open the Apple Remote app.  The app will see your Mac and ask you to pair it.  You will need the computer monitor and keyboard connected for this part of the operation.  Follow the simple instructions to pair the iPad to iTunes and you should be good to go.

Connect your DAC

Using the USB cable you’ve chosen, connect one of the USB outputs on the Mac to the DAC’s USB input.  Launch Bit Perfect and open its Preferences.  You should now be able to select your DAC from the drop down list.  If your DAC is not recognized, we would recommend leaving the DAC connected and rebooting the Music Server, leaving Bit Perfect open.  The program should open automatically (if you didn’t close Bit Perfect) and your DAC should be seen.  Choose it and you are done.

have fun!

10 comments on “How to build a simple music server”

  1. I’m about to attempt this with a refurb Mac Mini w 16GB and 1 TB fusion drive I scored for $700, but I have some questions:
    1) Is the Airport Extreme router necessary? I have a modem & wireless router combo in another room, and a wireless repeater that hooks to cable coax right where I will put the Mac Mini. I can buy an AE and plug it into the repeater with ethernet cable IF it helps, but if I don’t need to spend the money …
    2) I have an older but GOOD preamp – a Classe SSP-600 – am I losing sound quality if I omit an external DAC and run from Mac Mini’s mini-toslink output to toslink digital input on the SSP? The SSP does not have HDMI nor USB audio inputs – my choices are line inputs, digital coax, or toslink

      1. so from the following version which would you suggest
        1. Mac Mini 2.3 i5. mid 2011, 500 gb hd ,8gb Ram
        2. CPU Core 2 Duo (P8600) RAM 16GB DDR3 HDD 1TB GPU Nvidia GT 320M
        3,mac mini 2014 i5 @ 1,4 500 hdd 4gb ram

  2. Bear with me if I’m making basic mistakes.
    Does this setup apply if I am setting up a Roon system? I would still use iTunes to rip CDs, but Roon would be doing all subsequent work.
    And would this apply if I have Roon core on another machine, and am using a client on a second Mac to feed my DAC?

  3. No comment but a question or two. I’m highly considering buying a new Mac desktop. Can I use that for the server and for regular computer stuff or Should I still get the Mac mini for server purposes? If i used the desktop would the instructions still be the same with regards to adding the recommended software and router? Thanks much. Nervous but willing to try. Love your videos.

  4. Paul, IMO, this is too basic and the SQ will not be that good. If I was purchasing a new DS or DS jr with the bridge II card, I would not be implementing this simple solution.
    There are some very basic things that need to be thought about before any implementation of a digital music server:
    1) in this simple setup, it requires you to place the music server and all of its hard drives in the audio room next to your equipment
    2) how much hard disk are you going to need? I have multiple TB’s of disk storage on my server (26TB’s on my mac mini). If you need to 2TB for your ripped music, you will need another 3TB of disk for your backup, it can’t be on another disk, preferable the backup disk should be on another server. Also, if you want to make your disks more fault tolerant, think about implementing a RAID 1 (mirroring over 2 disks and the system will continue to run if 1 disk fails) which will require another disk only for your ripped music, not your backup. Disk drives are very cheap, I buy 5TB and 8TB disks.
    3) backups!!! You MUST setup a disk for backing up your ripped disk. What happens if you purchase music or rip 2000 cd’s on 1 hard drive and the drive fails (they will fail at some time)? I never ever recommend a music server without thinking about disk drive backup scenarios. I actually have a 2nd backup that I store in a waterproof/fireproof safe in case the house burns down or gets robbed.
    4) iTunes is the worst application to use for your music, and i’m a Apple MAC guy. Many years ago, I switched from iTunes to the Audirvana app to read the music. Large improvement in SQ. Audirvana used to use itunes but modified their app to handle the library themselves.
    5) Before purchasing a new PS Audio DS with bridge II interface, I moved away from the mac mini server to a dedicated music server like the Auralic Aries which was the best and sounded much better than the mac mini using Audirvana 2.* using the AQ Diamond USB cable to another external DAC. I repurposed the mac mini as a true server, moved it into the basement, and had the Aries connect to the mac mini server to read from the mac’s hard drives. If somebody doesn’t want to install and maintain a music server app on a mac and they don’t want any disk noise in the audio room, and they don’t have a PS Audio bridge II setup, this is a simple option.
    6) If you want the best SQ, ditch the music server/USB (mac mini or dedicated music server) setup and get a Bridge network card. You can get a PS Audio bridge card for their DS/DS jr dacs, or Stereophile had a great review of the DCS network card. This is THE simplest way and provides (IMO) the best SQ to date. My mac mini server is in the basement so no disk noise in my audio room, I use Roon for the interface to my ripped music and for streaming Tidal, and I use an ethernet connection that ties everything together. With my setup, I can handle any type of music files that are currently out there: DSD/MQA/AIFF/Flac/etc…, I don’t need multiple software programs to read all the different files, just 1 software program Roon.

    I have gone thru all the steps and migrations starting 15 years ago of implementing a nice digital setup, using dedicated mac mini’s, dedicated music servers/streamers, and now using network bridges. Each step forward, requires selling older stuff at a big discount (for example, my AQ Diamond cable cost $750, sold it for 1/2 that, repurposed the mac mini as a server, no cost), and requires purchasing the latest hardware/software.

    Today, keep it simple: buy a mac mini with enough disk for your ripped music, buy a larger disk for your backups, get Roon, and get a network card based DAC. Done!

    1. I am buying a DS DAC with bridge. I want to thank the article writer and the recent contribution by rs350z on July 18, 2018 as well as the other correspondents. In short the PS community is wonderfull. Thank you to all

  5. Paul, I have a couple of computer audio neophyte questions for you. In this Mac Mini build example do you leave the Mini powered up at all times (and I assume I can configure it to reboot to iTunes)? I’m trying to avoid the hassle of having to reconnect monitors, keyboards….., also how do you add new music to an iTunes library without having to use a monitor? Thank you for the article and hopefully for a response to these questions.

    1. The mini is connected all the time and turned on all the time. I use Screens as a monitor and keyboard, which is an iPad program that connects.

      If I have a few to add I just use a USB stick and Screens to do so. If a lot, then I disconnect and use an actual keyboard. mouse, and screen.

      Lately I have been doing more streaming from the French service Qobuz than playing what’s on the hard drive. The quality is the same. Not so with Tidal, the other streaming service.

Leave a Reply

Stop by for a tour:
Mon-Fri, 8:30am-5pm MST

4865 Sterling Dr.
Boulder, CO 80301
1-800-PSAUDIO

Join the hi-fi family

Stop by for a tour:
4865 Sterling Dr.
Boulder, CO 80301

Join the hi-fi family

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram