Author Topic: Help with Bass.dll  (Read 573 times)

AudioVideo

  • Posts: 9
Help with Bass.dll
« on: 21 Feb '24 - 09:20 »
Hello,
I've attached a 64-bit version of Bass.dll and need help to know which edition is this?
I mean for .NET or Com object based or C++ etc?
And where to get the signed version of this same version 2.4.15.0 x64? (I mean signed with a code signing certificate)
Thanks for help :)

Ian @ un4seen

  • Administrator
  • Posts: 26026
Re: Help with Bass.dll
« Reply #1 on: 21 Feb '24 - 13:39 »
The same BASS.DLL is used with all programming languages. C/C++, Delphi and VB6 support is included in the BASS package but other languages are also supported through additional downloads in the "Other APIs" section of the BASS webpage.

The current BASS.DLL version (2.4.17) is digitally signed.

AudioVideo

  • Posts: 9
Re: Help with Bass.dll
« Reply #2 on: 23 Feb '24 - 05:35 »
Hello
Thanks for info, I'm using it in a out of business / out of support .NET audio cd burning SDK, the .NET SDK which is partially written in C++ and is using it internally, so no idea if using the newer version of Bass.dll will not bring technical issues? ie if burning SDK is setting the Bass.dll license key internally, is it also valid for the new 2.4.17.0 version?
Can you please sign the 2.4.15.0 x64?

Also, when burning audio cd, some audio files are decoded incorrectly using Bass.dll, like if we decode a 32bit audio in 24bit mode, so it will play faster.
Can you please confirm if Bass.dll will decode this audio file correctly? I guess burning SDK internally convert files to wav to burn.
Thanks.

AudioVideo

  • Posts: 9
Re: Help with Bass.dll
« Reply #3 on: 23 Feb '24 - 06:31 »
Seems can't attach a 2.3 MB zip file?

Chris

  • Posts: 2210
Re: Help with Bass.dll
« Reply #4 on: 23 Feb '24 - 12:36 »
The attaches are limited to 2 MB. So just use 7zip that will compress better.
Are you using the Bass_Sample_Float Flag in your decode Process?
You can use the 2.4.17.0 Version which is signed.
Can you show how you decode the Audiofile ?

Ian @ un4seen

  • Administrator
  • Posts: 26026
Re: Help with Bass.dll
« Reply #5 on: 23 Feb '24 - 15:31 »
Larger files can be uploaded via FTP here:

   ftp.un4seen.com/incoming/

BASS 2.4.17 is back-compatible with 2.4.15 so please try upgrading the BASS.DLL first, to see if your files are already working now.

AudioVideo

  • Posts: 9
Re: Help with Bass.dll
« Reply #6 on: 23 Feb '24 - 19:42 »
No idea, Bass.dll just needs to be placed beside the burner engine dll.
When we burn audio CD it uses Bass.dll to decode audio and burn on to CD.
We don't deal with Bass directly at all, so no info.

1. I tried 2.4.17 and it was working (although the issue exists yet)
One thing I don't know is that if Bass.dll has some property like LicenseKey to set? If so, that burning engine is using Bass.dll and passing the key to it, so it will be valid for 2.4.17 as well?

2. Bass.dll 2.4.17 is signed with SHA1 key, please consider signing with SHA256 or dual signing with both SHA1 and SHA256 :)

3. The issue still exists with the new version :)

AudioVideo

  • Posts: 9
Re: Help with Bass.dll
« Reply #7 on: 24 Feb '24 - 10:02 »
Uploaded the audio here:

https://mega.nz/file/zf4FWaRA#K2a9bveuk7AfFwZH55_aI4VKOBpoorGbHC1D4CCZ3Sk

Anyone can confirm if Bass.dll can convert it correctly? I guess the burner SDK will convert to WAV format to burn onto Audio CD.
Using the latest version, still getting the conversion issue!

AudioVideo

  • Posts: 9
