Author Topic: BASS.NET API 2.4.12.7  (Read 783676 times)

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.0
« Reply #1000 on: 18 Nov '11 - 11:56 »
Here is a pre-version of the forth-comming Bass.Net v2.4.8.1:

    www.un4seen.com/filez/4/Bass24.Net_pre.zip

Note:
This build already contains four Bass.Net assembly version (each in a seperate sub-folder):
.\v2.0    : Bass.Net for .Net 2.0
.\v4.0    : Bass.Net for .Net 4.0
.\compact : Bass.Net CE for .Net CompactFramework 3.5
.\iphone  : Bass.Net iPhone for .Net CompactFramework 3.5

The final version will contain the exact same assemblies but contain a re-worked help system.

gyrosp

  • Posts: 31
Re: BASS.NET API 2.4.8.0
« Reply #1001 on: 18 Nov '11 - 12:56 »
Here is a pre-version of the forth-comming Bass.Net v2.4.8.1:

    www.un4seen.com/filez/4/Bass24.Net_pre.zip

Note:
This build already contains four Bass.Net assembly version (each in a seperate sub-folder):
.\v2.0    : Bass.Net for .Net 2.0
.\v4.0    : Bass.Net for .Net 4.0
.\compact : Bass.Net CE for .Net CompactFramework 3.5
.\iphone  : Bass.Net iPhone for .Net CompactFramework 3.5

The final version will contain the exact same assemblies but contain a re-worked help system.

Does the new version support BASS_DSHOW :)?

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.0
« Reply #1002 on: 18 Nov '11 - 13:19 »
Yes!

gyrosp

  • Posts: 31
Re: BASS.NET API 2.4.8.0
« Reply #1003 on: 18 Nov '11 - 13:27 »
Yes!

Cool, I'll give it a try this evening... thanks :)!

Edit:
I've downloaded the zip-file, but there are no subfolders.

smodilo

  • Posts: 48
Re: BASS.NET API 2.4.8.0
« Reply #1004 on: 24 Nov '11 - 10:34 »
Hi Bernd,

Thank you for implementing DSHOW.

Could you please help me get started?

I use the latest version of bass.Net and I load xvideo as a plugin.

But I can't seem to find any namespace for Xvideo? Do I also need to import something else?

(I need to set the video output panel).

Thanks!






radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.0
« Reply #1005 on: 24 Nov '11 - 10:47 »
xVideo/BASS_DSHOW uses the "Un4seen.Bass.AddOn.DShow" namespace.
The class and all members are then named "BassDShow.BASS_DSHOW_xxx" - instead of "xVideo_xxx" - this to be consistant with all the other AddOns and their naming conventions.
E.g. use: "Un4seen.Bass.AddOn.DShow.BassDShow.BASS_DSHOW_Init(...)"

smoodilo

  • Guest
Re: BASS.NET API 2.4.8.0
« Reply #1006 on: 24 Nov '11 - 11:05 »
Thanks for the quick reply!

So, the way to go is:

1. put xvideo.dll in the right directory
2.load xvideo.dll as a plugin

and that should do it? Is this correct?

I'm a bit confused here, because with "Un4seen.Bass.AddOn.DShow.BassDShow.BASS_DSHOW_Init(...)" it says that bass_dshow is not found (which of course is correct since it is now called xvideo), but xvideo is not recognized.











radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.1
« Reply #1007 on: 28 Nov '11 - 13:01 »
28.11.2011: Version 2.4.8.1 is out!

BASS: added support for v2.4.8.5
BASS_DSHOW: added support for v1.2.0.0
BASS_AIX: added support for v2.4.1.1
General:
        - UTF-8 DeviceInfo member support for BASS and BASSWASAPI
        - Misc: new EncoderFHGAACplus added
        - Utils: BASSAddOnGetPluginFileFilter and BASSAddOnGetSupportedFileFilter enhanced
        - New Setup including v2.0 and v4.0 .Net assembly versions
        - New HelpViewer help files added for VS2010

IMPORTANT NOTICE:
As the folder structure for the Bass.Net assemblies has been changed with this release,
make sure to correct this within your project settings to ensure that you are
referencing the correct target platform!
There are four Bass.Net versions deployed (each in a seperate sub-folder):
.\v2.0    : Bass.Net for .Net 2.0
.\v4.0    : Bass.Net for .Net 4.0
.\compact : Bass.Net CE for .Net CompactFramework 3.5
.\iphone  : Bass.Net iPhone for .Net CompactFramework 3.5


Full Install:
 www.un4seen.com/filez/4/Bass24.Net.zip

Lib only:
 www.un4seen.com/filez/4/Bass24.Net_update.zip


Also note, that the CE and iPhone versions are now also always part of the standard setup.
So there is no need for any extra download link!
« Last Edit: 28 Nov '11 - 13:22 by radio42 »

