Progress...

May has been a month of progress on something I made a New Year's resolution to do (but then put off for four months!): catalogue the enormous pile of ripped CD files I've built up over the past year or so. Click on the graph at the left and you'll see how I've done: I started the month with 485.1GB of music files sitting in the 'temporary' area of my hard disk (which has been pretty permanent for at least 2 years now!), in the form of 10,007 individual FLAC files. As of this afternoon, I'm down to 13.6GB and just 625 files. Most of that is a 'collected works of Messiaen' box set, which will take ages to catalogue and tag-up properly, because French is slow to type, what with all its accents (but maybe not as slow as German. And definitely way faster than Czech!)

Undertaking all this cataloguing has meant using my own CCDT tagging program, of course. As a result, I decided to make a couple of little changes to CCDT. The important one is a new run-time switch, called --namereplace. Run CCDT with that in the launching command and CCDT changes the way it handles music files that already have a track title tag. [...] 

Continue Reading

CPU Shenannigans

Fresh from my war with a new mini PC (which I lost, you'll recall), I remained determined to do something to upgrade my old workstation-class desktop PC. I bought it second-hand a few years ago: it's a Dell Precision T3610, which is a bit of a monster, and was originally constructed (I think) in around 2012 or 2013: its warranty says it started in February 2014 and expired in February 2017, so it's somewhere in that ball-park.

It shipped with a Xeon E5-1620 v2 CPU CPU, which was launched in the third quarter of 2013, so that also helps date the machine. That CPU has (inevitably, as far as Intel was concerned back then!) 4 cores and thus 8 threads when hyperthreading was enabled. Nothing too remarkable, but not exactly shabby, either. I think when I bought it, it came with 16GB of RAM: I soon bumped that up to 96GB. So, it's not memory constrained either! It also shipped with an Nvidia Quadro K4000, which was cutting edge at the time, but has long since been eclipsed by newer graphics cards: since I don't play games beyond Solitaire, however, I don't particularly care how out-of-date my graphics capabilities are! [...] 

Continue Reading

Mishaps and Minisforum Mayhem

Yesterday was not a happy day!

At the end of April (the 23rd, to be precise), I took delivery of the small form factor PC you see at the left. It's a "Minisforum UM250" and comes with 16GB RAM, a 512GB M2-SSD hard drive and an AMD Ryzen 8-core processor. It is my first brush with an AMD Ryzen processor, which I've been keen to get my hands on for quite some time... so I was pretty excited. I was concerned at how noisy a small form factor PC might be: the thermals in such a small space are not great, and my intention was to use this as my main music-playing PC, so quietness is quite important. A review I read on Ars Technica suggested the sound levels were acceptable, so I bit, paid up, and took delivery the very next day. [...] 

Continue Reading

AMP: Are we there yet?

I am aware that as new AMP feature follows new AMP feature, it can feel like a never-ending ride to who-knows-where, prompting the 'Oh God, not another one!' reaction, as well as the 'Will it never end?' one -as well as the one alluded to in the thumbnail at the right!

For the record, I think we are closing in on a feature-complete AMP that needs no major bug-fixes nor has use for substantial new pieces of functionality. [...] 

Continue Reading

Another round of AMP enhancements...

Let's start with a warning: this is quite a long post and covers quite a lot of ground! I don't normally 'section up' my posts, but I will on this occasion, to try to make things clearer. So, this time we have:

  • Two new override switches for AMP
  • The removal of a switch
  • The fixing of quite a nasty bug
  • The introduction of a new composition-specific selection switch
  • An increase to the number of play 'selections' you're allowed

Taking each of those in turn, therefore... [...] 

Continue Reading

Hi-Res Audio - Part 56

I hate to keep banging on about hi-res audio formats (especially when I am not keen on them myself), but now that AUAC can do DSF as well as ISO conversions (see my last post), some interesting things have come out of the woodwork that needed tackling. It's also the case that as lockdown finally eases, this will likely draw to a close a period of time in which I obsess about software and not a lot else... so, it's probably best to get these things out of the way whilst there's not a lot else to be doing!

First off is the question of why AUAC treats SACD ISOs differently from SACD DSFs. In other words, when you say auac -i=iso, you have to specify -o=hires if you want high resolution FLAC files extracted from the source SACD ISO (otherwise you get standard resolution ones)... but, if you say auac -i=dsf, you don't (you'll get hi-res ones by default). [...] 

