Building a music server - tutorials...?

Posted by: Gajdzin on 09 January 2014

As a new owner of a Naim XS system I started listening to music much more and re-discovered many old CDs. Sadly, I many have deteriorated with age, esp. those bought in mid-80s in Japan. The actual metal foil on which the grooves are printed developed visible holes and cracks. So, before the rest of my collection shares this fate, I decided to take a plunge and digitize all my CDs onto a music server. It will be a bit of effort (put 2000 CDs into a PC one by one), but I don't want to lose any more valuable CDs. Two questions:

 

1. Can anyone recommend an online tutorial on setting up a music server, maybe using a standalone NAS device (as potentially less noisy and power consuming than a PC)?

 

2. Any hardware/software recommendations (keeping in mind that whatever I buy must work flawlessly with my ND5 SX & n-Stream)? Pls note I can't afford Naim hardware, it will have to be 3rd party.

 

PS. I did do my Google homework, but emerged only confused with a multitude of acronyms... I also searched this forum, but didn't find a topic like that, maybe I missed one?

Posted on: 09 January 2014 by pcstockton
Originally Posted by Jude2012:

A variation on the Mac mini approach (if you like the size and asteriscs of the mini) is to run Windows on it.

That is the best of both worlds.

Posted on: 09 January 2014 by nbpf
Originally Posted by Gajdzin:
As a new owner of a Naim XS system I started listening to music much more and re-discovered many old CDs. Sadly, I many have deteriorated with age, esp. those bought in mid-80s in Japan. The actual metal foil on which the grooves are printed developed visible holes and cracks. So, before the rest of my collection shares this fate, I decided to take a plunge and digitize all my CDs onto a music server. It will be a bit of effort (put 2000 CDs into a PC one by one), but I don't want to lose any more valuable CDs. Two questions:

1. Can anyone recommend an online tutorial on setting up a music server, maybe using a standalone NAS device (as potentially less noisy and power consuming than a PC)?

2. Any hardware/software recommendations (keeping in mind that whatever I buy must work flawlessly with my ND5 SX & n-Stream)? Pls note I can't afford Naim hardware, it will have to be 3rd party.

PS. I did do my Google homework, but emerged only confused with a multitude of acronyms... I also searched this forum, but didn't find a topic like that, maybe I missed one?

I think you have better chances to find specific information if you cut down your problem into a few specific subproblems. I find it useful to distinguish between:

1) The problem of ripping a CD collection and build a digital library. This can be cut down to the problem of selecting ripping software, workflow, file formats, directory structure and naming rules.

2) The problem of maintaining and expanding such collection. This can be cut down to the problem of retrieving missing metadata, (re-)tagging your files, secure your data.

3) Setting up and running a DLNA server for your ND5 XS client. This can be cut down to the problem of selecting your network layout (this essentially depends on whether you can have a wired connection between your router and your ND5 XS or not), hardware, OS and DLNA server.

For 1) I found the following links useful:

  http://www.stereophile.com/fea.../308mp3cd/index.html
  http://www.oreillynet.com/onla...etween_mp3_flac.html
  http://de.wikipedia.org/wiki/Rubyripper
  http://code.google.com/p/rubyripper/wiki/Manual
  http://www.dbpoweramp.com/

With your ND5 XS you can already enjoy your music right after you have started building your collection ! Just store your first 500 rips into a 500GB SSD drive and connect the drive to the front USB port of your ND5 XS. You can then browse through your folders with n-Stream.

For 2) I have found the following links useful:

  https://wiki.gnome.org/Apps/EasyTAG
  http://rsync.samba.org/
  http://www.albumartexchange.com

For 3) it very much depends on your network layout. If you are after a flexible, low budget DLNA server you will find very competent advice in this forum:

  https://forums.naimaudio.com/to...raspberry-pi-and-ndx

I am running an MPD server and two DLNA servers (minidlna and Asset UPnP, just for test purposes since I still have not bought a streamer) on a minimal Debian stable installation on a fit-PC3 low power:

  http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki
  http://sourceforge.net/projects/minidlna/
  http://forum.dbpoweramp.com/sh...PnP-for-Raspberry-pi
  http://www.debian.org/
  https://store.tinygreenpc.com/...pc3-1/fitpc3-lp.html

