Sonic Analysis, do folks bother with it?

I’ve rebuilt my plex server and this time I’ve decided to enable sonic analysis. I know this is cpu intensive task and was kinda expecting it to be similar to loudness analysis.

My system is running on linux, physical hardware and is running a Core Ultra 7 265k which is a beast of a CPU. My library had 12,900 albums with 187k tracks so its by no means small so was expecting maybe a day to a day & half.

All other butler tasks are complete with loudness taking a total of 7 hours to fully complete but sonic analysis appears to be a whole other prospect.

After just 1 hour its done approx 300 albums. At this point I’m asking myself is it worth the stress on the PC for what I get out of it ?

Does the community have any perspectives on this feature and if its really worth all the effort ? I know that is a very subjective question but I’ll ask it anyhow …

1 Like

If you use Plexamp, it definitely is. The features which use the sonic analysis, have transformed my music use.
Particularly with a massive collection like yours, you will see the benefits yourself.

6 Likes

I’ll add my endorsement of sonic analysis as well, at least in the context of Plexamp. The artist/album/track radio features require sonic analysis, as do a couple of the DJs.

Thanks, I think that is part of my dilemma. While I understand what the feature does I’m trying to visualise it. I do use plexamp. For now I think I’ll just stick with it and see how it goes and what other comments might come.

I’ve also been doing a plex dance on my whole music library every 6 months for years to workaround popular track oddities and with doing that I’d need to complete this sonic analysis as well. Loudness has never been an issue as I get that done quick but this might …

Anyhow, thanks for the response.

I’m planning to move my server from FreeBSD to Docker in a Linux vm, so this is one thing I’m eager to see the benefit of.

2 Likes

Do they ? I’ve been using a artist & genre radio for years without having sonic enabled and I know a certain DJ radios are present also. Maybe it just gives additional radios as you say with more accurate matches.

I think it may enhance the album and track radios by including sonically similar albums and tracks. So “require” was probably stretch on my part :slight_smile: .

1 Like

Stress on the PC? Does it have a heart condition? Just let ‘er rip, man. Being busy for a few days won’t hurt a PC. Even if there’s a problem with the CPU heat sink, it will throttle itself before it hurts itself.

FWIW I like what Sonic Analysis provides.

2 Likes

Ha! I might be stressed after the electric bill comes in after approx 48 hours of full load on the pc :grin:

I can only imagine how long this would take on a mid range cpu.

A few thoughts. I have a similar sized library (210k tracks).

First, for some reason, if you let the Butler do it, it will take a lot longer to process all the tracks. I have found that you can temporarily set the “analyze tracks for sonic data” to “when media is added" and then just trigger it that way. It will do the whole library much faster. No need to add new music even. Just running the scan triggers it for the whole library every time. The Butler seems to wait a bit between the albums, which adds up immensely for libraries like ours.

And let’s get into the feature itself. It is both over-hyped and under-hyped, depending on what you want out of it.

If you expect it to really be able to give you similar music, you will be disappointed. There are too much variables it simply can not handle. If you are a person that (sub)consciously compares the tracks as they come, you will not like it. I had issues with this at first honestly.

But, if you want just a flow of music for the sake of exploration or variation that should be “in your ballpark” then it’s very good. Extremely good even, especially the musical journeys or DJ stretch.

This is a must though: You must have only music in your library that you actually want to listen to. Trust me on this, it is extremely important. I had genres in there that I wasn’t particularly fond of myself, either for collection purposes or for friends. This is a very bad idea because the DJs etc will ruin the mood then by bringing them into the mix. I will give a quick example:

I like melodic death metal. This is kind of cheesy easy listened metal with death growl vocals. But the DJs would constantly mix it with ordinary death metal (which I don’t like) which is very different and a lot harder to listen to. Ruined the mood all the time. The only solution was to remove all death metal.

