Winamp Visualisations in XMPlay (xmp-wavis rev.7, source code)

Started by Barna,

gnozal

Hi,
when I am using xmp-wavis 0.9.1 with milkdrop 2.0e in playlist mode [P], I only see numbers "1. 2. 3. etc".
I also use Foobar2000, and when I use foo_vis_shpeck with milkdrop 2.0e in playlist mode, I see the module titles "1. Title1 2. Title2 etc".
So my question is : am I missing some setup parameter or is this feature currently unsupported in xmp-wavis ?
Thanks !

Barna

Sorry for not replying for a while.

Here's 0.9.3 which supports the unicode play list MilkDrop 2.0e requests. It also properly sets its song title so MilkDrop 2.0e gets the full unicode song title. Hooray :-)

Yeah, 0.9.2 was in there somewhere. But I somehow forgot to post it here. 0.9.2 introduces support for Windows 98 (and other 9x based ones I guess).

Download: http://www.nukular.ch/xmp-wavis_0.9.3.zip

gnozal

Thanks for the update.
Now the MilkDrop 2.0e playlist displays the song titles.
Unfortunately, I have another problem : when I browse through the playlist, I can't play the song under the cursor with [Enter]. XMplay doesn't load / play the song.
It only works once, if you enter the playlist while XMPlay isn't playing any song. Then you can start a song with [Enter] ; it doesn't work a second time.

Barna

It works here with XMPlay 3.4.2.76.
Please try with the newest bleeding edge XMPlay release from http://www.un4seen.com/stuff/xmplay.exe

gnozal

Hi,
I already use this XMPlay build.

EDIT : I could get it work, but only if the extended playlist [F5] or the library [F6] are active !
If the information panel is closed, or if it is open but with [F1]/[F2]/[F3]/[F4], [Enter] doesn't work in the Milkdrop playlist.
Weird ...

Another thing I noticed : when I press [Enter] in the Milkdrop playlist, I see the XMPlay playlist [F5] scrolling (slowly) to the selected song, and the playback only starts when the scrolling has reached the selected song.

Barna

Quote from: gnozalAnother thing I noticed : when I press [Enter] in the Milkdrop playlist, I see the XMPlay playlist [F5] scrolling (slowly) to the selected song, and the playback only starts when the scrolling has reached the selected song.
Thats how my workaround for that feature works. It sends as many list-up or list-down commands are needed to reach the song to be selected and then sends the play-song command. As far as I know with the current XMPlay API I have no other choice.
But... for me it works quite well and fast on two different machines.
Guess you need to live without that feature until XMPlay API supports more commands.
(if Ian reads this and feels generous, the required command would be the winamp message IPC_SETPLAYLISTPOS or something equivalent for the (DSP) plugin api)

gnozal

Quote from: BarnaThats how my workaround for that feature works. It sends as many list-up or list-down commands are needed to reach the song to be selected and then sends the play-song command.
Thanks for the information.
It works, but it's a bit slow (when XMPlay is playing song 1 and I select song 450, it takes 1-2 secs and Milkdrop is frozen). But I can live with that.
Thanks again.

PS : still, I hope Ian will feel generous ;)

Ian @ un4seen

Here's a generosity update :)

   www.un4seen.com/stuff/xmplay.exe

I'm not sure whether IPC_SETPLAYLISTPOS is meant to scroll the playlist (if necessary) to bring the selected track into view; it currently doesn't, but let me know if it should.

Dotpitch

Quote from: Ian @ un4seenI'm not sure whether IPC_SETPLAYLISTPOS is meant to scroll the playlist (if necessary) to bring the selected track into view; it currently doesn't, but let me know if it should.
I'd say it should when 'Follow current track' is ticked for the appropriate playlist view.

gnozal

Quote from: Ian @ un4seenHere's a generosity update :)

   www.un4seen.com/stuff/xmplay.exe

I'm not sure whether IPC_SETPLAYLISTPOS is meant to scroll the playlist (if necessary) to bring the selected track into view; it currently doesn't, but let me know if it should.
Thanks Ian !!!!
Now waiting for Barna's update ;)

From my point of view (using Milkdrop), it's not necessary to scroll the play list.

Barna

Quote from: Ian @ un4seenHere's a generosity update :)

   www.un4seen.com/stuff/xmplay.exe

I'm not sure whether IPC_SETPLAYLISTPOS is meant to scroll the playlist (if necessary) to bring the selected track into view; it currently doesn't, but let me know if it should.
Thanks! Works perfectly as expected ;-)

And here's the updated plugin:
Download: http://www.nukular.ch/xmp-wavis_rev.5.zip