bensam56

  • Posts: 65
Re: BASS.NET API 2.4.8.1
« Reply #1008 on: 28 Nov '11 - 14:09 »
where can i download bass v2.4.8.5?

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.1
« Reply #1009 on: 28 Nov '11 - 14:20 »
BASS 2.4.8.5 is the latest 'stuff' version:
  www.un4seen.com/stuff/bass.dll


seabob

  • Guest
Re: BASS.NET API 2.4.8.1
« Reply #1010 on: 1 Dec '11 - 02:30 »
Hi,

maybe it's a noob question(well pretty sure it is :D) I'm trying to use the bpmcounter provided in the bass.net lib. That's fine, I understand how to use it but it require the samplerate of the song to be initialized. How do I get that? I'm trying to implement this in the already built testdsp project in c#. That's my first project on this so I'm getting my hand dirty right now! Oh and I'm a programmer so don't hesitate on going in deep explanation.

Thanks, Seabob

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.1
« Reply #1011 on: 1 Dec '11 - 08:32 »
You can use "BASS_ChannelGetInfo" to get the sample rate of a channel (see the 'freq' member).
BASS_CHANNELINFO info = Bass.BASS_ChannelGetInfo(_stream);

Internally the BPMCounter does analyze the frequency spectrum of the processes audio sample data to detect low frequency beats.
That's why the sample rate of the audio data being processed is needed.
This is based on the 'Nyquist–Shannon sampling theorem', see here: http://en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampling_theorem

fstarred

  • Posts: 105
Re: BASS.NET API 2.4.8.1
« Reply #1012 on: 1 Dec '11 - 08:54 »
Hi,

maybe it's a noob question(well pretty sure it is :D) I'm trying to use the bpmcounter provided in the bass.net lib. That's fine, I understand how to use it but it require the samplerate of the song to be initialized. How do I get that? I'm trying to implement this in the already built testdsp project in c#. That's my first project on this so I'm getting my hand dirty right now! Oh and I'm a programmer so don't hesitate on going in deep explanation.

Thanks, Seabob

Honestly I prefer the call to bpm_Decode instead of bpm live because I find it more accurate.

This is my code to better understand what I mean  :)
Code: [Select]
if (stream != 0  /*&& Bass.BASS_ChannelIsActive(streamFX) == BASSActive.BASS_ACTIVE_PLAYING */ )
            {
                int streamBpm = Bass.BASS_StreamCreateFile(filename, 0L, 0L, BASSFlag.BASS_STREAM_DECODE | BASSFlag.BASS_SAMPLE_FLOAT | BASSFlag.BASS_STREAM_PRESCAN);

                long pos = Bass.BASS_ChannelGetPosition(stream, BASSMode.BASS_POS_BYTES);

                double elapsedtime = Bass.BASS_ChannelBytes2Seconds(stream, pos);

                float bpm = BassFx.BASS_FX_BPM_DecodeGet(streamBpm, elapsedtime, (elapsedtime + 5f), Utils.MakeLong(50, 180), BASSFXBpm.BASS_FX_BPM_BKGRND | BASSFXBpm.BASS_FX_FREESOURCE | BASSFXBpm.BASS_FX_BPM_MULT2, bpmProc);

                Bass.BASS_StreamFree(streamBpm);

                string message = bpm > 0 ? String.Format("{0:#00.00}", bpm) : "n/a";

                this.toolStripLabelBPM.Text = message;
            }

fstarred

  • Posts: 105
Re: BASS.NET API 2.4.8.1
« Reply #1013 on: 1 Dec '11 - 14:47 »
With new Bass.Net I'm having some troubles with loadMe(string).

with previous version I had no problems with this

Code: [Select]
string targetPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);

            if (Utils.Is64Bit)
                targetPath = Path.Combine(targetPath, "lib/x64");
            else
                targetPath = Path.Combine(targetPath, "lib/x86");

bool isBassLoad = Bass.LoadMe(targetPath);

with latest version I'm gettin a general exception.

Any ideas ?


seabob

  • Guest
Re: BASS.NET API 2.4.8.1
« Reply #1014 on: 1 Dec '11 - 18:28 »
thanks a radio42 and zenon. I will try to both method. I might also need to do it manually with fft data because I'm trying to detect bpm in Christmas song and guest what! Christmas song don't have a lot of bass. 2 year ago I hacked the vlc player to get a very simple bpm detection which was based on the overall energy of all frequencies. Wasn't the best bpm counter! But it doesn't need to be very accurate. I will be controlling an arduino sending command each time a beat is detected.

Anyway, Thanks to both of you!

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.1
« Reply #1015 on: 1 Dec '11 - 21:51 »
@zenon:
What exception do you exactly get?
And what version are you using the v2.0 or v4.0 version and what .Net Framework version are you targeting in your app?

