|
RevG
Posts: 453
|
 |
« Reply #20 on: 25 Feb '09 - 23:30 » |
Quote
|
Version 2.1 now up with winamp plugin support. See first post in thread for details.
Cheers, Greg
you have forgotten something to copy and paste.. programming is a hard job copy and paste is simple i think.  write a new Lib in two day. that is i will make never Open Source. Ouch, you hit me where it hurts Emil. Nice shot. I suppose I had that coming  Emil you can say what you want about my abilities as a programmer, but I will not allow you to imply that I am stealing other's work. Let me clear a few things up. I wrote 90% of the sonique visualization code myself with help from code given to me by Sharky08, the Sonique Vis header file sent to me by Ian, and old posts on this forum of course. Much of the winamp visualization code in BASS_SFX is from my own winamp vis ocx control that I posted here 4 years ago, ActiveVis ocx source provided by www.afrodreams.com, and code from open source BASSWA which I actually contributed to about 4 years ago. I will also have you know that any code that I used from other projects was given full credit in the BASS_SFX source code. Otherwise, thank you for the bug report. Don't worry we'll have this stable very soon. My winamp code was old from many years ago so I will definitely have some bugs with new stuff in winamp, but we'll get there. P.S. Emil, I have no hard feelings towards you at all. BASS_SFX is nothing personal against you or your work. Xminion worked very hard on BassVis and you took over his project and also worked very hard on it and I don't want to take anything away from that. You did a great job and it was a great project. Unfortunately now it is gone and many of us are now carrying on with life. I am just trying to help the community out after they have been left behind.
|
|
|
|
« Last Edit: 25 Feb '09 - 23:38 by RevG »
|
Logged
|
|
|
|
|
Emil Weiss
Posts: 107
|
 |
« Reply #21 on: 25 Feb '09 - 23:39 » |
Quote
|
Otherwise, thank you for the bug report. Don't worry we'll have this stable very soon. no problem .. P.SBASS_SFX is nothing personal against you or your work. i have no problem with the new lib .. have fun with it. Good work takes time !!
|
|
|
|
« Last Edit: 25 Feb '09 - 23:49 by Emil Weiss »
|
Logged
|
|
|
|
|
|
|
|
|
RevG
Posts: 453
|
 |
« Reply #24 on: 2 Mar '09 - 18:40 » |
Quote
|
Hi, Can you try calling this in Delphi before loading the library. Set8087CW($133F) Maybe that fixes it? Cheers, Greg
|
|
|
|
|
Logged
|
|
|
|
|
(: JOBnik! :)
Posts: 984
|
 |
« Reply #25 on: 10 Mar '09 - 08:17 » |
Quote
|
Hi  RevG, I think it's also better to stick with the version as other add-ons  i.e: 2.4.x.x (Add-on For BASS version.Add-on Version.Add-on Revision) As it's only in beta stages... It's only a suggestion 
|
|
|
|
|
Logged
|
|
|
|
|
radio42
Posts: 4012
|
 |
« Reply #26 on: 15 Mar '09 - 21:28 » |
Quote
|
Hi RevG,
do you mind explaining the new BASS_SFX_Init params (HINSTANCE hInstance, HWND hWnd) - as the docs are missing them and how to use them ;-)
|
|
|
|
|
Logged
|
|
|
|
|
sonam
Guest
|
 |
« Reply #27 on: 16 Mar '09 - 17:11 » |
Quote
|
Hey,Any idea why bassvis has gone?Just curious.
|
|
|
|
|
Logged
|
|
|
|
|
ramses
Posts: 83
|
 |
« Reply #28 on: 17 Mar '09 - 20:28 » |
Quote
|
Hi,
The fonction BASS_SFX_PluginModuleGetName() described in the help file does not exist in the dll ?
Any idea ?
Regards,
Philippe
|
|
|
|
|
Logged
|
|
|
|
|
ramses
Posts: 83
|
 |
« Reply #29 on: 17 Mar '09 - 20:50 » |
Quote
|
Hi, I have problem to render WINAMP plugins (nothing happens) Here the sequence i make: BASS_SFX_PluginCreate() BASS_SFX_PluginStart() BASS_SFX_PluginModuleSetActive() Did you have any idea ? Regards, Philippe http://www.qpratools.com
|
|
|
|
|
Logged
|
|
|
|
|
Irrational86
Posts: 960
|
 |
