Archive for the 'audio' Category

On Video

Tuesday, January 30th, 2024

My recent obsession with Tristania led me to purchase some music from their last lead singer, Mariangela Demurtas, specifically Dark Ability. I really wanted a physical CD, because physical media, but the shipping was shockingly expensive, so I got a digital download.

Very good it is too: a download in WAV and MP3, and I’ve encoded the WAV to FLAC. Great music, atmospheric and powerfful but relaxing, and different to Tristania but great, nicely recorded, too.

One thing did strike me though: the recordings were 24 bit depth, 48kHz, which is a commonly used standard, but less common for releases, which usually adhere to 16-bit/44.1 kHz (Red Book CD).

This sent me down a bit of a hole: why 44.1, an oddly non-round number? Why, then, 48, a rounder number but suspiciously close to 44.1, so close that in all practical terms, it shouldn’t make any difference?

The answer is video. In the early days of digital audio- in the 70s- the only practical way to record digital audio was on to U-Matic professional video tape, because nothing else had the bandwidth for it, so Sony produced PCM encoders and modified U-Matic video tape transports for this reason. Both 44.1 and 48kHaz are chosen as being (a) above the Nyquist frequency for human hearing and (b) not be too inconvenient to encode into TV frames, and both have been engineering standards since. 48 is more commonly used for matching to video as the rates line up with both PAL and NTSC video frame rates without trickery.

Bogus Dago Blues Band

Thursday, December 21st, 2023

I had thought that there were zero meaningful hits for this on the Intertubes, and thought to remedy it, but then another search revealed Martin Dale, the man previously known as Klink, as a solitary web hit.

Bogus Dago was a blues band that Mark was part of in the early-mid 90s. We, as family members, saw them play several times, and at one point in the nineties, I’d regularly wear a t-shirt promoting them because I kind of liked the design.

It was nice then, when my dear sister-in-law found (a) a unused band t-shirt in time for Mark’s funeral and (b) a cassette.

A cassette J-card for Bogus Dago.

A scan of the original cassette J-card for “Go Mango”

As I’d sold our only cassette deck over a year ago, I had to call upon a (young) colleague who has discovered the cassette revival, and with a bit of fiddling I captured the over 30 year old tape to .wav, broke out mhWaveEdit, split the tracks out, encoded them to FLAC and tagged them, then burnt a CD with functional CD-Text, as well as MP3s and the aforementioned FLAC files with embedded album art by cropping and stretching the scan of the cassette J-card.

The surprising thing is that the 30-plus year old cassette, on nothing more exotic than a TDK D60, played back from a mid-range 1980s Sony Walkman sounds OK-ish- there’s a bit of wobble as the treble drops out once in a while, and there’s hiss- but it’s by no means awful. The concept of producing your own CDs at the time was not within easy reach- now it’s actually a dying technology, its time having passed, but at least Bogus Dago Blues Band now have a CD release (and potentially a digital download, too)! Does this make me a mastering engineer? (no, it doesn’t. I’ve done no post-processing, so the audio is pretty much as-is off the cassette)

Sample track (track 2) here, a song credited to the band:

Another One Knocking – Bogus Dago – Live at The Frog July 1st, 1994

I can’t currently find where The Frog was and if it still exists, so if anyone knows, let me know. It’s reasonably likely to have been in the Dudley/Brierley Hill/Stourbridge area, as the band played there a lot.

Martin sings a version of the song on his Youtube channel:

rAudio

Wednesday, March 15th, 2023

Following on from my forced evaluation of my Raspberry Pi audio player, as I’d got it in bits I went and looked at Runeaudio’s web site to see if there was a newer system image. There wasn’t, in fact there hasn’t been one since before this country lost its collective mind in 2016.

What I did find is that someone has forked and updated it, just like I mentioned here about all the other variants.

These players are all variations on a theme: a web interface, MPD, and a variety of other open-source things to provide connectivity and features like Apple Airplay or UPNP: the beauty is that if you have the skills and time, the components are all there for you to build it. If not, well, someone’s probably done a good enough match, which brings me to rAudio.

A proper open-source project this: no flashy website, just a Github and a concise set of instructions, but technically it’s great, with recent builds based on Arch Linux.