The only plugin that uses the IPC_SETPLAYLISTPOS is MilkDrop which directly sends a play command after the setplaylistpos (gets translated to XMPlay shortcut command 372 - List - Play). So I think its fine how it is now without scrolling, as the play command does it if 'follow current track' is set in the options.

Edit: updated this post also to rev.5 - another minor update :-)

winner

Nice plugin!

The readme file says "The plugin also registers an XMPlay shortcut 'Winamp Visualisation on/off',
which toggles the running state of all plugins that have been set up." But where can I find this icon?

Also, I'm running the plugin with XPlay ver. 3.4.2.77 on Windows 2000 Professional, using the Nullsoft AVS plugin, ver. 2.81d. If I run XMPlay with AVS, then close XMPlay and reopen, I will get a system "ding" sound when reopening XMPlay. I am able though to play my song and AVS works. Is this a known issue, or can I help somehow to troubleshoot this ding sound?

Thanks!

Alexsource

Quote from: winnerNice plugin!

The readme file says "The plugin also registers an XMPlay shortcut 'Winamp Visualisation on/off',
which toggles the running state of all plugins that have been set up." But where can I find this icon?

Also, I'm running the plugin with XPlay ver. 3.4.2.77 on Windows 2000 Professional, using the Nullsoft AVS plugin, ver. 2.81d. If I run XMPlay with AVS, then close XMPlay and reopen, I will get a system "ding" sound when reopening XMPlay. I am able though to play my song and AVS works. Is this a known issue, or can I help somehow to troubleshoot this ding sound?

Thanks!
It says "registers a shortcut" (as in a keyboard shortcut) not "adds a button". You should be able to access the shortcuts options from the options and stuff window.

Barna

Yeah the shortcut setting that you can configure is called "Winamp Visualisation on/off"

The warning-sound issue was unknown so far because I always run my OS's with any kind of annoying sounds completely disabled.
But... I know why the warning sound is being played while starting AVS.
The starting procedure of winamp visualisation plugins involves two steps. First it asks the plugin to create its own window (like MilkDrop does). If that fails (this is where the warning signal is being played) it opens a window for the plugin to render itself in. That is the reason why the wrapped AVS plugin has the XMPlay icon and MilkDrop for instance doesn't.
I'm currently still prefering MilkDrop doing its own window managment because its just simpler for the entire wrapping process. But yeah that signal sound is stupid so I might either change to always managed window or add an option... Not sure when I'll find time to do that though. Tell me how much it annoys you :-)

winner

Quote from: BarnaYeah the shortcut setting that you can configure is called "Winamp Visualisation on/off"

The warning-sound issue was unknown so far because I always run my OS's with any kind of annoying sounds completely disabled.
But... I know why the warning sound is being played while starting AVS.
The starting procedure of winamp visualisation plugins involves two steps. First it asks the plugin to create its own window (like MilkDrop does). If that fails (this is where the warning signal is being played) it opens a window for the plugin to render itself in. That is the reason why the wrapped AVS plugin has the XMPlay icon and MilkDrop for instance doesn't.
I'm currently still prefering MilkDrop doing its own window managment because its just simpler for the entire wrapping process. But yeah that signal sound is stupid so I might either change to always managed window or add an option... Not sure when I'll find time to do that though. Tell me how much it annoys you :-)

Great! Thanks for the explanation! Personally I only run vis plugins occasionally, so its not a big deal for me. Considering though that the majority of users would have system sounds on, it might be considered a general annoyance that should be addressed.
 

SmartOne

Quote from: Ian @ un4seenThe native vis system is only available to input plugins. Currently, the MIDI and AHX plugins make use of it. I guess a native vis plugin system could be something for 3.5 :)

Which visualization does the MIDI plugin add?

I know it has been mentioned, but it would be cool to have the ability to stuff Milkdrop2, AVS, etc. into XMPlay's Visuals tab.

Dotpitch

Quote from: SmartOneWhich visualization does the MIDI plugin add?
xmp-ahx adds a pattern viewer for AHX (similar to the MOD pattern viewer) and xmp-midi adds a visual to display karaoke lyrics.

raina

Quote from: Dotpitchxmp-ahx adds a pattern viewer for AHX (similar to the MOD pattern viewer)

+on the flipside, a pretty articulate note dote view.

Ligthz

Very good plugin but i dont know save options in milkdrop 2 config window, if i change some options... it always remember the default configuration and i dont have posibility to change the options in this menu. Do you do anything for solve this? Sorry for my english, im spanish user. salute  ;)

Markus

This works great for Milkdrop, but I am having some trouble with SSpectrA (an audio spectrum analzer).  On XP it works just fine.  On Vista it runs - and displays in alt-tab. But NOT on the screen. Any ideas?

Thanks for your work regardless.