Continue Reading

Hi-Res Audio

Let's begin by defining what 'hi-res audio' is, and then I'll explain why it's marketing baloney and no-one should touch it with a barge-pole... and why I've just enhanced my various software offerings to work with it anyway!

So, to begin at the beginning: there's a thing called the Nyquist-Shannon Sampling Theorem. It says that a continuous wave-form can be perfectly reproduced as a set of fixed, discrete samples if the waveform being sampled has a finite bandwidth, and your sampling rate is twice the maximum signal frequency. That is, so long as you can say 'this audio signal has a fixed upper-limit of (say) 20KHz', then it is mathematically provable that a sampling rate of 40KHz can capture that wave form perfectly. When the Sony and Philps engineers were developing the Compact Disc audio format in the 1970s, they relied on this theory to determine the characteristics of CD audio. Since the best human ear can really only hear up to 20KHz (and even then, you've got to be young and genetically-blessed to hear that high), we can record an orchestra and chop off any part of the audio signal above 20KHz and no-one will be any the wiser: we're disposing of frequencies no-one of mortal woman born can hear anyway. Then, once we have a continuous audio signal with a firm upper cut-off of 20KHz, we can digitise that by sampling the signal at 40KHz and be mathematically sure of being able to perfectly re-create the original analogue audio signal. Being clever people of the 1970s, however, the Philps and Sony engineers also realised that cut-off filters aren't linearly perfect. Tell them to cut off at 20KHz, and they'll maybe kick in a bit early and chop some sub-20KHz signal off, too; they'll alternatively knock-off a bit early and leave some 20KHz+ signal behind that ought to have been removed. Frequency filters being imperfect, therefore, the CD developers decided to cut a little slack for the filtering process and thus decided to cut off the audio signal at 22.05KHz, rather than at precisely 20KHz. The extra 2005Hz were there to deal with the electronic filtering imperfections of the time. The consequence of that is that for Nyquist-Shannon to remain applicable, the sampling rate had to be twice this higher 'highest frequency' - and that's why CDs have a sampling rate of 44,100 Hertz. [...] 

Continue Reading

A Locking Problem

I have been aware for quite some time that, occasionally, plays of music made by AMP would not get recorded in the PLAYS table as they should. It's difficult to know precisely why: when you're developing the code and saving changes to the script as it's playing something, it could well be that your editing has caused the 'record in PLAYS' bit of code to get skipped.

Or it could be a locking issue. Putting it at its simplest, databases cannot have one person modifying data whilst simultaneously allowing a second person to read that data. If I am in the process of withdrawing £5000 from my bank account just as a credit check is being performed, do we let the credit agency see the £5000 in the account? Or do we see it missing the £5000, even though I might be about to type 'Cancel' at the ATM? To resolve these data concurrency issues, all databases implement a form of 'locking': if I am going to withdraw money from my account, we lock the data until my withdrawal is complete, so that no-one can see it, either with or without the £5000, then when I'm finished at the ATM, we unlock and people can read the definite results. [...] 

Continue Reading

Scarlatti In Bulk

Thanks to another recent video by David Hurwitz, I was finally persuaded to bite the bullet and splash out on the complete Domenico Scarlatti keyboard sonatas as performed by Scott Ross (the album artwork of which appears off to the left). It's a 34-CD collection, available for purchase from Presto Classical at only around £2.50 a box, which seems reasonable value to me.

Curiously, this collection of works has previously been discussed by me in comments on this blog piece, where I was asked by 'DACO' how I would go about tagging the multiple Chopin Nocturnes or the even more multitudinous Scarlatti keyboard sonatas. I had to answer DACO in that exchange in the abstract, since I didn't at that point actually own the Scarlatti. The general principle I advanced, however, was: group lots of little pieces together in whatever way makes them accessible and attractive to play. Thus, I could speak from experience: a CD of Britten arrangements of folksongs would be ripped and catalogued as a single collection of folksongs, rather than 21 short pieces of (usually) less than 3 minutes' duration. Similarly, I had only just completed a re-rip of the complete works of Percy Grainger, where because of the quantity of music involved, and its overall great similarity, I found it more expedient to essentially rip entire CDs as 'Grainger Compilations' than try to separate out each individual composition as its own 'album'. [...] 

Continue Reading