I have found the followng link particularly useful:

  http://www.thewelltemperedcomputer.com/HW/PC.htm

Posted on: 09 January 2014 by rjstaines

One last word...

 

Whatever you do, keep a second (backup) copy of your music files.  When a mirrored NAS drive 'falls off its perch' (dies) you can so easily lose both mirrored disks & your data with them.  It doesn't happen often, but it happens !

 

Remember the three certainties in life... death, taxes and every hard drive will fail 

 

...boy am I feeling cheerful tonight !! 

Posted on: 09 January 2014 by Sorren
Originally Posted by rjstaines:

One last word...

 

Whatever you do, keep a second (backup) copy of your music files.  When a mirrored NAS drive 'falls off its perch' (dies) you can so easily lose both mirrored disks & your data with them.  It doesn't happen often, but it happens !

 

Remember the three certainties in life... death, taxes and every hard drive will fail 

 

...boy am I feeling cheerful tonight !! 

Not cheery but good advice 

Posted on: 09 January 2014 by Gajdzin

nbpf, I owe you a beer! You have approached my questions in a very logical and methodical way and took the time to point me into excellent resources on the 'net. Please drop by Warsaw, Poland to claim your beer  You ask about my home network: key components are wired by CAT5 in addition to wi-fi. I like cable But the topology is kind of accidental and reflects various needs over 10 years, not something logically planned. So I think I'll use this Naim adventure as an opportunity to re-wire my house.

 

PS. It's funny how it all started with my old CD player (Arcam Alpha 9) breaking down before X'mas. Arcam service couldn't fix it, no more parts for 15 years old model. So I went to a hi-fi shop to buy a new one. This lead to getting Naim 5XS. Which lead to getting a Nait XS to go with it. Which lead to replacing my old Celestions A3 with new speakers. Which, amazingly, lead to getting ND5 (speakers sounded so good, I had to have Radio Paradise playing, too), then to re-discovering my CD collection, which lead me to the NAS idea, which will probably lead to re-wiring my house network, and who knows - if in the process I discover the rooms are not optimally laid out, to building a new house???

Posted on: 10 January 2014 by nbpf
Originally Posted by Gajdzin:
nbpf, I owe you a beer! You have approached my questions in a very logical and methodical way and took the time to point me into excellent resources on the 'net. Please drop by Warsaw, Poland to claim your beer

I'm glad you find the pointers useful, I might indeed sometime be able to drop by and claim my beer (Berlin is actually not so far away from Warsaw), thanks !


PS. It's funny how it all started with my old CD player (Arcam Alpha 9) breaking down before X'mas. Arcam service couldn't fix it, no more parts for 15 years old model. So I went to a hi-fi shop to buy a new one. This lead to getting Naim 5XS. Which lead to getting a Nait XS to go with it. Which lead to replacing my old Celestions A3 with new speakers. Which, amazingly, lead to getting ND5 (speakers sounded so good, I had to have Radio Paradise playing, too), then to re-discovering my CD collection, which lead me to the NAS idea, which will probably lead to re-wiring my house network, and who knows - if in the process I discover the rooms are not optimally laid out, to building a new house???

I came through a similar experience last year as I started to buy music from www.gubemusic.com and http://www.prestoclassical.co.uk/ and to rip my (very limited) CD collection. I stored my FLAC files on my mobile phone and bought a  Beyerdynamic DT1350 headphone and eventually realized that I might want to upgrade my 20 years old Rotel amp and Celestion 5 speakers. I have been about to buy a SU or a ND5 + Nait XS last year but did not pull the trigger. I was annoyed by the fact that NAIM is not supporting external SSD drives as sources with a rear USB port, eventually I decided to build up the server infrastructure first. At the moment I am running MPD on a fit-PC3 with a Hiface DAC connected to one of the rear USB port of the server. The output of the Hiface DAC goes into the old Rotel AUX input. The plan is now to upgrade my system stepwise according to the following scheme:

1) replace the Rotel amp with a NAIT XS 2 or a SUPERNAIT 2.

2) replace the Celestion 5 speakers with I do not yet know what.

3) replace the Hiface DAC with a better DAC or a streamer.

