BASS_FX 2.4.12.1

Started by (: JOBnik! :), 3 Dec '03 - 22:43

p.abd

Hey, Artur!

I just installed the recently released Windows 8 Developer Preview, and spotted that all BASS FX apps crash at their startup, with the exact same error:



Libraries used: BASS 2.4.8.1 & 2.4.7.1, BASS FX 2.4.7.1, and if it helps - I tried only Delphi app demos.

Do note that pure BASS apps (such as 'BassTest') do not crash. Guess, there is a some issue with the BASS+BASS FX couple.

(: JOBnik! :)

Hi ;D

Can you please check if the precompiled C/bin examples run without crash?

p.abd

Hey, what is up!

The precompiled sample programs do not operate as well:





I also tried to add tempo.exe to the DEP exclusions (then rebooted indeed), but that did not help.

Art60

Hope this is because W8 is still in Beta  ;)

radio42

I recently got a user reporting the following error:
Error Message: Element not found. (Exception from HRESULT: 0x8002802B (TYPE_E_ELEMENTNOTFOUND))
Error Type: System.Runtime.InteropServices.COMException
Error Source: Bass.Net.Boolean BASS_FXSetParameters(Int32, System.Object)

The code being called when the exception was thrown is basically:
_fxVolEnv = Bass.BASS_ChannelSetFX(_sourceStream, BASSFXType.BASS_FX_BFX_VOLUME_ENV, 0);
BASS_BFX_VOLUME_ENV volenv = new BASS_BFX_VOLUME_ENV(...);
Bass.BASS_FXSetParameters(_fxVolEnv, volenv);

The same code workes on various other machines - just on one machine I get this error.
The thing what puzzles me is, that it is a COM error, which idicates, that a cetain COM object could not be found.
So I was wondering what COM object BASS_FX is using with a BASS_FX_BFX_VOLUME_ENV ?
Any idea?

(: JOBnik! :)

#555
Hi ;D

I just installed Windows 8 Developer Edition and the C/bin examples run without any error...


Quote from: radio42 on 19 Sep '11 - 13:05I recently got a user reporting the following error:
Error Message: Element not found. (Exception from HRESULT: 0x8002802B (TYPE_E_ELEMENTNOTFOUND))
Error Type: System.Runtime.InteropServices.COMException
Error Source: Bass.Net.Boolean BASS_FXSetParameters(Int32, System.Object)

The code being called when the exception was thrown is basically:
_fxVolEnv = Bass.BASS_ChannelSetFX(_sourceStream, BASSFXType.BASS_FX_BFX_VOLUME_ENV, 0);
BASS_BFX_VOLUME_ENV volenv = new BASS_BFX_VOLUME_ENV(...);
Bass.BASS_FXSetParameters(_fxVolEnv, volenv);

The same code workes on various other machines - just on one machine I get this error.
The thing what puzzles me is, that it is a COM error, which idicates, that a cetain COM object could not be found.
So I was wondering what COM object BASS_FX is using with a BASS_FX_BFX_VOLUME_ENV ?
Any idea?

BASS_FX has no use of any COM objects, just plain algorithms of its own :)

p.abd

Quote from: (: JOBnik! :) on 21 Sep '11 - 08:59Hi ;D

I just installed Windows 8 Developer Edition and the C/bin examples run without any error...

Alright, we will keep an eye on it and await for more reports, if any.

But could that happen to me because the new Windows did/does not recognize some devices? Obviously there is no way to download drivers from the manufacturer's website, because the new OS is not officially supported.

Also, I noticed that you set different locale settings. Have you tried to keep them at defaults, and could this be a problem?

Once again: there are no issues with the pure BASS playback, as well with the Windows Media Player.

Ian @ un4seen

To confirm whether the problem is something specific to BASS_FX, do you get it with the pre-compiled examples included with other add-ons, eg. BASSenc or BASSmix?

Btw, 0xc00000bb = STATUS_NOT_SUPPORTED, which is described as "The request is not supported".

   http://msdn.microsoft.com/en-us/library/cc704588.aspx

p.abd

Quote from: Ian @ un4seen on 21 Sep '11 - 13:27To confirm whether the problem is something specific to BASS_FX, do you get it with the pre-compiled examples included with other add-ons, eg. BASSenc or BASSmix?
Hey, Ian!

I have tested some examples for BASS, BASSenc, and BASSmix. All of those which have been actually launched — they operate fine on my Win-8 installation!

Some screenshots follow:

Just BASS