Re: Help with Bass.dll
« Reply #8 on: 24 Feb '24 - 10:04 »
oops, one thing:

2.4.15 is 259 KB (265,728 bytes)
2.4.17 is 156 KB (160,288 bytes)

100 KB of a 250 KB internal source is removed?
That's why I'm concerned if the public version differs from paid version.
Or some implementations/formats are removed?
« Last Edit: 24 Feb '24 - 10:21 by AudioVideo »

Chris

  • Posts: 2210
Re: Help with Bass.dll
« Reply #9 on: 24 Feb '24 - 14:04 »
I´m working  with Bass as now 12 Years and i can say
i have never seen a Bass Release with 259 KB.
Bass 2.4.15 will have 126 kb.
Quote
if we decode a 32bit audio in 24bit
If I right understand the Burrning Api will decode with Bass a Audiofile . Which Input Format will have the AudioFiles ?
By the Way a AudioCd will have the Format 44,1 kHz, 16-Bit and not 24 or 32 Bit.
Which burner SDK/API do you use?

« Last Edit: 24 Feb '24 - 15:41 by Chris »

AudioVideo

  • Posts: 9
Re: Help with Bass.dll
« Reply #10 on: 24 Feb '24 - 21:56 »
Are you sure you're talking about x64 dll, and not x86 one?
See the Bass.dll attachment in my first post please.

AudioVideo

  • Posts: 9
Re: Help with Bass.dll
« Reply #11 on: 25 Feb '24 - 06:14 »
OK, this is our source audio:
https://mega.nz/file/zf4FWaRA#K2a9bveuk7AfFwZH55_aI4VKOBpoorGbHC1D4CCZ3Sk

and here's the converted wav audio with Bass which you can hear it's like the speed is increased:
https://mega.nz/file/KawknCLT#1Y6asTQeXuE_YxZRRacyHnX6tRBAZr5VaLNwRDZWGWc

Chris

  • Posts: 2210
Re: Help with Bass.dll
« Reply #12 on: 25 Feb '24 - 14:07 »
Are you sure you're talking about x64 dll, and not x86 one?
See the Bass.dll attachment in my first post please.
ah ok , yes the bass.dll x64 - 2.4.15 will have 256kb but as Ian wrote 2.4.17 is back-compatible with 2.4.15.

but without to see any Part of the Sourcecode , i dont think its possible to find a solution.
Maybe it would be helpful on which Input Formats does the wrong speed occurs ?

AudioVideo

  • Posts: 9
Re: Help with Bass.dll
« Reply #13 on: 25 Feb '24 - 14:34 »
Not about a specific format, other .m4a files are converted fine!
And I've seen this for some wav files too, a mono 2 seconds short wav audio.
Thanks anyway :)

Ian @ un4seen

  • Administrator
  • Posts: 26026
Re: Help with Bass.dll
« Reply #14 on: 26 Feb '24 - 12:26 »
oops, one thing:

2.4.15 is 259 KB (265,728 bytes)
2.4.17 is 156 KB (160,288 bytes)

100 KB of a 250 KB internal source is removed?
That's why I'm concerned if the public version differs from paid version.
Or some implementations/formats are removed?

There is no special paid version, it's the same BASS.DLL for everyone. The noted size reduction is due to compression.

OK, this is our source audio:
https://mega.nz/file/zf4FWaRA#K2a9bveuk7AfFwZH55_aI4VKOBpoorGbHC1D4CCZ3Sk

and here's the converted wav audio with Bass which you can hear it's like the speed is increased:
https://mega.nz/file/KawknCLT#1Y6asTQeXuE_YxZRRacyHnX6tRBAZr5VaLNwRDZWGWc

That MP4 file seems to be decoded fine by BASS here, so perhaps there's something wrong with what the app is doing with the decoded data, eg. assuming it's always 44100hz stereo? You can try converting the file with the pre-compiled WRITEWAV.EXE example included in the BASS package (C\BIN folder) for comparison. Let me know if you see the problem happening with that too.