I have written this plugin for my own use and have no intentions to maintain or develop it on a regular basis. If it works for you and you like it, well, great. If it causes problems for you, you have the choice to
1) stop using it, or
2) try to fix it yourself.
Download links (updated for latest version)
foo_vis_simple_spectrum-0.1.6.zip (http://foosion.foobar2000.org/vis/foo_vis_simple_spectrum-0.1.6.zip) (normal version)
foo_vis_simple_spectrum-0.1.6-src.zip (http://foosion.foobar2000.org/vis/foo_vis_simple_spectrum-0.1.6-src.zip) (source code for normal version)
foo_uie_simple_spectrum-0.1.6.zip (http://foosion.foobar2000.org/vis/foo_uie_simple_spectrum-0.1.6.zip) (panel version)
foo_uie_simple_spectrum-0.1.6-src.zip (http://foosion.foobar2000.org/vis/foo_uie_simple_spectrum-0.1.6-src.zip) (source code for panel version)
Documentation (a bit outdated)
You need to have foo_vis_manager.dll installed for this plugin to work.
To enable it, activate visualization processing (under "Preferences->Visualization"), and make sure that the "Simple spectrum" entry in the components menu is checked.
If the plugin is enabled, the window with the spectral view will pop up when you start playing music. It will vanish after two seconds, if playback is stopped. In case seeking takes longer than two seconds, it will vanish as well.
Left clicking on the window cycles through the following display modes:
- all channels: displays all channels
- mixdown: all channels are mixed down to mono
- mean squared difference: computes the mean of all channels, and displays the mean squared difference of all channels from this mean value
Right clicking on the window opens the configuration for the plugin.
Missing features
If someone has a feature request or wants to implement a feature, I suggest to post a message to this thread. I'll start with some missing features:
- make the window resizable
- add configuration for the energy range
- add configuration for intermediate colors in the energy display (the implementation already supports this)
If it causes problems for you, you have the choice to
1) stop using it, or
2) try to fix it yourself.
I obviously forgot one option:
3) Report the problem in this thread.
Problem 1 (flashing window): While playing music, the window disappears every two seconds, and immediately pops up again. This is triggered by flushing the pipeline (i.e. seeking or stopping playback) while the plugin is disabled.
This should be solved now.
more fixes to remedy window flashing after massive seeking..
download meeee (http://www.stud.uni-karlsruhe.de/~uybc/foo_vis_simple_spectrum.zip)
(no src included.. just added KillTimer to g_flush())
request: decode whole file and show result as in CEP.
fixed channel order (left channel is displayed at the top of the window now etc)
clickie (http://www.stud.uni-karlsruhe.de/~uybc/foo_vis_simple_spectrum.zip)
request: decode whole file and show result as in CEP.
Would be a nice feature, but after all, this is a vis plugin. I don't know if the vis api supports something like this.
You could make that a context menu feature for a single file, using the input helper to decode the file. It was also suggested that it be possible to save a print of the entire file as one big PNG file.
Have fun.
It was also suggested that it be possible to save a print of the entire file as one big PNG file.
... and this suggests using diskwriter service
updated compile for most recent betas:
foo_vis_simple_spectrum for fb2k 0.7b29+ --> download here (http://www.stud.uni-karlsruhe.de/~uybc/foo_vis_simple_spectrum-fb7b29.zip)
:B
New version (still for 0.7b29+):
plugin (http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/foo_vis_simple_spectrum.zip)
source code (http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/foo_vis_simple_spectrum-src.zip)
changes:
1) integrated ssamadhi97's new energy->color mapping into my source (puts more emphasis on low energy values)
2) "Ignore lagged chunks" option replaced by "Process no more than {n} consecutive lagged chunks", where {n} is an input box.
3) added experimental option to try to compensate for windowing artifacts from the FFT.
The lagged chunks option was broken (thanks goes to the spinner control ). The spinner control is no more. After all, pressing the down arrow to increment the value wasn't that intuitive...
made vis window resizable:
plugin (http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/foo_vis_simple_spectrum.zip)
source code (http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/foo_vis_simple_spectrum-src.zip)
What? The display looks crappy after shrinking and immediately re-enlarging the window? Well, don't do this then.
A very nice improvement, thanks
d'yo know this winampish vis_nsfs.dll? there's oscilliscope w/configurable color and vertical usage %% along with voiceprint. So i want ocsilliscope and autoscroll too as i don't want winamp.
EDIT: eehh... we need to involve Ryan Geiss to vis programming... But Geiss leaves much to be desired as the person (I had bad experience of dialogue with him about two years ago). Or I simply lucky/stupid?
d'yo know this winampish vis_nsfs.dll?
No.
there's oscilliscope w/configurable color and vertical usage %% along with voiceprint. So i want ocsilliscope and autoscroll too as i don't want winamp.
Take the source and add it, that's ok with me.
As I have stated earlier, I use this plugin as a tool, so it's unlikely that I'll add any "fancy stuff". (So it does not have the look&feel of CEP, but that's ok, since it isn't CEP.) I might add autoscrolling, but don't hold your breath.
Disappointed? Dont give up hope, there are more vis programmers than just Ryan Geiss (perhaps even some good ones).
@foosion: I use this plugin quite alot, but IMHO a scale would be nice. I was thinking of an optinal, vertical scale on the left side to make it easier to place the cut off and other details.
Btw: I downloaded version 0.1.1 from your plugin page, but foobar reports it to be v0.1.0. Not a big deal, but I just thought I should let you know, in case you uploaded an older version or something by accident.
Btw: I downloaded version 0.1.1 from your plugin page, but foobar reports it to be v0.1.0. Not a big deal, but I just thought I should let you know, in case you uploaded an older version or something by accident.
0.1.1 claims to be 0.1.0, doh.
fixed channel order (left channel is displayed at the top of the window now etc)
OK, is this still so? Later in this thread foosion announced a new version, mentioning implementing other changes made by ssamadhi97, but not this one. So, what is the channel order in the vis?
Thanks
[span style='font-size:8pt;line-height:100%']I think I made a mistake in my own vis's channel ordering, but can't quite see it in my own source...maybe checking against simple_spectrum will help me...[/span]
fixed channel order (left channel is displayed at the top of the window now etc)
OK, is this still so?
It is.
Thanks, foosion. There was some mixup with the channels in my own vis, and I wanted to double-check with your vis. All is fine now
Just a small update:
foo_vis_simple_spectrum-0.1.5.zip (http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/vis/foo_vis_simple_spectrum-0.1.5.zip): now with scrolling
foo_uie_simple_spectrum-0.1.5.zip (http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/vis/foo_uie_simple_spectrum-0.1.5.zip): a panel version (single instance)
Both versions contain several known glitches like frequency scale not redrawing and colors not changing after you edit them; the latter can be fixed be selecting a new color interpolation or by reselecting the old one. Fixing these could reasonably only be done by rewriting the component from scratch, and I'm not planning to do that in the near future. Also if you want some new features, you'll have to add them yourself or find someone else to add them for you (but not me ).
Love it! Especially the panel.
Edit: No need for a quote...
How come the panel version is so much brighter? IIRC, I use the default coloring, and in the window version the lowest level is close to black, but in the panel it's (medium) purple.
Screenshots:
png (142kB) (http://www.stud.ntnu.no/~mortek/foobar2000/spectrum.png)
jpg (24kB) (http://www.stud.ntnu.no/~mortek/foobar2000/spectrum.jpg)
Not that important, just curious.
I think there is a bug in the panel plugin when resizing the columns ui sidebar. Just add the simple spectrum to the sidebar and then minimize the width. When the sidebar is about a few pixels wide the plugin will crash.
is there any chance of geting a panel version of VU meter (foo_vis_vu_meter) ?
*runs and hides in the corner awaiting objects to be thrown at him
I think there is a bug in the panel plugin when resizing the columns ui sidebar. Just add the simple spectrum to the sidebar and then minimize the width. When the sidebar is about a few pixels wide the plugin will crash.[a href="index.php?act=findpost&pid=251318"][{POST_SNAPBACK}][/a]
Confirmed. I'll post a fixed version soon.
is there any chance of geting a panel version of VU meter (foo_vis_vu_meter) ?[a href="index.php?act=findpost&pid=251321"][{POST_SNAPBACK}][/a]
Well, it's on my personal wishlist already.
Some bug fixes (thanks to kode54 to pointing out the resource leak when resizing the window/panel):
foo_vis_simple_spectrum-0.1.6.zip (http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/vis/foo_vis_simple_spectrum-0.1.6.zip): now with scrolling
foo_uie_simple_spectrum-0.1.6.zip (http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/vis/foo_uie_simple_spectrum-0.1.6.zip): a panel version (single instance)
Hello,
Is it possible to remove the grid?
Cheers
Updated panel version for ui_extension SDK 5.0.0, download link remains the same.
Edit: Nevermind, got it working.
I have put the dll in my components dir and everything and I went to enable vis processing. Its all checked and all that good stuff. But nothing is showing up.
Any idea's why its not showing up?
because you didn't start it by using Visualization -> Simple spectrum in the Components menu, maybe?
Well I copied my playlist formatting and all to a new foobar config file and now it all works fine. Before I didn't have that menu at all.
foosion, don't you think you ought to change
wc.hbrBackground = 0;
to
wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE+1);
?
I was looking through your code because I wanted to learn how to use your UIE helper and noticed that. I actually had some random occurences (by random, I mean I didn't bother figuring out what was the case) when the panel window was (pseudo) transperant.
By the way, thanks for your UIE helper. It really helps write a much more managable UIE panel.
foosion, don't you think you ought to change[a href="index.php?act=findpost&pid=260414"][{POST_SNAPBACK}][/a]
I think I ought to change quite a lot in this component occasionally, but thanks for the hint.
Glad that you like the UIE helper.
how show(enable) foo_uie_simple_spectrum.dll in foo_ui_columns ? :-/
how show(enable) foo_uie_simple_spectrum.dll in foo_ui_columns ? :-/[a href="index.php?act=findpost&pid=260505"][{POST_SNAPBACK}][/a]
Do you have the latest version of foo_ui_columns? If so, rightclick on the toolbar or on a header in the sidebar and choose "Visualizations/Simple spectrum".
how show(enable) foo_uie_simple_spectrum.dll in foo_ui_columns ? :-/[a href="index.php?act=findpost&pid=260505"][{POST_SNAPBACK}][/a]
Do you have the latest version of foo_ui_columns? If so, rightclick on the toolbar or on a header in the sidebar and choose "Visualizations/Simple spectrum".
[a href="index.php?act=findpost&pid=260520"][{POST_SNAPBACK}][/a]
hmmm...
if foo_ui_columns 1.2.b3+foo_uie_simple_spectrum 1.5 work good, why in 1.6 version it not work ? :-/
PS: this menu "Visualizations/Simple spectrum" is just gone :-/
2foosion: you don't know, when appear foo_uie_bacon(or g-force), foo_uie_equalizer , foo_uie_id3tag_changer ?
if foo_ui_columns 1.2.b3+foo_uie_simple_spectrum 1.5 work good, why in 1.6 version it not work ? :-/
The UI extension API in foo_ui_columns changed from 0.1.2b3 to 0.1.2b4, foo_uie_simple_spectrum 0.1.6 requires foo_ui_columns 0.1.2b
4 or newer.
2foosion: you don't know, when appear foo_uie_bacon(or g-force), foo_uie_equalizer , foo_uie_id3tag_changer ?
How would I know that? As for a panel version of the Winamp vis wrapper, I think it has been said that it's impossible.
if foo_ui_columns 1.2.b3+foo_uie_simple_spectrum 1.5 work good, why in 1.6 version it not work ? :-/
The UI extension API in foo_ui_columns changed from 0.1.2b3 to 0.1.2b4, foo_uie_simple_spectrum 0.1.6 requires foo_ui_columns 0.1.2b4 or newer.
it's not help
http://www.hydrogenaudio.org/forums/index....ndpost&p=260883 (http://www.hydrogenaudio.org/forums/index.php?showtopic=28869&view=findpost&p=260883)
2foosion: you don't know, when appear foo_uie_bacon(or g-force), foo_uie_equalizer , foo_uie_id3tag_changer ?
How would I know that? As for a panel version of the Winamp vis wrapper, I think it has been said that it's impossible.
[a href="index.php?act=findpost&pid=260664"][{POST_SNAPBACK}][/a]
i's very bad but somebody create something better
is there any chance of geting a panel version of VU meter (foo_vis_vu_meter) ?[a href="index.php?act=findpost&pid=251321"][{POST_SNAPBACK}][/a]
Well, it's on my personal wishlist already.
[a href="index.php?act=findpost&pid=251446"][{POST_SNAPBACK}][/a]
Any update on this matter?
Any update on this matter? [a href="index.php?act=findpost&pid=272399"][{POST_SNAPBACK}][/a]
No, it's rather low on my wishlist.
I'm not really a fan of any vis but this one rocks. Good job!
this is a really nice plugin, thanks much.
i have been interested for a long time in getting a simple spectrum with a log-scale y axis. this seems like it should be really simple, and it would have the beautiful consequence that the spectrum could be superimposed on a musical scale. in fact, one could ideally note use chromatic scale halfsteps as the tick marks.
thanks very much for your great work.
stephen
A logarithmic frequency scale is not very high on my to-do list currently. I think some older version had one, but it was removed when I restructured the code. Before you ask: no, it's not trivial to add it back right now.
A logarithmic frequency scale is not very high on my to-do list currently. I think some older version had one, but it was removed when I restructured the code. Before you ask: no, it's not trivial to add it back right now.
[a href="index.php?act=findpost&pid=308158"][{POST_SNAPBACK}][/a]
Ah, that's too bad. If you ever *do* add it back, or if the older version is lying about somewhere handy, I'd be much obliged. In the meantime, thanks much, anyway. It's a nice piece of software.
stephen
I have a problem with this plugin : I was fighting for a long time against some low level noises in my speakers, when foobar's playing. Like a kind of 2-3 seconds wobulation from low to high to low frequencies, appearing ramdomly in time. I recorded a sound played by foobar with cooledit and spectrumed it. I saw the sound I was actually playing, and a parasite noise represented by many diagonal lines. Foobar was the only player to generate such noises, so I decided to deactivate each component one by one. It's a fact that when i close the 'simple spectrum panel', the noise disappears (foo_uie_simple_spectrum-0.1.6). Does anyone have ever noticed that??? is it posible that a vis. plugin affects the sound of foobar?
Anyway, I'm happy to have find the solution, but also disappointed cause i like this nice spectrum...
Hate to resurrect old threads, but I was playing with foo_uie_simple_spectrum and I was wondering how trivial (or not) it would be, when running it with all channels (2 in my case) to have them back to back (i.e. flip the bottom display top to bottom)
thoughts?
i seem to have a problem with simple spectrum... problem is it isn't showing up
i need foo_vis_manager
please help !
foo_vis_manager is contained in the foobar2000 installer. You have to reinstall foobar2000 and explicitly select it.
Some bug fixes (thanks to kode54 to pointing out the resource leak when resizing the window/panel):
foo_vis_simple_spectrum-0.1.6.zip (http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/vis/foo_vis_simple_spectrum-0.1.6.zip): now with scrolling
foo_uie_simple_spectrum-0.1.6.zip (http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/vis/foo_uie_simple_spectrum-0.1.6.zip): a panel version (single instance)
[a href="index.php?act=findpost&pid=251855"][{POST_SNAPBACK}][/a]
Polite rant - I spend four days scouring these forums looking for this link, and when I finally find it, it's dead (the panel link, I mean).
- edit - My apologies. The link in post #1 works. Oops...
Any chance of an 0.9 panel version?
And a non-panel 0.9 version too would be great.
I'll try to port it myself now.
Has this thing died? It's the only thing keeping me from updating to 0.9.
me too!
I badly want this plugin.
Was anything similar developed for fb2k 0.9?
i dont think so.
I would like to see this plugin ported to 0.9 too.
It was really handy and fine.
Probably hopeless to post a comment from the looks of things, but what the heck. Can't hurt to try. Both the wife and I love this plug-in, and personally I still hope it will be ported some day. I'm almost tempted to go back to 0.8.3 just to have it back again sometimes. I've always found it to be very useful as a tool and not just a gimmic. It provides a very quick, easy analysis of tracks on the fly. Ok, I'll admit that it's just plain fun to watch sometimes too. Peaceful almost, kind of like watching fish in a fish tank.
Probably hopeless to post a comment from the looks of things, but what the heck. Can't hurt to try. Both the wife and I love this plug-in, and personally I still hope it will be ported some day. I'm almost tempted to go back to 0.8.3 just to have it back again sometimes. I've always found it to be very useful as a tool and not just a gimmic. It provides a very quick, easy analysis of tracks on the fly. Ok, I'll admit that it's just plain fun to watch sometimes too. Peaceful almost, kind of like watching fish in a fish tank.
I still haven't switched from 0.8.3 because I don't want to lose this plugin. I've been seriously strongly considering trying the port myself, and I know absolutely nothing about foobar plugins.
still waiting....
still waiting....
Oh really?
still waiting....
Oh really?
Yup... and waiting, and waiting, and waiting, and waiting, and...
still waiting....
Oh really?
Yup... and waiting, and waiting, and waiting, and waiting, and...
There's an early alpha here. It looks very much like the old simple spectrum plugin but it is quite CPU hungry and doesn't have many features yet. Still, looks promising.
<edit>Link removed</edit>
/Kef
If I do not link something on the public pages, then it is on purpose. I have removed the page and the DLL from my site and would appreciate if you did not spread the version you have downloaded. Thanks.
If I do not link something on the public pages, then it is on purpose. I have removed the page and the DLL from my site and would appreciate if you did not spread the version you have downloaded. Thanks.
Sorry, I was not aware it was not for public testing, I found it using google.
/Kef
foosion
any news?
No new version for 0.9 ??????????????????????????????????????????????????????????
I want it.
I want it.
Now this is the best way for NOT getting an update there's nothing more annoying for a developer than reading "I wand it" and "come on" in forums... be patient...
there's nothing more annoying for a developer than reading "I wand it" and "come on" in forums... be patient...
Or learn C++ (I guess that's the most annoying thing to read for a user ).
Now this is the best way for NOT getting an update
Exactly right. The proper way is through monetary bribes and brown-nosing.
Is this project abandoned? Nobody is interested in developing for fb2k 0.9?
Yes... this is one of my favourite plugins... I and lots of my friends are waiting for this plugin since Foobar 0.9 came out. Please, someone port this to new Foobar
It would be greatly appreciated if someone could update this.
I second (actually, twohundredfourtynine) that
foo_vis_manager is contained in the foobar2000 installer. You have to reinstall foobar2000 and explicitly select it.
Hello foosion how are you?
I tried following your advice and re-installed Foobar2000 0.9 but I did not see ANYWHERE the option to install foo_vis_manager. Is there some other way of obtaining this dll file?
It is not needed for foobar2000 0.9.x. On the other hand, the simple spectrum visualization is not available for foobar2000 0.9.x either.
Any chance to update this plugin for foobar 1.0 and columnsUI? Panel version.