fstarred

  • Posts: 105
Re: BASS.NET API 2.4.8.1
« Reply #1016 on: 1 Dec '11 - 21:56 »
TypeInitializationException was unhandled

v. 4.0
.NET framework 4

Filippo

  • Posts: 2
Re: BASS.NET API 2.4.8.1
« Reply #1017 on: 2 Dec '11 - 12:20 »
Pleas Help  ???
When installing "BASS.NET API" Version 2.4.8.1 is the error
"Error 1001. Failed to register Help 2.x Files! -> Der angegebenen Datei ist keine Anwendung zugeordnet"

Windows XP SP3

« Last Edit: 2 Dec '11 - 12:36 by Filippo »

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.1
« Reply #1018 on: 2 Dec '11 - 13:07 »
@Filippo:
Could it be, that you do NOT have Visual Studio 2010 installed on your machine but have left the checkbox 'Integrate the BASS .NET API HelpViewer files to VS2010' checked?
If that's the case, simply uncheck the 'Integrate the BASS .NET API HelpViewer files to VS2010' checkbox in the setup wizard and try again.

@Zenon:
I just tried it here and had no issues.
Is the error happening only when the x64 libbs are referenced or also when the x86 libs are used?
Are you using a mixed mode assembly?
And was your previous app version targeting the .Net v2.0 Framework and you have just switched you app to .Net Framework v4.0?
And are you sure to use the .Net Framework 4.0 target and not the v4.0 Client profile?

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.1
« Reply #1019 on: 2 Dec '11 - 13:24 »
@Zenon:
Ahh yes, now I see where the issue might be!
I'll release a new version later today!

Filippo

  • Posts: 2
Re: BASS.NET API 2.4.8.1
« Reply #1020 on: 2 Dec '11 - 14:01 »
I've installed Visual Studio 2005 and 2010
if no help is elected it, I can now work
Thank you
Close.
 :)

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.1
« Reply #1021 on: 2 Dec '11 - 20:36 »
Another reason when the HelpViewer could not be installed is, that you have never initialized the MS Help Library Management.
The next version will check these errors and continue with the installation, even, if the Help files could not be installed.

In any case you can install the help files also manually: Go to the Bass.Net installation folder and start the resp. .bat files from within the .\Help folder.

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.2
« Reply #1022 on: 2 Dec '11 - 20:50 »
02.12.2011: Version 2.4.8.2 is out!

(containing a 'LoadMe' and 'Installer' bug-fix)

BASS: added support for v2.4.8.5
BASS_DSHOW: added support for v1.2.0.0
BASS_AIX: added support for v2.4.1.1
General:
        - UTF-8 DeviceInfo member support for BASS and BASSWASAPI
        - Misc: new EncoderFHGAACplus added
        - Utils: BASSAddOnGetPluginFileFilter and BASSAddOnGetSupportedFileFilter enhanced
        - New Setup including v2.0 and v4.0 .Net assembly versions
        - New HelpViewer help files added for VS2010

IMPORTANT NOTICE:
As the folder structure for the Bass.Net assemblies has been changed with this release,
make sure to correct this within your project settings to ensure that you are
referencing the correct target platform!
There are four Bass.Net versions deployed (each in a seperate sub-folder):
.\v2.0    : Bass.Net for .Net 2.0
.\v4.0    : Bass.Net for .Net 4.0
.\compact : Bass.Net CE for .Net CompactFramework 3.5
.\iphone  : Bass.Net iPhone for .Net CompactFramework 3.5


Full Install:
 www.un4seen.com/filez/4/Bass24.Net.zip

Lib only:
 www.un4seen.com/filez/4/Bass24.Net_update.zip


fstarred

  • Posts: 105
Re: BASS.NET API 2.4.8.2
« Reply #1023 on: 2 Dec '11 - 23:13 »
@radio42

This is a great news !!!

Awesome, thank you !! \o/

radio42

  • Posts: 4576
Re: BASS.NET API 2.4.8.3
« Reply #1024 on: 5 Dec '11 - 17:22 »
05.12.2011: Version 2.4.8.3 is out!


General:
        - .Net v4.0 TAG reading bug-fix
        - Installer optimized

IMPORTANT NOTICE:
As the folder structure for the Bass.Net assemblies has been changed with this release,
make sure to correct this within your project settings to ensure that you are
referencing the correct target platform!
There are four Bass.Net versions deployed (each in a seperate sub-folder):
.\v2.0    : Bass.Net for .Net 2.0
.\v4.0    : Bass.Net for .Net 4.0
.\compact : Bass.Net CE for .Net CompactFramework 3.5
.\iphone  : Bass.Net iPhone for .Net CompactFramework 3.5


Full Install:
 www.un4seen.com/filez/4/Bass24.Net.zip

Lib only:
 www.un4seen.com/filez/4/Bass24.Net_update.zip