Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Spectrogram - can we have look of SoX in foobar? (Read 10452 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Spectrogram - can we have look of SoX in foobar?

Is it possible to implement in foobar the way that SoX colours it's spectrogram? It is simply better than current foobar implementation... Anyone else interested?

Damn, by mistake I put it in wrong forums section. Sorry. Please move it to appropriate section. Thanks in advance.

Spectrogram - can we have look of SoX in foobar?

Reply #1
I've never used SoX, and don't have a problem with foobar's spectrogram colouring*. Can you provide some pictures, maybe?

*) well, maybe there's the one thing that made me pick the colours black-blue-white-white because otherwise it's far too dark.

Spectrogram - can we have look of SoX in foobar?

Reply #2
http://www.thenakedscientists.com/forum/in...ach=15360;image
http://www.computeraudiophile.com/files/spec.png

additionally the same colouring scheme is used in adobe audition:
http://i12.fastpic.ru/big/2010/1118/d1/880...bc75e05fdd1.png

other thing is that it was possible to achieve something similar in old v0.8.3 of foobar with "HSV counterclockwise" color scheme and properly chosen colours. I still miss this old spectrogram...

EDIT:
Maybe it is possible for someone to use SoX routines in some kind of third party spectrogram plugin... Similar to SoX resample routines used in lvqcl's resampler.

Spectrogram - can we have look of SoX in foobar?

Reply #3
Ok, foobar's way of mapping the colour gradient to sound strength is a little finicky, but using the provided screenshots I tweaked these RGB points:
16,16,18
48,0,115
176,0,91
242,54,0
255,247,0
255,255,255
255,255,255

You can kill the second white if it's too bright for your tastes.

Spectrogram - can we have look of SoX in foobar?

Reply #4
Dear dhromed... I wanted to ask you where to put that RGB values as foobar allows only 2 colors and... OMG. How stupid I was during all these years. But why no one have told me about this when I've made similar request at least 2 times? I blame you, Peter  . I think that foobar needs some serious user manual. Not only with all variables and title formatting functions, but just regular user manual as many programs has... Damn... If you will be in Poland then contact me via PM, I owe you a beer dhromed.

BTW, my suggestion: changing first color to 4, 1, 71 and adding another (3rd) stripe of white (255,255,255). Even 4th white stripe isn't bad idea. Damn... It was possible during all these years. How did you know that you should click with right button and there will be "Add New" ? How did you know this? There was nothing that could give such hint. Just an empty window with default 2 stripes - no lines denoting that there could be something more, no digits... Damn... I am seriously shocked.





I only hope, that this color mapping will also give the same difference in visible details. Several times I saw some higher frequency details on SoX spectrogram, that were invisible on foobar's default 2-color spectrogram. Because not only the colors matter- also the precision of displayed image. Anyway that colors help achieve better possibilities for analysis of displayed spectrals.


EDIT:
I love you dhromed... damn it is so gay that [insensitive stereotype removed]...

Spectrogram - can we have look of SoX in foobar?

Reply #5
Damn... It was possible during all these years. How did you know that you should click with right button and there will be "Add New" ? How did you know this? There was nothing that could give such hint. Just an empty window with default 2 stripes - no lines denoting that there could be something more, no digits... Damn... I am seriously shocked.


I suppose you're right. I just automatically assumed the first time that you could pick more than two colours, because that's how it was in Winamp: there were 5 fixed swatches you could pick. From there, I just actively looked for ways, and then right-click is the first natural option. Double-clicking empty space is the other one.

Quote
Several times I saw some higher frequency details on SoX spectrogram, that were invisible on foobar's default 2-color spectrogram.


Yup!