« Reply #30 on: 19 Mar '09 - 12:49 » |
Quote
|
...Xminion worked very hard on BassVis and you took over his project and also worked very hard on it and I don't want to take anything away from that... Aww, that's very nice of you to remember me. I just happened to come check out the good ol' Un4seen and saw BassVis gone. So I saw BASS SFX with something related to visualizations and came to check out the thread. What a surprise that I would read this  Best of luck with your new library dude! *thumbs up* --Edit--I just took a quick look at your source code and the only thing I can say is congratulations on an amazing work. Within a few days you have managed to write what took me way longer and that I didn't even finish. If by any chance you still want the source code for the very old BassVis that I had released, please let me know and I will gladly hand it over. (Unfortunately, I do not have and cannot release any source code thereafter since I was not the programmer/coder) --/Edit--
|
|
|
|
« Last Edit: 19 Mar '09 - 14:03 by XMinioNX »
|
Logged
|
|
|
|
|
POG-iMplayer
Posts: 15
|
 |
« Reply #31 on: 24 Mar '09 - 02:27 » |
Quote
|
It would be quite good to add support of plug-ins AIMP  I'am realization: IAIMP2VisualPlugin = interface function AuthorName: PWideChar; stdcall; function PluginName: PWideChar; stdcall; function PluginInfo: PWideChar; stdcall; function PluginFlags: DWORD; stdcall; function Initialize: BOOL; stdcall; procedure Deinitialize; stdcall; procedure DisplayClick(X, Y: Integer); stdcall; procedure DisplayRender(DC: HDC; AData: PVisualData); stdcall; procedure DisplayResize(AWidth, AHeight: Integer); stdcall; end;
TAIMPVisualProc = function: IAIMP2VisualPlugin; stdcall; .... var AIMPVisInfo: IAIMP2VisualPlugin; QueryModuleAimp: TAIMPVisualProc;
if VisDllHandle <= 0 then Exit;
New(AIMPVisData);
Bass_ChannelGetInfo(PChannel.FChannel,Info); if info.chans = 1 then begin Bass_ChannelGetData(PChannel.FChannel,@data,1024); for i:= 0 to 511 do begin
AIMPVisData.WaveForm[0,i]:= data shr 8; AIMPVisData.WaveForm[1,i]:= data shr 8; end; end else begin Bass_ChannelGetData(PChannel.FChannel,@data,2048); for i:= 0 to 511 do begin AIMPVisData.WaveForm[0,i]:= Data[i * 2] shr 8; AIMPVisData.WaveForm[1,i]:= Data[(i * 2) + 1] shr 8; end; end;
Bass_ChannelGetData(PChannel.FChannel,@FFT,BASS_DATA_FFT512); for i:= 0 to 255 do begin AIMPVisData.Spectrum[0,i]:= Min(255,Round(FFT * 256)); AIMPVisData.Spectrum[1,i]:= Min(255,Round(FFT * 256)); end;
Level:= Bass_ChannelGetLevel(PChannel.FChannel); LevelL:= HIWORD(Level) div 900; LevelR:= LOWORD(Level) div 900;
AIMPVisData.LevelL:= LevelL; AIMPVisData.LevelR:= LevelR;
try AIMPVisInfo.DisplayResize(VisBuff.Width,VisBuff.Height); AIMPVisInfo.DisplayRender(VisBuff.Canvas.Handle,AIMPVisData);
except Exit; end; Dispose(AIMPVisData);
ProcName - AIMP_QueryVisual
|
|
|
|
« Last Edit: 24 Mar '09 - 02:29 by POG-iMplayer »
|
Logged
|
|
|
|
|
RevG
Posts: 453
|
 |
