The other commenters are right that you can only answer these sorts of questions using the PNT but how to carry that out then is not immediately clear. Luckily Wikipedia has a very short section on this: https://en.wikipedia.org/wiki/Prime_number_theorem#Approximations_for_the_nth_prime_number
In particular they state that
$$p_n \sim n \log n$$
where $p_n$ is the $n$'th prime number and $\log$ is the natural logarithm, written '$\log$' by mathematician and '$\ln$' by people in a bunch of other professions.
This approximation is not perfect, for instance it tells you that to get the first 25 prime numbers you should look between $0$ and $25 \log 25 \approx 80.5$, to get the next 25 you should look between $80.5$ and $50 \log(50) \approx 195.6$, to get the next 25 we should look between $195.6$ and $323.8$, etc.
These are all underestimations but they do nicely confirm your intuition that the intervals get longer and longer. On the other hand, whereas the distance you have to travel on the frequency scale in music to 'catch' 12 tones doubles each time, the distance you have to travel on the number scale (in math) to catch 25 primes does not double at all. Yes it increases but much much more slowly than the exponential growth we see in music. (You can see that of course in tables of primes, but the imperfect but simple formula above has the advantage that you can quickly compute its behavior up to very large numbers using a calculator or computer and check the rate of growth there.)
So, in short, this is not what the phrase 'music of the primes' refers to.
On the most superficial level we can say that what people mean when they draw an analogy between music and the distribution of primes is
"both can be understood better by using Fourier analysis".
Now I am not sure if there really is a deeper level on which the analogy holds, or that the statement in yellow is really all there is to it. But the best way to judge that for yourself is to understand how Fourier analysis is used in music and how it used in number theory. You probably already know the answer to the first of these questions and your series of questions here on MSE is slowly closing in on the second.