And it think it’s worth it personally. I have removed a lot of music from my server since the sonic stuff was introduced. At this point it’s very enjoyable. But of course, it will depend on what you prioritise.

A little note on the Artist radio feature:

Without sonic metadata (like you have now), it just uses lastfm similar artists.

With sonic metadata it will use both lastfm similar artists and sonically similar artists.

This means that depending on your priorities and library, the Artist radio can be either upgraded our downgraded from the analysis.

I’d really like to hear your own thoughts of the feature if you end up letting it finish.

1 Like

Wow, I’ll definitely have to try that as that might really speed things along.

Thanks for all the other insights on the features, I especially like the sound of this one as I do have a lot of artists which does not have many similar artists. This would be very useful.

I’ll keep an eye out for this once it finishes.

1 Like

BTW… I suspect the log messages might have a bug in it. I set the scheduled time from 7pm → 9pm on my server to run a test for 2 hours.

At the start I see this …

Apr 01, 2026 19:06:00.171 [139638700821304] DEBUG - [Req#5cfcd/Butler] We found 12823 albums in section 3 which need sonic analysis.
Apr 01, 2026 19:06:00.184 [139638700821304] DEBUG - [Req#5cfcd/Butler] Computed a set of 1283 batches of albums to get sonic analysis in 44ms.

… which is fine, it finds the 12823 albums I have and set them up in batches which I can then see getting processed …

Apr 01, 2026 19:12:23.554 [139638700821304] DEBUG - [Req#5cfcd/Butler] Performing sonic analysis for section 3 of 10 albums.
Apr 01, 2026 19:13:56.625 [139638700821304] DEBUG - [Req#5cfcd/Butler] Performing sonic analysis for section 3 of 10 albums.
Apr 01, 2026 19:14:53.834 [139638700821304] DEBUG - [Req#5cfcd/Butler] Performing sonic analysis for section 3 of 10 albums.
Apr 01, 2026 19:15:49.116 [139638700821304] DEBUG - [Req#5cfcd/Butler] Performing sonic analysis for section 3 of 10 albums.
Apr 01, 2026 19:16:46.214 [139638700821304] DEBUG - [Req#5cfcd/Butler] Performing sonic analysis for section 3 of 10 albums.
Apr 01, 2026 19:17:42.964 [139638700821304] DEBUG - [Req#5cfcd/Butler] Performing sonic analysis for section 3 of 10 albums.
Apr 01, 2026 19:18:54.416 [139638700821304] DEBUG - [Req#5cfcd/Butler] Performing sonic analysis for section 3 of 10 albums.

… however at the end of the scheduled maintenance when butler gives a summary of what was done it states …

Apr 01, 2026 21:06:52.261 [139638700821304] DEBUG - [Req#5cfcd] Butler: Performed sonic analysis on 0 batches of albums.

When starting another scheduled window however it did complete okay as I see the count reduced …

Apr 01, 2026 22:06:18.385 [139638683650872] DEBUG - [Butler] We found 12233 albums in section 3 which need sonic analysis.
Apr 01, 2026 22:06:18.555 [139638683650872] DEBUG - [Butler] Computed a set of 1224 batches of albums to get sonic analysis in 203ms.

This is a great tip. I’m getting approx 2x sonic analysis doing it this way with over 600 albums completed in the first hour after I changed this. Butler I guess is being more gentle on the overall system whereas doing with when media is added is forcing it plough through the media regardless …

1 Like

Sonic analysis is now complete, still playing around with it but I have a question.

How do you folks monitor this moving forward ? Typically I check the night butler tasks for stuff like the following …

Apr 04, 2026 13:42:35.384 [140284536007480] DEBUG - [Req#1c9d9] The butler performed deep analysis on xx files
...
Apr 04, 2026 09:21:12.977 [140284536007480] DEBUG - [Req#1c9d9] The butler performed loudness analysis on xx albums.

… however for sonic it only seems to have reported 0, which I guess is a bug.

Apr 04, 2026 13:40:53.194 [140284536007480] DEBUG - [Req#1c9d9] Butler: Performed sonic analysis on 0 batches of albums.

Looking in the logs I can see the following after additional albums are added …

Apr 04, 2026 14:21:36.247 [140284546554680] DEBUG - [MusicAnalysis] Building album index with 12824 albums.
Apr 04, 2026 14:21:36.247 [140284546554680] DEBUG - [MusicAnalysis] Activity: updated activity 16c085d5-8805-4d93-89cd-aa1e5f961ab4 - completed 60.0% - Sonic Analysis
Apr 04, 2026 14:21:36.253 [140284546554680] DEBUG - [MusicAnalysis] Building tree.
Apr 04, 2026 14:21:36.711 [140284546554680] DEBUG - [MusicAnalysis] Building artist index with 1707 artists.
Apr 04, 2026 14:21:36.711 [140284546554680] DEBUG - [MusicAnalysis] Activity: updated activity 16c085d5-8805-4d93-89cd-aa1e5f961ab4 - completed 80.0% - Sonic Analysis
Apr 04, 2026 14:21:36.712 [140284546554680] DEBUG - [MusicAnalysis] Building tree.
Apr 04, 2026 14:21:37.588 [140284546554680] DEBUG - [MusicAnalysis] Activity: Ended activity 16c085d5-8805-4d93-89cd-aa1e5f961ab4.
Apr 04, 2026 14:21:37.588 [140284546554680] DEBUG - [MusicAnalysis] Indexes completed.

… so I’m thinking that if the number of albums along with artists match what is actually on my server then I know its all caught up.

Anyone a better way to monitor this ? Want to ensure it does not choke on some future content.

Just look at the album preplay page in the web app.
If you see a “Sonically Similar Albums” hub below, then you can be sure that the album has been analyzed.

1 Like

Unfortunately, there are several bugs with “keeping track" of the sonic analysis that have never been fixed since the launch of the feature.

You have already seen that the Butler always reports 0 albums. It has been like this for a very long time.

There is also a long standing bug when only one album is added. If you add only one album, it often won’t show any similar tracks (check this in Plexamp) or any similar albums, until you add more albums and let them process too (and then, sometimes the last of them can also have this bug).

Personally I just don’t think about it and then I check every once in a while if the latest recently added albums have got sonically similar albums. I’ve used it since it launched and it has never, not once, got stuck on any newly added music.

Also perhaps a good tip: PMS re-creates the sonically similar statistics only after all of them are processed. So, if you add 1000 new albums, PMS will not put any sonically similar items for any of these untill all of them are processed, even if it takes many days. This creates the situation (I’m assuming) that if your latest added albums do have sonically similar albums, then it should be guaranteed that all other albums also have them, and nothing got stuck.

What is your opinion about the feature now though when you are trying it out?

Thanks for confirming you also see that.

I confirmed this today after adding 1 album as a test to see how the scheduler would handle it overnight. It did not have sonic analysis completed on it. So I changed the scheduler to your trick to include when media is added and ran a library scan, it was done right away. My guess this is a side effect of the batch way they process in groups of 10 within the butler maintenance window. Anyhow, know I now about I can handle it, thanks.

Its early days. I can see some benefits but I’m not blown away yet so I’ll leave it enabled at least until I plex dance my music library in 6 months or so. I like the Mixes For You, this is interesting but I only have three. I’ll see overtime if these change and other mixes are added or if these are just static now.

I dislike that when playing a track on the related page only 1 sonically similar tracks is displayed. Having to swipe to see other matches is bad, not intuitive and there plenty of room to list at least 3. Also, selecting more on this page seems to only control related tracks and does not change the sonic track. Scratching my head why the control for this would be different …

1 Like

Now start a few artist radios.

Or if there is a favorite artist, play that from the Artist page, then enable the guest DJ Stretch.

1 Like