Edoardo Posted December 19, 2011 Share Posted December 19, 2011 Hello, I would like to build a music server that... ...Runs Linux MPD ...fits in a library ...feeds my DAC through coax. SPDIF ...supports even 88.2 and 176.4 KHz, plug&play (possible?) ...can be "cliented" through wi-fi - like, with a netbook or an iPod as remotes. I have found that tiny server in the Voyage MPD store, but it would work only with USB as I/O, whereas I would like to get an SPDIF out also if I upgraded from my netbook... All the solutions I've found up to know are either too big or too expensive. Can anyone suggest a small motherboard in which I could put an ESI Juli@ and a wi-fi card, in a small case? Edoardo Link to comment
Edoardo Posted March 20, 2012 Author Share Posted March 20, 2012 Hi, again, this may be a silly question but is it possible to make MPD switch AUTOMATICALLY between sample rates (between 44.1, 48, 88.2 KHz) or do I have to edit the conf file each time? Edoardo Link to comment
AudioDoctor Posted March 20, 2012 Share Posted March 20, 2012 I am only a beginner, and I had to follow others suggestions. I think I should let one of the more experienced folks answer how to do it. But yes, it is possible. No electron left behind. Link to comment
Edoardo Posted March 20, 2012 Author Share Posted March 20, 2012 Thank you very much... I've been looking for tutorials, but I haven't found any clue about it yet...! Edoardo Link to comment
AudioDoctor Posted March 20, 2012 Share Posted March 20, 2012 http://www.computeraudiophile.com/content/How-set-MPD-Ubuntu-1104 Lots of good info in there, I am sure the answer is in there somewhere. No electron left behind. Link to comment
phofman Posted March 20, 2012 Share Posted March 20, 2012 is it possible to make MPD switch AUTOMATICALLY between sample rates (between 44.1, 48, 88.2 KHz) or do I have to edit the conf file each time? Do not specify any rate in alsa section of mpd.conf and MPD (just like most other players in linux as well as win ASIO) will ask the soundcard to switch to the samplerate of the current audio source. Link to comment
Edoardo Posted March 20, 2012 Author Share Posted March 20, 2012 Hi, how shall I do this? Shall I just delete the sample rates - the numbers specified - or the whole line? Edoardo Link to comment
phofman Posted March 20, 2012 Share Posted March 20, 2012 See http://linux.die.net/man/5/mpd.conf - section Optional Audio Output Parameters. E.g. for envy-based cards accepting only 32bit format: format *:32:2 Or do not use the "format" config option at all and use output device plughw:YOURCARDNAME instead of raw access hw:YOURCARDNAME . The plug plugin will take care of all necessary conversions, most often conversion to larger bit width. Link to comment
Edoardo Posted March 20, 2012 Author Share Posted March 20, 2012 The plug plugin will take care of all necessary conversions wait... I would not like the stream to be converted, but to be sent to the DAC in the original sample rate. so shall I substitute: ---------------------------------------------------- audio_output { format "44100:16:2" # optional ---------------------------------------------------- with ---------------------------------------------------- audio_output { format "*:24:2" # optional ---------------------------------------------------- ? Edoardo Link to comment
1audio Posted March 20, 2012 Share Posted March 20, 2012 Just use the following. On the Juli@ or on USB it will autoswitch the sample rate and pad the file to the correct bit depth for the interface. The audio data is untouched. You can then enable or disable the output you are not using from the control interface on the client. Demian audio_output { type "alsa" name "Analog" device "hw:0,0" # optional mixer_device "default" # optional mixer_control "Master" # optional mixer_index "0" # optional } # audio_output { type "alsa" name "Digital" device "hw:0,1" # optional } # audio_output { type "alsa" name "USB" device "hw:1" # optional mixer_device "hw:1" # optional mixer_control "PCM" # optional mixer_index "0" # optional } Demian Martin auraliti http://www.auraliti.com Constellation Audio http://www.constellationaudio.com NuForce http://www.nuforce.com Monster Cable http://www.monstercable.com Link to comment
tso310 Posted March 21, 2012 Share Posted March 21, 2012 I set up an HTPC using a Sapphire Tech AMD Brazos set up. Dirt cheap. I had to buy a SPDIF connector (£5 and the mobo has provision for one) as it only comes with an optical o/p. Realtek chip 24bit 192khz output and the on-board graphics does blu-ray and mkv. 6 Sata connectors and USB3. Not bad for £110. Link to comment
phofman Posted March 21, 2012 Share Posted March 21, 2012 wait... I would not like the stream to be converted, but to be sent to the DAC in the original sample rate. The plug plugin (plughw) provides the major following functions: 1. resample IF required, to the nearest samplerate supported by the card. As you see there is no need to worry about unnecessary samplerate conversion if your card supports the input samplerate natively 2. change the bit width IF required to fit that supported by the card. The plugin always tries to keep information, that is to use the largest bitwidth possible. This is actually important since e.g. Envy cards support only 32bit format. 3. change the number of channels IF required to fit the closest combination supported by the card. Although most multichannel cards support stereo mode too, it may not be the case for all. E.g. playing mono file, stereo on pure multichannel (the other added channels stay at zero), etc. As you see, the plug plugin is bit-perfect for 24+bit cards supporting all common samplerates natively. In most cases it does only conversion to 32bit for many PCI cards. Link to comment
Edoardo Posted March 27, 2012 Author Share Posted March 27, 2012 Sorry for having been away for a few days. 1audio, thank you very much, I'm going to try your configuration as soon as possible! Cheers Edoardo Link to comment
Edoardo Posted March 27, 2012 Author Share Posted March 27, 2012 Sorry for having been away for a few days. 1audio, thank you very much, I'm going to try your configuration as soon as possible! Cheers Edoardo Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now