Booting it up, it just works: it reads the external disks just fine, recognises my Cambridge Audio DAC, it plays. There’s a few whistles and bells- you can do proper multi-room on a budget, and there’s Bluetooth and DAB if you have the hardware.

Best news is I’ve got rclone on to the machine, and a quick entry in crontab should see the music files automagically backed up to Google drive with no manual intervention.

In the Clouds

Thursday, March 9th, 2023

I briefly mentioned that the mirrored disks for my Runeaudio music player broke. I then compounded the issue by not RTFMing about the RAID enclosure- which also seems to have had a fault- with the result that I lost my FLAC collection.

I tried the excellent testdisk (which didn’t find any partitions) and photorec (which recovered files but no folder structure and with possible corruption), and decided I needed to bite the bullet, copy what I had on my phone back from there, and re-rip the rest. I’ve found as I have 2 CD drives, I can rip 2 together, and still use my laptop.

2 terminal windows showing 2 abcde rips running together

Ripping 2 CDs at once: that’s as many drives as I have.

This post is looking like an exercise is open-source software promotion: the files were originally ripped to open source FLAC (and MP3 for the car) with open source abcde, recovery was attempted with open-source tools, the player itself is open-source, and there’s one more thing to add: I don’t want to have to do this *again*, so I need a backup solution, and preferably something that requires minimum intervention.

I already use Google Drive for other backup, and pay for a decent amount of space, so that seems ideal. The idea now is to use rclone on the Runeaudio device so that whenever I transfer new music to it, it ends up on someone else’s computer in the cloud as well, automagically. Initial tests on my laptop are encouraging:

rclone copying my music

A test run of rclone, copying 5GB of music up to Google drive

So now it’s a case of installing rclone onto Runeaudio and seeing if it works.

Get Smart

Tuesday, February 28th, 2023

Forever behind the curve, I finally relented and booked my energy supplier to install smart meters. It wasn’t that I was fundamentally opposed to smart meters for any reason- not for the 5G Death Rays, or the remote disconnection myth, it was more that I never found reading a meter once a month and typing a few numbers into a web page particularly hard, and I basically couldn’t be fucked with the whole inconvenience thing.

Then I got told the electricity meter was end-of-certfication and needed replacement, and I folded: if I’m legally obliged to have a new meter, it may as well be a smart one, and yes, you may as well do both.

The electricity meter proved straightforward: it’s sat by the front door and has only recently gained a cupboard over it and there’s plenty of space.

The gas meter, however, predictably proved that nothing is fucking simple and everything comes with added cost, hassle, and inconvenience. For a start, I’d built some boxing around it a good few years ago, and past me had been a bit liberal with the No More Nails, so now we have some kindling, and I have a bit of DIY to do to rebuild it (but make it more removable). Sigh. Anyway, that done matey arrives and checks it out.

I won’t be able to do that, mate, the ECV won’t move.

(For those that need to ask, like I did, that’s the shut-off valve)

Is that [long pause] concreted in?

Sigh. Yes it is. I’ve never paid attention to it before, but the meter had to drop down off the bracket, which is a bit hard when back in the nineties, before we bought it, this house had new concrete floors, and the gas meter was already in it’s rather odd position in the back room when they were done, and the concrete was taken up to and around the meter…

I have to report that to Cadent as an emergency as it can’t be turned off. Mind, don’t know how they’ll get it out.

Which is how we ended up having a rather pissed-off Cadent engineer chiselling our floor yesterday evening, when he discovered the test nipple was sheared off too, changing this from a 15 minute swap of ECV to that plus a meter change.

Eventually, it came out,

The meter, reluctantly removed.

The meter, reluctantly removed.

and a new one was fitted, soon to be replaced by the smart meter…

To add insult to injury, the boxed in cupboard is also home to the hardware for my Runeaudio player- a Raspberry Pi and a USB RAID disk enclosure with a terabyte of storage. That terabyte of storage is 2 disks mirrored, and it seems the mirror has got broken, and where the data was still readable, transferring the one disk to a new enclosure may have borked it, so there may be a lot of ripping in my future if it doesn’t recover 🙁

[edit 24/4/23: The gas meter is fitted- and as it is smaller, without drama, so all that remains it to varnish the re-instated meter cupboard, which I’ve wisely made to have a removable front.]

A Re-evaluation

Sunday, January 22nd, 2023