The idea is to defer the choice of the source, step 3), to the time after I have upgraded the analog section through 1) and 2). Up to that point I will rely on the Hiface DAC as a source. This is a very capable little piece of hardware (it supports up to 32bit/384kHz data) that will land into my laptop bag after I have managed to get through 3). For the moment it is my source.

Caveat: this is the upgrade-path I have conceived for myself. I might change my mind of course, for instance, if new products are announced. I do not claim it's a good plan. I have read quite a lot on these pages about upgrade paths and the question of whether the source should be upgraded first or last. I do not think there is a golden rule and this plan just fits my preferred (incremetal) approach towards solving problems and my budget.
Posted on: 10 January 2014 by Tog

Keep it simple

 

Stop over complicating things

 

Enjoy the journey.

 

Tog

Posted on: 10 January 2014 by DomTomLondon

Hi Gajdzin

 

I'm also using a Synology 2 Bay NAS , which is located inside a cupboard two meters away from where I sit and listen to my UnitiQute/NAP100/KefR100 system. I've never had any problem with it running too loud. Also you can set the fan speed in the Synology software to have it run fast for better cooling or slow for less noise.

 

Rip your CDs with any old PC or Mac in FLAC format, Or my preferred choice AIFF, and copy them onto the NAS. Most ripping software will be able to automatically, (when a disc is inserted) rip a CD with embedded metadata, write the files to your chosen location, eject the CD and quit. I use XLD but that's only for the Mac.

 

Good luck.

Dominik

 

Posted on: 10 January 2014 by Hook
Originally Posted by Gajdzin:

nbpf, I owe you a beer! You have approached my questions in a very logical and methodical way and took the time to point me into excellent resources on the 'net. Please drop by Warsaw, Poland to claim your beer  You ask about my home network: key components are wired by CAT5 in addition to wi-fi. I like cable But the topology is kind of accidental and reflects various needs over 10 years, not something logically planned. So I think I'll use this Naim adventure as an opportunity to re-wire my house.

 

PS. It's funny how it all started with my old CD player (Arcam Alpha 9) breaking down before X'mas. Arcam service couldn't fix it, no more parts for 15 years old model. So I went to a hi-fi shop to buy a new one. This lead to getting Naim 5XS. Which lead to getting a Nait XS to go with it. Which lead to replacing my old Celestions A3 with new speakers. Which, amazingly, lead to getting ND5 (speakers sounded so good, I had to have Radio Paradise playing, too), then to re-discovering my CD collection, which lead me to the NAS idea, which will probably lead to re-wiring my house network, and who knows - if in the process I discover the rooms are not optimally laid out, to building a new house???

 

Another good post Marcin -- am glad you've joined the forum!  Funny how one thing leads to another, and next thing you know...

 

