So it’s become apparent to me that I’m really good at procrastinating. At this point I have drawers full of components and a head full of ideas but nothing really started. I get to the breadboard stage, at best, and lose interest. Well, that’s me.
I’ll talk here about something I’m doing which is tangentially related to the topic of this board, in that it’s about sound. The other day I bought a Raspberry Pi 4B 8GB and put it into my margarine tub in place of the Pi 3, and then installed Ubuntu Server (because Debian doesn’t yet have a stable 64-bit release for the Arm processors) on the old 120GB SSD left over after I upgraded my laptop storage to 480GB (hint: SSD is very cheap right now, and it’s much more fit for purpose than those micro-SD cards commonly used with Raspberry Pi and Beaglebone systems.) Contrary to my expectation, the system just worked as soon as I plugged in the SATA-to-USB-C cable, and turned the Pi 4 on. I didn’t even need to provide auxiliary power to the SSD, the Pi 4 seems to handle it on its own without any glitches.
I got to work making a server as backup to my VPS, because I have discovered I enjoy running server systems. With port forwarding for ssh and https, it’s a very pleasant experience. I like having a distinct domain name, and I recently discovered you can hire one for peanuts as long as you don’t insist on a .com suffix. My VPS provider, OVH, will register or renew a .ovh domain for about £2 a year. They provide direct support for dynamic DNS so it’s an ideal solution.
The only thing I can’t do is run a mail server. The upshot is that I may own the hardware but I don’t own the internet connection and the internet provider is not keen to gain a reputation for hosting spammers. Instead I use an account from a company called Zoho to run my domain email. They’re amazingly responsive to my queries so that places them streets ahead of the behemoth Gmail. I started with their excellent free account but have decided to upgrade to IMAP support and 10GB mail storage for the princely sum of £1 per month. It gives me the freedom to explore alternatives to SMTP in case I really do want to have an internet email solution on my own systems.
It’s very good as a server, and I’ve noticed that there are a lot of sound-related projects for the Pi. A problem was that I had the Pi 4 in a well ventilated margarine tub sitting at the bottom of the stairs connected to the router by an ethernet patch cable. I don’t have a wired network any more (who does?) so without threading cat 6 cable around the house that is the limit of available ethernet range. Either the margarine tub sits next to the router or I find a new solution to routing.
Thinking about using the Pi 4 as a sound source, I explored the possibility of using wireless HDMI so I could send the sound from the margarine tub to my speakers via a HDMI-to-RCA sound extractor. Even if such a solution proved physically viable, it’s currently more expensive than I’d like. Wireless HDMI systems of suitable range and quality starts at around £80 and then I’d need to convert the HDMI to analogue at the receiving end. I also have concerns about the physical vulnerability of the gear itself. It would be safest in my bedroom where I could also tinker with it more easily. I could also more easily power it down when we don’t need it.
By way of synergy, I recently rearranged my bedroom so that at long last I get to use my nice big video monitor again, and mounted the speakers behind the bed for great stereo. The sound goes from my laptop via USB to a Scarlett 2i2 connected to my Presonus Eris 3.5 monitor speakers, while a DisplayPort-to-HDMI cable feeds the video to the LG monitor. I can watch FX-heavy TV like The Expanse and Picard and get a pretty immersive experience via the laptop running Prime Video (we also have NetFlix and DisneyPlus accounts and the BBC is free to use.) This is a big step up from watching on my phone, particularly regarding the sound.
So last night after some analysis I tweaked the router’s port forwarding to use the WiFi routing to the Pi 4, took the margarine tub upstairs and connected the audio output of the Pi 4 to the stereo line-in jack of my speakers, and turned it on. The port forwarding still works over Wifi and the server traffic is so low in both quantity and urgency that I don’t really need the ethernet cable. I tested the sound by playing a mp3 on the Raspberry Pi 4, and the results are very good. If I need better sound quality I stll have the option of a HDMI-to-RCA sound extractor (basically a DAC between one of the two digital HDMI outputs of the Pi 4 and the analogue RCA L-R inputs of the speakers.)
So now I have the makings of a Hi Fi sound player in a margarine tub my bedroom. I’m looking at Linux applications like Mopidy and Snapserver. I can also run SuperCollider Server and the like on the Pi4 and get brain-exploding Hi-Fi synth effects. Software is amazing, you can do so much just by tapping and swiping on your mobile phone.