I keep mentioning First and Last and Always here, mainly in the context of its gloominess suiting my current outlook for the future, and suggesting that black clothing, alcohol misuse, and a good listen is an ideal way to capture that.

I’ve loved the album for years, even when considerably less gloomy*, but for many years was put off by what I perceived at the time to be duff recording, but it’s that I’m coming to re-evaluate: this was before the acrimonious split that saw the forming of The Mission, the brief existence of The Sisterhood with the once-rare short album Gift, and then Andrew Eldritch make his own Sisters of Mercy with blackjack and hookers just him and Doktor Avalanche. The recording was famously fraught and amphetamine-fuelled, but musically, it worked. Wayne Hussey’s penchant for sometimes daft lyrics was kept in place, for a start.

Dear Doktor, I’m a good guitar player, but my songs are feeble-minded. If I play with the Sisters for a year and then leave to become a full-time gobshite, will I be able to steal your thunder?

Definitely. For about sixteen seconds.

How very unkind. The Mission did some great stuff too. And probably kept up with the drug level.

Anyway: the recording: at the time it always sounded flat: a bit lo-fi, and it is true to some degree, but I think there’s 2 factors at play that 80s-90s me didn’t realise.

First of all: this was almost certainly deliberate. It’s meant to not be in your face and bright, because it’s damn well supposed to be subdued. Listening today, closely on decent-ish headphones it isn’t the most in-your-face recording, but there’s plenty of clarity and layers in the background. There’s a bit of tape hiss, but it soon disappears.

It does need some decent reproduction though, or Mr Eldritch’s vocals tend to overpower stuff, and of course, I’m using better kit than back then (conversely, my hearing will be worse, but if anything, that ought to make this sound even more flat, as we tend to lose high-frequency hearing as we age, maybe that’s what is hiding the hiss?). There’s the good point that the aforementioned Doktor was a 1980 device, so the drums will always sound like, well, 1980s synthesised drums. The afore mentioned good guitarist/full-time gobshite’s playing is clear.

There is the very good point too that this was recorded by professionals in a highly regarded studio, not on a 4-track in someone’s bedroom or a disused minicab office, unlike some albums I could mention which manage to compromise the musicality despite being recorded in the next millenium.

The second factor: recording fashions change. The 80s, with CD being newly available, with that all-new ability to reproduce 20Hz-20kHz pretty well, seemed to give an impetus for very “bright” recordings, the most obvious to my mind being “Heart“, and today’s fashion is a bit more laid-back, even if we have to cope with the loudness wars– and if we’re talking about ruining music, there’s a perfect example: Metallica’s Death Magnetic is positively unpleasant. back to the 80s, and surrounded by bright 80s recordings and playing a lot of stuff off cassette much of the time- cassette recorded from vinyl in all probability- anything a bit less bright probably sounded flat. This probably led to the accusations of CD sounding harsh which persists to this day amongst the vinylheads.

*no anti-gloominess guarantee at any point is implied or stated.

For Those About to Rock

Tuesday, February 1st, 2022

Disappointing news while I was working today; Planet Rock is changing its streaming arrangements, which will break my nice, simple setup of streaming the station to my RuneAudio player.

It’s really easy streaming to RuneAudio (and indeed to my laptop if I’m working away from the stereo)- on RuneAudio you just add a new station with the URL of https://stream-mz.planetradio.co.uk/planetrock.aac, or in VLC media player you just say “Open network stream” and enter that URL, and away it goes, with no proprietary software needed, and it’ll work on anything that understands an AAC stream. I’ve been happily using that for some time, especially since March 2020, and while the audio isn’t top-notch (it’s a low bitrate), with AAC it’s listenable.

Then I heard an announcement today that they’re killing the service.

Going to the page gives you

Over the next few weeks you may experience some slight changes to your listening experience if you listen to us via a third party listening service such as Sonos or TuneIn, but have no fear! We don’t expect these changes to have any noticeable effect for the vast majority of our listeners. If you do notice any small hiccups, we have all the solutions to them below.

Here at Planet Rock we care about your data. So we’re increasing the transparency of how our streams reach you via IP devices (anything you listen to us on that connects through the internet, such as smart speaker, internet or wifi radio).

Increasing the transparency? I don’t see how, given that:

This means we’ll be able to tell how you’re listening to us and build better listening platforms for you that are more moulded to your needs going forward.

