20 May '13 - 19:54 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: 1 [2] 3  All
  Reply  |  Print  
Author Topic: BASS_VIS in Visual Basic?  (Read 14567 times)
Svante
Posts: 296


« Reply #20 on: 10 Jun '04 - 12:53 »
Reply with quoteQuote

Why isn't my name on the "VB Sample Contributors" list (Svante Boberg)?
« Last Edit: 10 Jun '04 - 12:55 by Svante » Logged
Irrational86
Posts: 960


« Reply #21 on: 11 Jun '04 - 03:56 »
Reply with quoteQuote

Sorry, sorry, it has been sent to Ian...I forgot to add you...
« Last Edit: 11 Jun '04 - 03:57 by XMinioNX » Logged
Svante
Posts: 296


« Reply #22 on: 13 Jun '04 - 12:42 »
Reply with quoteQuote

Here is the WinampVis example for VB, you can add it to the package...

I've also changed len to length in the API module because VB thinks you mean the function len otherwise which leads to an error.

Edit: Is now in the BassVis package
« Last Edit: 17 Jun '04 - 19:01 by Svante » Logged
Irrational86
Posts: 960


« Reply #23 on: 13 Jun '04 - 15:40 »
Reply with quoteQuote

Thank you so much Svante...

Did you try it out?
Did it work without crashes?
If you did experience any problems, what were they?
Logged
Svante
Posts: 296


« Reply #24 on: 13 Jun '04 - 20:23 »
Reply with quoteQuote

BassVis is much more stable than BASS_WA for Winamp plugins, but BassVis doesn't work on the latest plugins like the advanced visualisation studio and milkdrop, which I think is the coolest plugins...

I guess there have been changes in the plugin architecture for the latest winamp versions, you can look into the BASS_WA code for ideas (is published on the forum)...


Btw: I think it would be better if there was a separate function BASS_WINAMPVIS_GetModuleName(ModuleNumber) instead of both plugin name and module name in the same call
« Last Edit: 13 Jun '04 - 20:38 by Svante » Logged
Irrational86
Posts: 960


« Reply #25 on: 13 Jun '04 - 20:40 »
Reply with quoteQuote

BassVis is much more stable than BASS_WA for Winamp plugins, but BassVis doesn't work on the latest plugins like the advanced visualisation studio and milkdrop, which I think is the coolest plugins...
Thanks for the nice comment...

I guess there have been changes in the plugin architecture for the latest winamp versions
Yes there are, I tried working with them, but with little luck. I will eventually support them in time, but first I want to finish the Winamp input plugin addon for bass, which is almost ready.


Btw: I think it would be better if there was a separate function BASS_WINAMPVIS_GetModuleName(ModuleNumber) instead of both plugin name and module name in the same call
Great idea, am on my way to add it...

[Edit]
Svante, I have sent to your e-mail the package updated. The VB example is also updated, can you please check if it is corret. One thing though, the way you are separating the COMMALIST filenames might not be the best. I recommend using the NULLCHAR list for all languages, except Delphi, but it is really upto you

An update containing some fixes and the GetModuleName function has been sent to Ian, it should be up tomorrow
[/Edit]
« Last Edit: 13 Jun '04 - 22:00 by XMinioNX » Logged
Svante
Posts: 296


« Reply #26 on: 16 Jun '04 - 20:24 »
Reply with quoteQuote

Yes, it seems to be fine...
Logged
Irrational86
Posts: 960


« Reply #27 on: 16 Jun '04 - 21:54 »
Reply with quoteQuote

thanks...
Logged
Svante
Posts: 296


« Reply #28 on: 20 Jun '04 - 11:20 »
Reply with quoteQuote

With bassvis 2.0 the Sonique visualisations seem to have the same problem in VB as before (just a black area instead of the visualisation).

Have there been some changes to the API?
Logged
Irrational86
Posts: 960


« Reply #29 on: 20 Jun '04 - 18:37 »
Reply with quoteQuote

The blank screen problem is that the vis is not being initialized. I dont know why because I dont program in VB, do you think you can take a look?
Logged
Svante
Posts: 296


« Reply #30 on: 26 Jun '04 - 15:44 »
Reply with quoteQuote

I've found the problem, the w and h parameters in the soniquevis init call should be declared "as long" instead of "as integer".

I've also done a HTML-help file based upon the txt file in the package, here it is with full source, you can add it to the package:

http://upl.silentwhisper.net/uplfolders/upload6/BassVis_Help.zip
Logged
Irrational86
Posts: 960


« Reply #31 on: 26 Jun '04 - 16:56 »
Reply with quoteQuote

Wow Svante, you really have taken your time into BassVis. The chm has been added to the distribution. You can get it from the Bass page.

Thank you so much Svante
Logged
Svante
Posts: 296


« Reply #32 on: 26 Jun '04 - 19:36 »
Reply with quoteQuote

The BassVis.bas module isn't changed, the w and h parameters for BASS_SONIQUEVIS_CreateVis should be declared "as long"
Logged
Irrational86
Posts: 960


« Reply #33 on: 26 Jun '04 - 19:54 »
Reply with quoteQuote

Updated.
Logged
MrTDelphi
Posts: 111


« Reply #34 on: 27 Jun '04 - 19:45 »
Reply with quoteQuote

Hi XMinioNX..

I tried Bass_vis under Win98SE its not worked , but
at W2k and XP it worked fine.
What the problem w/ this, what wrong anything w/ me?
I mean maybe lose dll or something.. its still VXD, DX9

Thanks a lot be4

Best Regards
LuQ
Logged
Irrational86
Posts: 960


« Reply #35 on: 28 Jun '04 - 00:34 »
Reply with quoteQuote

MrTDelphi, do you get an access violation, a crash?
Logged
MrTDelphi
Posts: 111


« Reply #36 on: 29 Jun '04 - 04:31 »
Reply with quoteQuote

yes I get access violation at address 00473185 in modul Bass_Vis.dll
read of address FFFFFFFF, but
sometime for the others Vis noting get access violation ..its noting happens..

what wrong whit this?
thanks

Berst,
LuQ
Logged
Irrational86
Posts: 960


« Reply #37 on: 29 Jun '04 - 05:31 »
Reply with quoteQuote

Does it happen when you give "BASS_SONIQUEVIS_Render" an invalid Bass channel handle, such as zero or one that was freed?
Logged
MrTDelphi
Posts: 111


« Reply #38 on: 30 Jun '04 - 06:29 »
Reply with quoteQuote

yes at  when "BASS_SONIQUEVIS_Render", so what can i do for this ?

Best,
LuQ
Logged
Irrational86
Posts: 960


« Reply #39 on: 30 Jun '04 - 06:52 »
Reply with quoteQuote

I have not found the reason for this yet...BASS_SONIQUEVIS_Render has all the proper checks and everything, but I have no idea why it crashes sometimes. I am still investigating this issue. You should, at least for now, avoid rendering when no channel is being played.
Logged
Pages: 1 [2] 3  All
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines