Sunday, December 29, 2019

Upgrading Anthem AVM 50

I just picked up an AVM 50 for a song on ebay and I wan to talk about why it's still current.

https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse1.mm.bing.net%2Fth%3Fid%3DOIP.JJ-FNa0hdNTBIADT8f8VcQHaD5%26pid%3DApi&f=1

The image above is for the 50v, but you get the idea. 

The AVM 50 lacks Dolby Atmos and 4K support, but if you are a hard core 5.1 guy, this may not matter to you at all.

Let's discuss.

A couple of months ago I picked up a 55" LG OLED TV for under a grand during a holiday sale, but prices have gone up:


LG 55" OLED TV


This TV has several nifty features built in:

  • 4 x 4k HDMI inputs
  • Optical DD 5.1 output
  • HDMI ARC - Sadly not usable here. 

The TV can do all the HDMI switching I need. Plus, it outputs Dolby Digital 5.1 via Toslink.

Further, my Oppo 103 can output multichannel LPCM! It has built in TrueHD and DTS Master audio decoding, and can feed the decoded Dolby/DTS signals directly to the AVM 50 via the HDMI inputs. Another requirement here is that the Oppo has dual HDMI outputs. One goes to the TV, the other to the processor, allowing the Oppo's upscaling to work.




What the Anthem 50 lacks is true room correction, which can be added via a miniDSP multi-channel EQ.

Personally I only EQ the center and subwoofer.

Anyway, point is, you can save yourself a mint if you don't need HDMI switching, and are going to stick to 5.1.

If you must have room correction, step up to the 50v.

Friday, December 20, 2019

Mytek, DSD and Ubuntu on a Pi 4!

Happy to announce that everything has finally come together for an inexpensive Logitech Media Server based streamer which plays native DSD on the Mytek Brooklyn. It's been a really long time coming.

The Mytek's USB chip had to be in the Linux Kernel, so I think this didn't happen until 4.15. Squeezelite had to be compiled with the DSD option on. Finally happened in the Ubuntu repo, but not sure when.

I have tried and tried to get piCore to work with DSD, but no dice. 

Raspberry Pi 4 comes with 4 Gigs of RAM, and there's a fanless, aluminum case for it.

For more information, including a shopping list, please visit my previous post here:

https://inatinear.blogspot.com/2019/12/ubuntu-and-logitech-media-server-on.html

Thursday, December 19, 2019

Ubuntu and the Logitech Media Server on the Raspberry Pi 4

Ubuntu 

Update

I have discontinued the use of LMS and have switched to Roon. The parts list for going that route are identical, but while you can run LMS and the streamer on the Raspberry Pi, Roon will only run the streamer on the Pi due to performance requirements, so if you have an old laptop or PC to use as the Roon core, read below to see the parts you need for the streamer.

Parts

I used a Pi 4 with 4 GBytes of RAM and 128 GB Micro SD card for the OS. I used a separate USB thumb drive for the music storage. 

I installed Ubuntu server 19.10.1 by following these instructions. 

Pretty much ignore any extra package installations though. Some of the linked pages are for pre 19.10 and they are not needed.

 Here is the list of parts, which if all purchased add up to under $150.  A lot cheaper than a $3,000 streamer! :


I say the HDMI adapters are optional because once the system boots, you'll have SSH access, so if you are comfortable remoting into a Linux server and you don't mind waiting 20 minutes or so the first time, just hook the Pi up to your Ethernet and power and walk away.  Then go find the new IP address in your home router.

Otherwise, hook up the HDMI before you power it on, add a keyboard and mouse you have in the closet and you are good to go. 

Protip: When you flash the Micro SD card, connect directly to your PC! I used a USB 2.0 hub and I kept getting errors during the flash process using a variety of image flashing tools. As soon as I connected directly to the back of my PC this all went away.

Protip: The absolute smallest Micro SD card I'd recommend for Ubuntu is 32 GB.  Ubuntu recommends 25 GB of disk space, so this is the smallest SD card which meets those requirements.  If you absolutely know you'll never install a desktop you might go smaller, but these things are so cheap it doesn't make sense. Also, while I do think that the 128 GB or larger Micro SD is ideal for the OS/boot drive I keep my music on a separate USB device. This has made migrating from the Pi 3 to the 4 super easy. I basically just flashed a new Micro SD card, and moved all of my music over with the plugging in of a thumb drive. Much, much faster than copying.

For instance, if you aren't used to using VI or EMACS you are probably going to want to install a GUI so you can get a graphical text editor working, so go ahead and spend the extra few dollars for the boot drive. :) 

The same idea applies if you want to experiment with any of the other music OS type of packages like Daphile, PiCore or Volumio. 

Logitech Media Server

The general instructions are here:

http://wiki.slimdevices.com/index.php/Debian_Package#installing_7.9.2

There's one tiny bit of code to change to the script. Where it says:

if [ "$os" = "armhf" ]; then os=arm; fi
 
Replace "armhf" with "arm64", like so:
 
if [ "$os" = "arm64" ]; then os=arm; fi 

That's pretty much it!  The entire installation was remarkably pain free otherwise.

Squeezelite

In the past I recommended building 1.9 or grabbing a copy from my repo on SourceForge. However this is no longer necessary as the version from the Ubuntu repo has direct DSD playback built in.  So install from the repo:

sudo apt install squeezelite

and modify /etc/default/squeezelite per my prior blog post.

Protip: 
You won't see any sound cards show up until you hook up a USB DAC. There ARE ways to get sound to play via HDMI and the 1/8" jack, but they are covered elsewhere. If you are using a USB DAC (and you should) then go ahead and plug it in. You may need to restart your Pi for it to do the USB scanning. At least with Ubuntu 16, USB audio devices had to be present at boot time for them to be seen.

The Pi 4 comes with USB 2.0 (black) and USB 3.0 (blue). This means that all plugs are capable of handling the bandwidth for even quad DSD. However, you might want to keep storage on one side (black) and leave the blue for the DAC. The main reason here is that depending on how the controllers are set up, you can reduce contention and prevent one device from slowing down others. Perhaps I'm being paranoid. :)