It was the same for me about five years ago.  Dipped a toe in the water with a Nait XS, and soon found myself deep sea diving!   Hopefully you will sell a bunch more books, and easily fund this new setup (not to mention all of the very tempting upgrades you'll hear recommended on this forum)!

 

I see you are getting a lot of great advice here, and clearly there are lots of different, equally valid ways of ripping, tagging, storing and serving music files. The good news is that you not need to make all of your final decisions in order to get started.  In your shoes, I would pick FLAC (with minimal or no compression) as my format of choice, and I would try out dbpoweramp, J River MC, or my personal favorite, MediaMonkey, and just start ripping.  Also, make sure you turn on the option for "AccurateRip", so you can feel assured that your rips match what others are seeing.  Even if, for now, you rip to a local, internal hard drive, you can always move your files to a NAS later (and then remove and re-import them into your ripper's database to keep it in sync with their new location).

 

Like others, I agree with using a NAS so that your files can be shared from an "always on" device. And before you accumulate too many rips, make sure you have a solid disaster recovery plan (e.g., a backup on an external USB drive). I am a big fan of Asset as a UPnP server -- it is easy to set up, and I recommend you take advantage of its ability to convert FLAC to WAV on the fly.

 

Best of luck, and I hope you can avoid getting paralysis from analysis!  ;-)

 

ATB.

 

Hook

 

 

Posted on: 10 January 2014 by DavidDever
Originally Posted by garyi:

For my money:

 

A proliant microserver, currently coming it at 150 quid with a 50 quid cash back deal, N54L is more than enough.

 

4 Harddrives of similar spec, min 2.5tb ea 50 quid each

It comes with a 250 drive for the OS

You want a half metre sata data and power sata convertor and 5in to 3.5in adaptor, whole lot about 12 quid on ebay.

 

This sets you up with a nas far far more powerful than anything off the shelf and its dead easy to set up. You will have a minimum 3tb device, with dual core, 2 gig of ram which is expandable and basic graphics for set up.

 

On this you can install many a thing, but for my money on that 250 gig drive (That you will put in the top of the device with the bits and bobs from ebay, leaving four drives for raid) I would get Open Media Vault. Its  easy to install and a little geeky to set up, but does have a GUI and once running is rock solid.

 

Honestly unless you have a top top of the range qnap or what ever, this thing will mess all over it. 80MB/s down, 30MB/s up.

 

For around 450 quid.

 

Caveats:

You want something else to rip and something else to play. You asked for a server and this is a server it will happily deliver PLEX media server, UPN, MiniDNLA etc etc.

 

Its noisy, not for the living room. (any four drive device is noisy and no one can tell you differently.)

 

 

Up Side:

Best bang for buck

Proper server

You can install windows server etc if you are more comfortable with this.

 

Cannot boot MicroServer with boot drives > 2TB, unless you use a smaller system drive (must be > 100GB for Windows Home Server variants), FYI.

 

If you install an optical drive for disk ripping in the top bay, you are stuffed for space for the factory-supplied 250GB drive.

 

UEFI-compatible BIOS is required for boot from drives > 2TB; the MicroServer uses an older AMD embedded processor that lacks this.

Posted on: 10 January 2014 by Gajdzin
Thank you, Hook, great advice and I'll start reaping this weekend under a motto: "one CD a day before my hair turns gray". One question, though:

In your shoes, I would pick FLAC (with minimal or no compression) as my format of choice


I was actually planning on WAV as my default, because I'm used to it when recording and mixing in my home studio - I record my acoustic drumset to 8 tracks of 24/96 WAVs. I guess I'm simply not familiar with FLAC - what are its benefits over good ole WAV?
Posted on: 10 January 2014 by garyi
Originally Posted by DavidDever:
Originally Posted by garyi:

For my money:

 

A proliant microserver, currently coming it at 150 quid with a 50 quid cash back deal, N54L is more than enough.

 

4 Harddrives of similar spec, min 2.5tb ea 50 quid each

It comes with a 250 drive for the OS

You want a half metre sata data and power sata convertor and 5in to 3.5in adaptor, whole lot about 12 quid on ebay.

 

This sets you up with a nas far far more powerful than anything off the shelf and its dead easy to set up. You will have a minimum 3tb device, with dual core, 2 gig of ram which is expandable and basic graphics for set up.

 

On this you can install many a thing, but for my money on that 250 gig drive (That you will put in the top of the device with the bits and bobs from ebay, leaving four drives for raid) I would get Open Media Vault. Its  easy to install and a little geeky to set up, but does have a GUI and once running is rock solid.

 

Honestly unless you have a top top of the range qnap or what ever, this thing will mess all over it. 80MB/s down, 30MB/s up.

 

For around 450 quid.

 

Caveats:

You want something else to rip and something else to play. You asked for a server and this is a server it will happily deliver PLEX media server, UPN, MiniDNLA etc etc.

 

Its noisy, not for the living room. (any four drive device is noisy and no one can tell you differently.)

 

 

Up Side:

Best bang for buck

Proper server

You can install windows server etc if you are more comfortable with this.

 

Cannot boot MicroServer with boot drives > 2TB, unless you use a smaller system drive (must be > 100GB for Windows Home Server variants), FYI.

 

If you install an optical drive for disk ripping in the top bay, you are stuffed for space for the factory-supplied 250GB drive.

 

UEFI-compatible BIOS is required for boot from drives > 2TB; the MicroServer uses an older AMD embedded processor that lacks this.

Hense why I said to use the supplied 250gig drive as the boot drive.

 

As I suggested that it was noisy I would not propose to use it as a ripper therefore the need for a cd drive becomes redundant.

 

I maintain that for your money this is a much better solution than a similarly priced off the shelf nas, but does require a little bit of hand dirty.

Posted on: 10 January 2014 by pcstockton
Originally Posted by Gajdzin:
Thank you, Hook, great advice and I'll start reaping this weekend under a motto: "one CD a day before my hair turns gray". One question, though:

In your shoes, I would pick FLAC (with minimal or no compression) as my format of choice


I was actually planning on WAV as my default, because I'm used to it when recording and mixing in my home studio - I record my acoustic drumset to 8 tracks of 24/96 WAVs. I guess I'm simply not familiar with FLAC - what are its benefits over good ole WAV?

FLAC!  Benefits are ubiquity and tagging.

Posted on: 10 January 2014 by Bart
Originally Posted by Gajdzin:
 I guess I'm simply not familiar with FLAC - what are its benefits over good ole WAV?

I am fairly confident in saying that (1) flac has become a format that all hi fi music player developers are supporting.  Notably, Apple does not directly support it.  But the serious hi fi companies seem to support it.  And (2), when a player does support it, it supports the standard way metadata is embedded into the files.  The later is the issue with .wav; there has not become a standard way of handling metadata.

 

I too am fully comfortable with flac, and my own flac rips are with 0 file size compression.

Posted on: 10 January 2014 by Hook

Yup, PC and Bart pretty much answered the question!  Because FLAC is open source and royalty free, it has the widest variety of tools for lossless ripping, tagging and organizing music files.

 

One of the great strengths of FLAC is its very fast decoding time, so it doesn't put a huge burden on your ND5 XS, and sounds very good.  But even better, it allows a UPnP server like Asset to easily covert FLAC to WAV on-the-fly. That way you get the ease of ripping and tagging going in, and best sound quality coming out!

 

There are also some technical specifics that I am not qualified to comment on, but maybe S-i-S is listening.  Anyway, I've read that FLAC's framed architecture allows it to be error resistant, in that each frame has the information it needs to decode itself. If a frame is corrupted, only that data is lost (a mere blip), but the stream continues unabated. Another advantage of FLAC is that it supports "replay gain", a method for ensuring that your files all play at the same volume level.

 

Why iTunes does not support ripping to FLAC (along with AccurateRip) is beyond me.  But at least there are UPnP players for iPhone/pod/pad that can easily play FLAC files streamed from a UPnP server (e.g., I've had good luck with PlugPlayer).

 

ATB.

 

Hook

Posted on: 10 January 2014 by nbpf
Originally Posted by Gajdzin:

I was actually planning on WAV as my default, because I'm used to it when recording and mixing in my home studio - I record my acoustic drumset to 8 tracks of 24/96 WAVs. I guess I'm simply not familiar with FLAC - what are its benefits over good ole WAV?

In principle you should be able to convert FLAC to WAV and WAV to FLAC and get the identity:

wav2flac (flac2wav x.flac) = x.flac

and viceversa

flac2wav (wav2flac x.wav) = x.wav

In practice things are a bit different:

$ flac -d test.flac
$ flac -f test.wav -o testback.flac
$ ll test*
-rw-r--r-- 1 nicola nicola 19969994 Dec 26  2012 test.flac
-rw-r--r-- 1 nicola nicola 47910792 Dec 26  2012 test.wav
-rw-r--r-- 1 nicola nicola 20172649 Dec 26  2012 testback.flac

When working with high resolution files in FLAC and ALAC formats, I obtain the most consistent results using dBpoweramp (sadly only available for Windows, no Unix version).

As mentioned by other members, FLAC supports flexible tagging options (you can easily batch tag your FLAC files with "lltag", "easytag" or "dBpoweramp"). If you feel more comfortable with WAV and you do not care so much about tagging go for WAV. You can then always batch convert to FLAC (and back to WAV) later.

Music files for download are most often offered in FLAC format (check for instance eclassical.com, gubemusic.com, hd-klassik.com, highresaudio.com, linnrecords.com, naimlabel.com, prestoclassical.co.uk, universal-music.co.uk), sometimes also in WAV format.

 

In my view naming rules and directory structure are a more critical choice than file formats. It will take you more time to rename your files (if you later revise your initial choices) than to convert to a different (lossless) format.

Posted on: 10 January 2014 by Noogle
Originally Posted by Hook:

Why iTunes does not support ripping to FLAC (along with AccurateRip) is beyond me.

N.I.H. (Not Invented Here).  FLAC is an open standard which Apple doesn't have control of.  Whenever possible, always try to lock your customers into proprietary 'standards' rather than open ones.

Posted on: 10 January 2014 by garyi

In regards to apple and flac, they thought they could do it better whilst they were cresting the wave.

 

Once sales start declining, which is probably soon, they may change their mind. 

 

The frustration I guess is that itunes is not the only player on mac, people that use macs are kind of promoting everyone elses view of us, i.e. stupid people taking what we are given.

 

A quick look round macupdate will show a wealth of audio players which are not itunes.

 

The other frustration is that windows does not support flac either, so why apple gets singled out is odd, it has 6% of the computer market.    

Posted on: 11 January 2014 by Simon-in-Suffolk

To the OP, I think by now you see there are the three basic elements to a streaming music server. The ripper, the streaming software and the storage.

There are all in one solutions, or as used by many of us component solutions, such as PC/MAC for ripper and NAS for storage.

For the streamer server, many run upnp apps on the NAS. I prefer to keep that seperate as I have multiple NAS. 

I use a Raspberry Pi at around £35 for the streamer. Largely very straightforward, I overheard a conversation on the train the other day where a very non technical person got it working by following advice on web and was streaming media to their TV. The advantage here is it's discrete, cheap to buy and cheap to run and simple. There are many UPnP server apps for the Pi, but Asset works well with Naim.

Simon

 

Posted on: 11 January 2014 by Gajdzin

OK, FLAC it is. I read up on WAV vs. FLAC, because I was surprised why would FLAC be developed in the first place, since WAV is 10 years older and is a single, undisputed standard in the recording industry. DAW software like the ubiquitous ProTools or Cockos Reaper (that I use in my studio) record and edit WAVs by default (although you can import other formats to it).

 

Well, I found that the main benefit of FLAC is the losless compression it offers. Interesting that nobody mentioned it here, unless I missed it above.

 

Anyway. I'm convinced to rip to FLAC. Later today my very first PC will be ripped. The first I ever bought, actually, when in 1986 as a university student I landed in Tokyo, Japan, and used my very first salary to buy a Sony Diskman - an unbelievable technological marvel, especially for someone who has just arrived from the dark ages of communist Poland. Next, I bought my first CD: "Born in the USA". Followed by "The Wall", "Abbey Road" and "Rio". Abbey Road sadly deteriorated with age so I recently bought a new CD, the recent remaster. The other ones from that first music shopping spree in Ikebukuro, Tokyo, are still in good shape

Posted on: 11 January 2014 by DomTomLondon

If you're looking for an uncompressed format then AIFF is the better choice in my opinion. It is supported by all systems (Mac and PC) as well as most high end streamers, it supports embedded tagging/artwork and metadata and is 25 years old, if that matters. 

 

 I've ripped my music to FLAC for 3 years now, but recently started to use AIFF, I can't hear any difference in SQ but storage is so cheap these days, there is no need to use compression type file formats. Even if they are lossless.

 

Posted on: 11 January 2014 by DomTomLondon

That includes Linux as well, just tried an AIFF file on my Ubuntu running laptop.

Posted on: 11 January 2014 by Bart
Originally Posted by Gajdzin:
 Well, I found that the main benefit of FLAC is the losless compression it offers. Interesting that nobody mentioned it here, unless I missed it above.

 

Most of us have succumbed to the 'storage is cheap' mantra. File size is pretty low on the list of priorities for me.  That's why you don't see it discussed any more. 

 

It IS still relevant for portable devices, and is a reason that for my iPhone or iPod, listening in the car or on a plane, 320kbps mp3 or 256kbps aac are "good enough" for me.

Posted on: 11 January 2014 by Bart
Originally Posted by Gajdzin:

 

  Abbey Road sadly deteriorated with age so I recently bought a new CD, the recent remaster. The other ones from that first music shopping spree in Ikebukuro, Tokyo, are still in good shape

Want to blow your mind?  Get the 24-bit Beatles remasters and stream them to your new setup.  Now I've not done an extensive a vs. b of the 16 bit vs. 24 bit versions, but the 24 bit ones sound phenomenal.

Posted on: 11 January 2014 by dayjay

A little off topic but I was interested in the comment re transcoding flac to wav when streaming. Why would you do this and how would it sound better given that the data is coming from the original flac file? I'm using Asset to stream flac but not converting