Right then. Transparency my hairy arse. It’s about monetizing listeners, gathering data, and so targeting ads. A plain HTTP stream carries no cookies, doesn’t need login, leaks very little data- OK, they can (roughly) geolocate me, and serve me localish ads, but that’s about all.

Blah Blah marketing bollocks we love you improved experience etc

Cut the crap guys. This is all so you can push us to

access us directly, be that via our own app or website. You can also download the RadioPlayer app where you can listen to us plus many other stations. We really value you as a listener, and hope that this change doesn’t cause too much inconvenience.

This change has been coming for a while: they’ve been pushing their premium streaming service, which gives you no ads, the ability to skip tracks, and some on-demand stuff. Of course, this needs registration and payment. Before long I’d not be surprised if non-premium access needs registration (more data harvesting!), or maybe vanishes.

I could possibly switch to Absolute Classic Rock, but as they’re also part of Bauer Media it seems to have gone the same way. Bauer are also the people that gave us Greatest Hits Radio, and now ironically, I can get all their stations on DAB in the car, but it looks like once again, they may be losing me as a listener. I’m app-phobic at the best of times, so there’s no way I’m installing the app, and I’m certainly not investing in DAB in the house, which is both limited in quality and perhaps lifetime.

This will also be the same for some people with Internet radio players: people with smart speakers or Sonos should be OK.

Goodbye Planet Rock, it’s been good for a while.

Portable Music

Tuesday, March 5th, 2019

For some time, my portable music needs had been satisfied with a Sansa Zip Clip player and Soundmagic E10 headphones, but the breaking of the Sansa meant I needed to revisit that.

My current phone is a Huawei P-Smart, the previous Motorola having broken, got fixed and then given to my better half, because there was a delay fixing the Motorola (in the end, easy and cheap) and I needed a phone: The Huawei, however is not ideal for a number of reasons:

1) It comes preloaded with too much tat. I’m quite zero-tolerance on un-neccesary apps and add-ons, something I’ve always done with PCs and continued with phones.

2) It can’t take a second SIM and a micro-SD, like the Swift 2 I dunked in the cut.

Still, it was cheap, and the battery lasts well, but:

3) The headphone output is just shockingly bad. Indescribeably bad, it sounds flat and lifeless unless you enable some Huawei proprietary shitty processing software, and when you do that, it seems to have a active dynamic range compression that actively compresses loud(er) sounds down in particularly clumsy way. It’s painful to listen to.

So the obvious choice of giving up on a seperate player and using the phone seemed to be out. I did fancy the award-winning Cowon Plenue D player, but £200 seemed a bit much given a few expenses of late.

The answer presented itself: Soundmagic’s new offering, the E11, comes in a Bluetooth version. That way, the crappy phone just presents a bitsream, someone that is competent can handle the D-A conversion, and I don’t risk tearing the headphone jack off the phone in my pocket, and if I end up with a phone with no 3.5mm jack (unlikely for a while, I’m too tight), no problem.

I’m a convert. I had my doubts, but the headpones are light and comfortable, the battery life seems OK, and the sound is as good as the wired E10s, all for considerably less than half the price of the Plenue D. Hell even the slight background hiss I’d noticed during my recent hospital stay turned out to be from the oxygen pipe I was wearing….

Runeaudio

Thursday, April 27th, 2017

I’ve had a Volumio music player for a while: pretty good overall, but sometimes a bit prone to corrupt filesystems. Checking the website, there was a new version, so I thought I’d try it. It was….interesting. Cleverly done, with squashfs filesystem images and a data partition to save data, but using it gave me a few issues. First of all, the original Raspberry Pi model B I was using turned out to be too slow: the initial setup took 20 min to complete, and playing audio was glitchy as it couldn’t shift data down the USB fast enough. Changing to a Raspberry Pi2 fixed that, but then it dropped off the network. With no HDMI monitor nearby, this was impossible to troubleshoot, so I tried an alternative: I had a HP thin client lying about, and Volumio has a x86 experimental version, so with a CF-IDE converter and a CF card to replace the tiny flash disk in the HP, off I went. Working out a few bugs in the BIOS that make booting the CF and not trying to boot the external USB drives that just contain music took a while, but it worked, quite well, with 2 problems- firstly, the web interface and the view through Cantata didn’t agree, and secondly…
(more…)