« Reply #32 on: 24 Mar '09 - 05:56 » |
Quote
|
Aww, that's very nice of you to remember me. I just happened to come check out the good ol' Un4seen and saw BassVis gone. So I saw BASS SFX with something related to visualizations and came to check out the thread. What a surprise that I would read this  Best of luck with your new library dude! *thumbs up* --Edit--I just took a quick look at your source code and the only thing I can say is congratulations on an amazing work. Within a few days you have managed to write what took me way longer and that I didn't even finish. If by any chance you still want the source code for the very old BassVis that I had released, please let me know and I will gladly hand it over. (Unfortunately, I do not have and cannot release any source code thereafter since I was not the programmer/coder) --/Edit--Hi! Good to hear from you XminionX Yes I believe it is very important to give credit where credit is due.  Many programmers such as yourself have helped me and others a lot by providing great libraries and tools for the community and I don't forget that. That would be great if you could provide me with the old BassVis source code as I am sure there are many areas in the SFX code that could be improved with the help of your BassVis code. I will pm you my email address! Hi  RevG, I think it's also better to stick with the version as other add-ons  i.e: 2.4.x.x (Add-on For BASS version.Add-on Version.Add-on Revision) As it's only in beta stages... It's only a suggestion  Yes, great idea Jobnik! I will do this for the next release. Hi RevG,
do you mind explaining the new BASS_SFX_Init params (HINSTANCE hInstance, HWND hWnd) - as the docs are missing them and how to use them ;-)
Oh ya, I forgot to update that  I will also update this next release  Also sorry to all that I have not been around last week or so. Just bought a house and I am moving and have a lot of things to take care of but I am almost done with the move and everything and then I will be back more active again! Cheers!
|
|
|
|
|
Logged
|
|
|
|
|
firemen
Posts: 141
|
 |
« Reply #33 on: 25 Mar '09 - 14:04 » |
Quote
|
please test sample in Delphi  similarly correct in help - BOOL WINAPI BASS_SFX_Init(); // no parameter! in bass_sfx.pas - function BASS_SFX_Init(hInstance : DWORD; hwnd : THandle): BOOL;
|
|
|
|
|
Logged
|
|
|
|
|
POG-iMplayer
Posts: 15
|
 |
« Reply #34 on: 26 Mar '09 - 06:39 » |
Quote
|
Bass_SFX_Init(hInstance: DWORD; hwnd: Thandle): BOOL;
|
|
|
|
|
Logged
|
|
|
|
|
POG-iMplayer
Posts: 15
|
 |
« Reply #35 on: 28 Mar '09 - 07:25 » |
Quote
|
Hi,
Can you try calling this in Delphi before loading the library. Set8087CW($133F)
Maybe that fixes it?
Cheers, Greg Very Good, WORKING!!! Great Thanks
|
|
|
|
|
Logged
|
|
|
|
|
POG-iMplayer
Posts: 15
|
 |
« Reply #36 on: 28 Mar '09 - 07:26 » |
Quote
|
Please add function Set8087CW($133F) to function BASS_SFX_Init 
|
|
|
|
|
Logged
|
|
|
|
|
radio42
Posts: 4012
|
 |
« Reply #37 on: 1 Apr '09 - 14:18 » |
Quote
|
Hi RevG,
it seems, that the version number returned by BASS_SFX is a bit out of what all other add-ons return. Today a call to Bass_SFX_GetVersion will return 0x03 as the version number.
Shouldn't it be: 0x03000000 ?
|
|
|
|
|
Logged
|
|
|
|
|
RevG
Posts: 453
|
 |
« Reply #38 on: 1 Apr '09 - 22:43 » |
Quote
|
Hi RevG,
it seems, that the version number returned by BASS_SFX is a bit out of what all other add-ons return. Today a call to Bass_SFX_GetVersion will return 0x03 as the version number.
Shouldn't it be: 0x03000000 ?
Hi! Yes it is wrong. I am working on it right now. I am changing the version number to be standard like all other addons 2.4.1.1 for the next version. I am hoping to have a new version up in the next couple days which addresses all of the issues everyone has brought up in this thread! I will have documentation updated as well. Thanks for all the feedback, suggestions, and bug reports guys  Cheers, Greg
|
|
|
|
|
Logged
|
|
|
|
|
ghis
Posts: 10
|
 |
« Reply #39 on: 1 Apr '09 - 23:22 » |
Quote
|
I download the last version fo BASS_SFX: 3.0.0.0 (creation date : 2009-03-22).
I use BASS.NET 2.4.4.1, that support Bass_SFX 3.0.0.0.
When i load this DLL with BassSfx.LoadMe() or when i call the method BASS_SFX_Init, i receive a windows with this message : ------------------------------------------- A incorrect version of Bass_SFX was loaded!
Version loaded: 0.0 Version expected: 3.0
File: ......\bass_sfx.dll FileVersion: 3.0.0.0 Description: BASS_SFX Compagny: Copyright (C) 2009 Language: Anglais(État-Unis) --------------------------------------------
Why i received this windows?
Ghislain Plante
|
|
|
|
|
Logged
|
|
|
|
|