Author Topic: BASS_FX 2.4.12.1  (Read 838125 times)

p.abd

  • Posts: 33
BASS FX apps fail on Windows 8
« Reply #550 on: 19 Sep '11 - 07:13 »
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! :)

  • Posts: 1080
Re: BASS_FX 2.4.7.1
« Reply #551 on: 19 Sep '11 - 10:14 »
Hi ;D

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

p.abd

  • Posts: 33
BASS FX Issue on Windows 8
« Reply #552 on: 19 Sep '11 - 11:42 »
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

  • Posts: 137
Re: BASS_FX 2.4.7.1
« Reply #553 on: 19 Sep '11 - 12:56 »
Hope this is because W8 is still in Beta  ;)

radio42

  • Posts: 4839
Re: BASS_FX 2.4.7.1
« Reply #554 on: 19 Sep '11 - 13:05 »
I recently got a user reporting the following error:
Code: [Select]
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:
Code: [Select]
_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! :)

  • Posts: 1080
Re: BASS_FX 2.4.7.1
« Reply #555 on: 21 Sep '11 - 08:59 »
Hi ;D

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


I recently got a user reporting the following error:
Code: [Select]
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:
Code: [Select]
_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 :)
« Last Edit: 21 Sep '11 - 09:06 by (: JOBnik! :) »

p.abd

  • Posts: 33
Re: BASS_FX 2.4.7.1
« Reply #556 on: 21 Sep '11 - 11:17 »
Hi ;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

  • Administrator
  • Posts: 26045
Re: BASS_FX 2.4.7.1
« Reply #557 on: 21 Sep '11 - 13:27 »
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

  • Posts: 33
Re: BASS_FX 2.4.7.1
« Reply #558 on: 27 Sep '11 - 20:45 »
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?
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

  • Posts: 11
Re: BASS_FX 2.4.7.1
« Reply #559 on: 28 Sep '11 - 20:40 »
 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

  • Posts: 33
Re: BASS_FX 2.4.7.1
« Reply #560 on: 29 Sep '11 - 10:08 »
I 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

  • Posts: 11
Re: BASS_FX 2.4.7.1
« Reply #561 on: 30 Sep '11 - 17:01 »
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

  • Administrator
  • Posts: 26045
Re: BASS_FX 2.4.7.1
« Reply #562 on: 30 Sep '11 - 17:38 »
Thanks for the additional info. The puzzling thing is why the problem is only affecting BASS_FX. We're looking into it :)

(: JOBnik! :)

  • Posts: 1080
Re: BASS_FX 2.4.7.1
« Reply #563 on: 3 Oct '11 - 17:01 »
Hi ;D

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

p.abd

  • Posts: 33
Re: BASS_FX 2.4.7.1
« Reply #564 on: 3 Oct '11 - 18:50 »
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! :)

  • Posts: 1080
Re: BASS_FX 2.4.7.1
« Reply #565 on: 3 Oct '11 - 19:54 »
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

  • Posts: 33
Re: BASS_FX 2.4.7.1
« Reply #566 on: 4 Oct '11 - 07:04 »
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! :)

  • Posts: 1080
Re: BASS_FX 2.4.7.1
« Reply #567 on: 4 Oct '11 - 15:04 »
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

  • Posts: 1559
Re: BASS_FX 2.4.7.1
« Reply #568 on: 28 Nov '11 - 15:16 »
An Android version of BASS_FX is available?

(: JOBnik! :)

  • Posts: 1080
Re: BASS_FX 2.4.7.1
« Reply #569 on: 29 Nov '11 - 10:27 »
Hi ;D

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

nadia

  • Posts: 332
Re: BASS_FX 2.4.7.1
« Reply #570 on: 7 Dec '11 - 23:31 »
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! :)

  • Posts: 1080
Re: BASS_FX 2.4.7.1
« Reply #571 on: 11 Dec '11 - 12:53 »
Hi ;D

Since Peaking EQ is a BiQuad filter, this will answer your question:
https://www.un4seen.com/forum/?topic=11039.msg77387#msg77387

(: JOBnik! :)

  • Posts: 1080
Re: BASS_FX 2.4.8
« Reply #572 on: 31 Jul '12 - 17:47 »
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: https://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

  • Posts: 33
Re: BASS_FX 2.4.8
« Reply #573 on: 25 Sep '12 - 21:16 »
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! :)

  • Posts: 1080
Re: BASS_FX 2.4.8
« Reply #574 on: 26 Sep '12 - 13:05 »
Hi ;D

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