BASS Encoder (BASSenc)




BASS Mixer (BASSmix)




I've also installed and run a couple of third party audio players. All of them work okay:





(Winamp is of the most recent version, v5.621, release date is July 11, 2011)



(this is Windows Media Player included into the distribution; speed settings work okay as well)


Summarizing, so far I have had problems only with the BASS FX apps. I run Windows 8 Developer Preview on real hardware, not on a virtual machine.

Gausi

 I have the same issues with the bass_fx.dll  :(. The precompiled samples don't work, as well as some self compiled binaries (I'm using Delphi 2009).
The bass.dll alone works fine, also bass.dll with basscd.dll (tested with precompiled exe).

I have the 64bit-version of the Windows8 developer preview (without the developer tools), running on real hardware.
 

p.abd

Quote from: Gausi on 28 Sep '11 - 20:40I have the 64bit-version of the Windows8 developer preview (without the developer tools), running on real hardware.
I forgot to mention: I have a 64-bit version installed, too, and including the developer tools.

Gausi

Ok, this seems to be a Problem with 64Bit. I've tried the 32Bit-Version of the Windows8 Developer Preview (on the same machine) and everything works fine.

Maybe this is useful to fix the bug.  :)

Ian @ un4seen

Thanks for the additional info. The puzzling thing is why the problem is only affecting BASS_FX. We're looking into it :)

(: JOBnik! :)

Hi ;D

Please redownload the BASS_FX package.
The error in Windows 8 x64 should be fixed now ;)

p.abd

Shalom, Arthur!

Everything runs smooth as I can see now.









But why the changelog isn't modified reflecting the fix, nor is the version number updated? (still 2.4.7.1, excuse me for nitpicking)

(: JOBnik! :)

Hi ;D

Because it's not a BASS_FX code that changed, the problem was in a compressing application that is used to compress the dll and was affecting only BASS_FX and not other add-ons of Ian :)

p.abd

What's up, Arthur!

Do you mean UPX? Could you tell what exactly command line switch was the problem — personally I do use it, too.

Thank you!

(: JOBnik! :)

Hi ;D

No, the compression application that is used with BASS/add-ons is an application made by Ian called Petite.
The UPX works fine in Windows 8 x64, I've also tested it.

The weird thing is that in Windows 8 x86 the dll runs fine, so it might be that Windows 8 is still in a pre-beta that was failing in x64 :)

Ionut Cristea

An Android version of BASS_FX is available?

(: JOBnik! :)

Hi ;D

Nope, I didn't have time to look at it yet ;) but soon :)

nadia

Hello  ;D

I was wondering which is the slope (rolloff) applied to the limit of equalizer bands applied using the BASS_ChannelSetFX function: in most hardware products this is usually 12 dB per octave so I was wondering if the BASS_FX_BFX_PEAKEQ effect uses the same or if it's different. Looking at the BASS_BFX_PEAKEQ structure it doesn't seem to be configurable so I suspect that this is a fixed value: is this correct?

Thanks and Kind Regards  ;D

Nadia

(: JOBnik! :)


(: JOBnik! :)

Hi ;D

there's now version 2.4.8 is released

2.4.8 - 31/07/2012
------------------
* BASS_FX:
  * Android version introduced (package bass_fx24-android.zip)
    currently doesn't include most BASS_FX_BFX_xxx effects.
  * Delphi/Pascal unit: changed "user" param from "DWORD" to "Pointer"

* BPM:
 * Added "user" param to BASS_FX_BPM_DecodeGet and BPMPROCESSPROC (you have to recompile your project).
  * BPM example updated to fit above changes.
  * According to this request: http://www.un4seen.com/forum/?topic=13319
    Added support for BPM detection from the current position with BASS_FX_BPM_DecodeGet (startSec<0).
    
* Beat:
  * Couple of little fixes in beat detection.

* Tempo:
  * Android: Enabled the BASS_ATTRIB_TEMPO_OPTION_USE_QUICKALGO option on tempo
    streams by default for lower CPU usage. See docs on how to disable it.

p.abd

Hey, Arthur!

There is a typo introduced in the Delphi header of most recent version of Bass-FX, which actually causes a compiling error.

In the declaration of the BASS_FX_BPM_DecodeGet routine, there should be a semicolon after "proc: BPMPROCESSPROC", instead of the comma mark.

Cheers! :-)

(: JOBnik! :)

Hi ;D

Oops... thank you, I've updated the BASS_FX.PAS in packages :)