Bass_Vis News and Released Infos

Started by BassFan,

MB_SOFT

Quote from: EWeissA test can't hurt, right?
if working.. good, if not then leave it as it.

of course i can test it, no problem.

only i want say that i already tested BASS_Split_StreamCreate in my app and i had to remove it because it introduce some ms of latency and as i use real time voice speech connection from udp i cannot add latency. Ian confirmed there is some latency added from split channel.


EWeiss

#701
Quote from: MB_SOFT
Quote from: EWeissA test can't hurt, right?
if working.. good, if not then leave it as it.

of course i can test it, no problem.

only i want say that i already tested BASS_Split_StreamCreate in my app and i had to remove it because it introduce some ms of latency and as i use real time voice speech connection from udp i cannot add latency. Ian confirmed there is some latency added from split channel.

ok ;)
was only a question.. Invitation.
can only get better :)

But if you want to keep it that way, no problem for me.
Just wanted to point out

My ambition, BassVis must work.
If something doesn't work I can't sleep.

greets

MB_SOFT

Quote from: EWeissBut if you want to keep it that way, no problem for me.
Just wanted to point out

My ambition, BassVis must work.
If something doesn't work I can't sleep.


yes i understand me too i cannot sleep when a user submit a report a problem, i know the feeling.

anyway i'll do more test, i will remove all the DSP and VST effects from the audio bus and i will show you that probably the FFT return to normal. so the origin of a problem is a high sound amplitude, not a bug in BASSVIS.

EWeiss

Quotenot a bug in BASSVIS.
This is important, thank you

EWeiss

#704
i send now a Mixer Stream to BassVis and it work as should.
see Shot.

greets

MB_SOFT

Hi Emil,
could you please check if the plugins resources and handles are correctly freed once the plugin is free?

I'm not sure but it seems that switching viz makes the handles count and memory usage increase and after 1 or 2 days my app crash. The same happen with BassVisExample if you continously switch the viz after few minutes.

See the attached pic. Could please try to you and tell me if you see memory and handles continously increase?

thank you

Applicazione: BassVisExample.exe
Versione framework: v4.0.30319
Descrizione: il processo รจ stato terminato a causa di un'eccezione non gestita.
Informazioni sull'eccezione: System.AccessViolationException
   in BassVis_Api.BassVis.BASSVIS_WMP_WindowsMessagen(BassVis_Api.BASSVISKind, Int32, UInt32, IntPtr, IntPtr)
   in BassVisExample.Form1.picPlgSource_MouseMove(System.Object, System.Windows.Forms.MouseEventArgs)
   in System.Windows.Forms.Control.OnMouseMove(System.Windows.Forms.MouseEventArgs)
   in System.Windows.Forms.Control.WmMouseMove(System.Windows.Forms.Message ByRef)
   in System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
   in System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   in System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   in System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
   in System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   in System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   in System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   in System.Windows.Forms.Application.Run(System.Windows.Forms.Form)
   in BassVisExample.Program.Main()

EWeiss

#706
i see Winamp, but what your has start before?
and with all Plugins and or only with tripex

but you can add Is_Free for testing and Log Message.
I can't run BassVis here for a day or two.

greets

MB_SOFT

i was switching from WMP to winamp and the crash occurred. Ok we'll talk when you're available. meantime i'll do more tests. I'm not worry for the crash but for the memory and handles keeping growing ... he can reach 1 gb of memory or more so my guess something is not freed.

EWeiss

#708
Quote from: MB_SOFTOk we'll talk when you're available.
I am available but what should I do?

Hmm i can't be see any trouble..

test it only with two Plugin.. as example Winamp (Milkdrop) and WMP (Albumart3D)
and change only this without sonique and or BassBox.

it is not the task of bassvis to release the resources used by the plugins.
the plugins must do this themselves.

see in the video on.. see picture (after change a Plugin Kind)


EWeiss

#710
Quote from: MB_SOFTok i will test it thank you

that is what i do Free WMP

function TWMPHelper.DestroyVis: Bool;
begin
  Result := False;

  if Assigned(WmpVis) then
  begin
    if Assigned(_IWmpEffects2) then
      if _IWmpEffects2.Destroy = S_OK then
        _IWmpEffects2 := nil;

    if Assigned(_IWmpEffects) then
      _IWmpEffects := nil;

    WmpVis := nil;
    Result :=  (_IWmpEffects = nil) and (_IWmpEffects2 = nil);
  end;
end;


MB_SOFT

ok continously switching from WMP AlbumART and Winamp Tripex do not cause any problem.

So, my guess is that one or more viz do not free all the resources when BASS_VIS issue the free comand.

I will check one by one all the viz to find which one is causing the problem.

It's a problem in one or more viz not in bassvis.

I would use also some nice AIMP2 viz but i have no exemples to look at.

What is the plugin folder name for AIMP2 viz?

How they works? like sonique? do they render in my window like BASSBOX or in their own window like winamp?

EWeiss

#712
QuoteHow they works? like sonique?
yes AIMP used internal the engine from Sonique with some changed.

QuoteWhat is the plugin folder name for AIMP2 viz?
APlugins is the Folder
Quotedo they render in my window like BASSBOX
no like sonique: BASSBOX used a OpenGL Window and Sonique if OpenGL set to true, also

default rendering from Sonique, Rendering on your Viz-Window.

some Plugins.

but i think APlugins is limited in the Width, if your want test it.
I have implemented the interface but it is not so good

MB_SOFT

Hi Emil,
i have a question: the Songfile of BASSVIS_INFO how it is used by the viz? It's only for informations on the screen or the viz must access read to the audio file to collect some information?

EWeiss

Quote from: MB_SOFTor the viz must access read to the audio file to collect some information?
yes.


MB_SOFT

ok, i asked this because my application play all type of files wav, aiff, mp2,mp3, ogg, opus, flac, wma and also mp4 video files ... i don't think a viz can read any filetype ... can this cause any problem to the viz? i suppose that old viz only know wav or mp3 ... what if i pass an mp4 video file?

and if i do not pass anything as songfile what are the consequences?

EWeiss

#716
Quote from: MB_SOFTok, i asked this because my application play all type of files wav, aiff, mp2,mp3, ogg, opus, flac, wma and also mp4 video files ... i don't think a viz can read any filetype ... can this cause any problem to the viz? i suppose that old viz only know wav or mp3 ... what if i pass an mp4 video file?

and if i do not pass anything as songfile what are the consequences?

Some visualizations work with the application and require the SongFile for communication.
Everything is rendered where a stream of exists.
If none exists then activate Render from Device

as an example for movies. mp4. and, and ,and

BassVis do not interest the extension.
Only the stream-handle
If you cannot create a stream then use the Device


Edit:
deactivated SongFile for WMP (play a file) can you see the Cover Support? think not.
some other plugin using the SongFile for analyze Tags and other stuff

see my Fake Winamp written in VB6 for a long time ago.
but will not be further developed

DividedSE

Any Change of Getting the Latest Version with Example? Bass_Sfx not working in my personal project(wpf) with some plugins. So want to try this out. Any help will appreciated. thanks.

EWeiss

#718
Quote from: DividedSEAny Change of Getting the Latest Version with Example? Bass_Sfx not working in my personal project(wpf) with some plugins. So want to try this out. Any help will appreciated. thanks.

sorry i think not yet.
contact the Developer of Bass_Sfx if some not working.
or modify the source it self

EWeiss

#719
news since version Version: 2.4.5.8
now 2.4.8.0

  • Add BB_UseCover New Flag BassBox cover art
  • Added Antialias Sonique cover art
  • Added texture to the resource no longer needed as a local file.
  • Added RenderDeviceToDC BassBox
  • Added new Flag SON_ShowPresetName Sonique Plugins 
  • Added new Flag BB_ShowPresetName BassBox Plugins 
  • Added Runtime Tracer Debug Window  Plugins global 
  • Changed BASSVIS_Init for using Tracer Debug DLL 
  • fixed some fading problems Sonique cover art
  • fixed RenderDeviceToDC WMP Plugin
  • fixed Sonique using no OpenGL Sonique Plugin
  • fixed Sonique using no OpenGL Resize Sonique Plugin
  • fixed Handle Leaks  Plugins global 
  • fixed Cover aspectratio to 1:1  Sonique Plugin 
  • fixed Title  BassBox Plugin 
  • fixed some Memory Leaks  WMP Plugin

contact me via PM if your want the latest version.

DividedSE

@Ewiss I send you a PM regurding BassVis. Can You check it out ? THANKS

EWeiss

Quote from: DividedSE@Ewiss I send you a PM regurding BassVis. Can You check it out ? THANKS

i have do it..

greets

diystar

#722
@Ewiss My old version doesn't support the stream created with Bass_Sample_Float, please send me a new version. Already PM you. Thank you.