25 May '13 - 11:32 *
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 ... 49 50 [51] 52 53 ... 60
  Reply  |  Print  
Author Topic: BASS.NET API 2.4.10.1  (Read 369388 times)
radio42
Posts: 4012


« Reply #1000 on: 18 Nov '11 - 11:56 »
Reply with quoteQuote

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.
Logged
gyrosp
Posts: 31


« Reply #1001 on: 18 Nov '11 - 12:56 »
Reply with quoteQuote

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 Smiley?
Logged
radio42
Posts: 4012


« Reply #1002 on: 18 Nov '11 - 13:19 »
Reply with quoteQuote

Yes!
Logged
gyrosp
Posts: 31


« Reply #1003 on: 18 Nov '11 - 13:27 »
Reply with quoteQuote

Yes!

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

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


« Reply #1004 on: 24 Nov '11 - 10:34 »
Reply with quoteQuote

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!





Logged
radio42
Posts: 4012


« Reply #1005 on: 24 Nov '11 - 10:47 »
Reply with quoteQuote

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(...)"
Logged
smoodilo
Guest
« Reply #1006 on: 24 Nov '11 - 11:05 »
Reply with quoteQuote

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.










Logged
radio42
Posts: 4012


« Reply #1007 on: 28 Nov '11 - 13:01 »
Reply with quoteQuote

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 » Logged
bensam56
Posts: 65


« Reply #1008 on: 28 Nov '11 - 14:09 »
Reply with quoteQuote

where can i download bass v2.4.8.5?
Logged
radio42
Posts: 4012


« Reply #1009 on: 28 Nov '11 - 14:20 »
Reply with quoteQuote

BASS 2.4.8.5 is the latest 'stuff' version:
  www.un4seen.com/stuff/bass.dll

Logged
seabob
Guest
« Reply #1010 on: 1 Dec '11 - 02:30 »
Reply with quoteQuote

Hi,

maybe it's a noob question(well pretty sure it is Cheesy) 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
Logged
radio42
Posts: 4012


« Reply #1011 on: 1 Dec '11 - 08:32 »
Reply with quoteQuote

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
Logged
zenon
Posts: 86


« Reply #1012 on: 1 Dec '11 - 08:54 »
Reply with quoteQuote

Hi,

maybe it's a noob question(well pretty sure it is Cheesy) 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  Smiley
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;
            }
Logged
zenon
Posts: 86


« Reply #1013 on: 1 Dec '11 - 14:47 »
Reply with quoteQuote

With new Bass.Net I'm having some troubles with loadMe(string).

with previous version I had no problems with this

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 ?

Logged
seabob
Guest
« Reply #1014 on: 1 Dec '11 - 18:28 »
Reply with quoteQuote

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!
Logged
radio42
Posts: 4012


« Reply #1015 on: 1 Dec '11 - 21:51 »
Reply with quoteQuote

@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?
Logged
zenon
Posts: 86


« Reply #1016 on: 1 Dec '11 - 21:56 »
Reply with quoteQuote

TypeInitializationException was unhandled

v. 4.0
.NET framework 4
Logged
Filippo
Posts: 2


« Reply #1017 on: 2 Dec '11 - 12:20 »
Reply with quoteQuote

Pleas Help  Huh
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


* Fehler BASS.NET.jpg (30.48 KB - downloaded 48 times.)
« Last Edit: 2 Dec '11 - 12:36 by Filippo » Logged
radio42
Posts: 4012


« Reply #1018 on: 2 Dec '11 - 13:07 »
Reply with quoteQuote

@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?
Logged
radio42
Posts: 4012


« Reply #1019 on: 2 Dec '11 - 13:24 »
Reply with quoteQuote

@Zenon:
Ahh yes, now I see where the issue might be!
I'll release a new version later today!
Logged
Pages: 1 ... 49 50 [51] 52 53 ... 60
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines