BASS_FX 2.4.12.1

Started by (: JOBnik! :),

tlgkccampbell

Quote from: (: JOBnik! :)Hi ;D

Please let me know if this works fine:
http://www.jobnik.org/files/beta/libbass_fx24111-x64-linux.zip

Looks like this does the trick!  Thanks for putting in the time to take a look at my problem!

Plummm

Quote from: Ian @ un4seenIf you want to write a BASS channel's output (including any DSP/FX that are set on it) to a file, the BASSenc add-on is the easiest way to do that. Please see the BASS_Encode_Start documentation for details.
Thank you for your answer! ;D
But how does the BASSenc work?Can I find a demo?I am a beginner on Android develop. It so hard for me.:'(

Ian @ un4seen

Unfortunately, there aren't any encoders available for use with BASS_Encode_Start on Android (eg. no LAME or OGGENC executables), but you can use the BASS_ENCODE_PCM option to write a WAV file, something like this...

int encoder=BASS.BASS_Encode_Start(stream, outfilename, BASS.BASS_ENCODE_PCM|BASS.BASS_ENCODE_AUTOFREE, null, null);

If you would prefer to write an encoded file, then that is possible by including an encoder library in your app and using it with BASS_Encode_StartUser, but that's probably not a beginner project. Still, some info/code for doing that with the LAME library can be found in this thread...

   www.un4seen.com/forum/?topic=15657

rv

Jobnik, can you tell us hat do you think about this?

http://breakfastquay.com/rubberband/

It seems to be a lot better than soundtouch

Amx-Vector

How  to use freeverb effect ?
And what are best setting for the effect ?  ???
Thx before...  ;D

Jonathan2

BASS_FX_TempoCreate seems to be a missing symbol when using the 64-bit architecture (particularly when using the iOS Simulator).

Any chance you can add x86_64 support so we can test iPhone 6 in the Simulator?  It's 64 bit only.

(: JOBnik! :)

#667
Hi ;D

Quote from: rvJobnik, can you tell us hat do you think about this?

http://breakfastquay.com/rubberband/

It seems to be a lot better than soundtouch

I've tested this library as well and it's really good, I've also been in touch with developers, but the GPL license of it makes it very hard to create an add-on for it, I'll see if something could be done anyway.

Quote from: Amx-VectorHow  to use freeverb effect ?
And what are best setting for the effect ?  ???
Thx before...  ;D

You use it as any other BASS_FX effect, please see the "DSP" example in BASS_FX package.
For presets, just use values that are best for you.

Quote from: Jonathan2BASS_FX_TempoCreate seems to be a missing symbol when using the 64-bit architecture (particularly when using the iOS Simulator).

Any chance you can add x86_64 support so we can test iPhone 6 in the Simulator?  It's 64 bit only.

Here's an updated libbass_fx.a, that adds support for x86_64 simulator as well:
http://www.jobnik.net/files/beta/libbass_fx.a

(already posted in BASS for iOS (iPhone /iPad) thread)

aradeonas

Hi,
First thank you for BASS_FX.
Second I want to what is the best way for changing playback speed?changing sample rate or tempo?
Third how them work?I tested demos and I want two know for change playback speed to 8x or -8x How much I need to change tempo or sample rate?

(: JOBnik! :)

#669
Hi ;D

there's now version 2.4.11.1 is released

2.4.11.1 - 24/12/2014
* BASS_FX:
  * Added support for BASS 2.4.11, BASS_DATA_FIXED flag is used in Android, WinCE and Linux ARM platforms.
  * Documentation is updated.
  * iOS, added "x86_64" simulator architecture.

* Tempo:
  * Fixed "Segmentation fault" on x64 Linux system.

* DSP:
  * Android, fixed "BASS_FX_BFX_ECHO4" effect as reported in this thread:
    http://www.un4seen.com/forum/?topic=13225.msg112373#msg112373

Quote from: aradeonasHi,
First thank you for BASS_FX.
Second I want to what is the best way for changing playback speed?changing sample rate or tempo?
Third how them work?I tested demos and I want two know for change playback speed to 8x or -8x How much I need to change tempo or sample rate?

You're welcome :)
It depends what you want? If you want to change speed and not affect the pitch, then use TEMPO, otherwise if you want change the speed and affect the pitch then use FREQ.
I guess you have to multiply/divide by 8.

aradeonas

Thank you but for example I can change Tempo from 95 to 5000 and when I look at length of audio and change Tempo I see it changing rate is not a simple divide.
Please take a look at your demos and change Tempo from 95 to 5000.
I don't know the formula for finding out how it changes speed.

bpmUser

Hi,
 
   Is it possible to use Bass_FX with Unity 5? I've got Bass working fine but it keeps saying "Could not register the window class, win32 error 0". Any ideas how to get this working?

Thank you  :)

mcooper

Hello,

I'm using BassFX.BASS_FX_BPM_CallbackSet in Bass.NET (on Android) to get BPM callbacks.  Its working, but I was wondering if there is a way to disable the callback (or change the period) after its been enabled. BASS_FX_BPM_CallbackReset doesn't seem to disable it, and calling BASS_FX_BPM_CallbackSet again with a different period doesn't change the period either.

Thank you,

Matt

(: JOBnik! :)

Hi ;D

To disable the callback you'll have to free it using BASS_FX_BPM_Free function and then re-enable it using BASS_FX_BPM_CallbackSet (with different period if needed).
BASS_FX_BPM_CallbackReset, resets internal variables, arrays and starts period from 0.

mcooper

Quote from: (: JOBnik! :)Hi ;D

To disable the callback you'll have to free it using BASS_FX_BPM_Free function and then re-enable it using BASS_FX_BPM_CallbackSet (with different period if needed).
BASS_FX_BPM_CallbackReset, resets internal variables, arrays and starts period from 0.

Hello,

Thank you for your reply.  I'm trying to call BASS_FX_BPM_Free on a currently playing handle, and it returns true with no error, but the android background process (playing audio) crashes shortly after.

(: JOBnik! :)

#675
Hi ;D

Is this also happening with the BPM example in BASS_FX Android package?

Ian @ un4seen

Quote from: mcooperI'm trying to call BASS_FX_BPM_Free on a currently playing handle, and it returns true with no error, but the android background process (playing audio) crashes shortly after.

To hopefully provide some clues on the problem, please post the crash log including call stack.

mcooper

Quote from: Ian @ un4seen
Quote from: mcooperI'm trying to call BASS_FX_BPM_Free on a currently playing handle, and it returns true with no error, but the android background process (playing audio) crashes shortly after.

To hopefully provide some clues on the problem, please post the crash log including call stack.

I wasn't able to catch an exception.  The call to BASS_FX_BPM_Free returns true.  Android monitor reported the following:

08-21 16:55:30.643: E/mono-rt(31903): Stacktrace:
08-21 16:55:30.643: E/mono-rt(31903): Attempting native Android stacktrace:
08-21 16:55:30.643: D/libc-fault-recovery-native(31903): M=0xf728e0f0 B=0xf728e1c8 F=0x9d757100 P=0xac98f010 I=22
08-21 16:55:30.653: D/libc-fault-recovery-native(31903): FIND target F=0x0
08-21 16:55:30.653: A/libc(31903): heap corruption detected by dlmalloc_real
08-21 16:55:30.653: A/libc(31903): Fatal signal 6 (SIGABRT), code -6 in tid 31958 (Thread-704)
08-21 16:55:30.653: W/libc(31903): Security Level: (0), Allow to dump debug information.
08-21 16:55:30.683: I/DEBUG(586): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-21 16:55:30.683: I/DEBUG(586): Build fingerprint: 'htc/himauhl_htc_europe/htc_himauhl:5.1/LMY47O/576582.1:user/release-keys'
08-21 16:55:30.683: I/DEBUG(586): Revision: '0'
08-21 16:55:30.683: I/DEBUG(586): ABI: 'arm'
08-21 16:55:30.683: I/DEBUG(586): pid: 31903, tid: 31958, name: Thread-704  >>> com.mr.droid.backgroundaudio <<<
08-21 16:55:30.683: I/DEBUG(586): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
08-21 16:55:30.693: I/DEBUG(586): Abort message: 'heap corruption detected by dlmalloc_real'
08-21 16:55:30.693: I/DEBUG(586):     r0 00000000  r1 00007cd6  r2 00000006  r3 00000000
08-21 16:55:30.693: I/DEBUG(586):     r4 d71acdd8  r5 00000006  r6 00000000  r7 0000010c
08-21 16:55:30.693: I/DEBUG(586):     r8 00000004  r9 00000001  sl 00000001  fp 00000001
08-21 16:55:30.693: I/DEBUG(586):     ip 00007cd6  sp d77eb7f8  lr f72480d5  pc f726ec60  cpsr 60070010
08-21 16:55:30.703: I/DEBUG(586): backtrace:
08-21 16:55:30.703: I/DEBUG(586):     #00 pc 0003ac60  /system/lib/libc.so (tgkill+12)
08-21 16:55:30.703: I/DEBUG(586):     #01 pc 000140d1  /system/lib/libc.so (pthread_kill+52)
08-21 16:55:30.703: I/DEBUG(586):     #02 pc 00014cef  /system/lib/libc.so (raise+10)
08-21 16:55:30.703: I/DEBUG(586):     #03 pc 00011551  /system/lib/libc.so (__libc_android_abort+36)
08-21 16:55:30.703: I/DEBUG(586):     #04 pc 0000f788  /system/lib/libc.so (abort+4)
08-21 16:55:30.703: I/DEBUG(586):     #05 pc 000127a3  /system/lib/libc.so (__libc_fatal+16)
08-21 16:55:30.703: I/DEBUG(586):     #06 pc 00027509  /system/lib/libc.so (__bionic_heap_corruption_error+8)
08-21 16:55:30.703: I/DEBUG(586):     #07 pc 000284a7  /system/lib/libc.so (dlmalloc_real+710)
08-21 16:55:30.703: I/DEBUG(586):     #08 pc 0000f52b  /system/lib/libc.so (malloc+10)
08-21 16:55:30.703: I/DEBUG(586):     #09 pc 000397dd  /system/lib/libc.so (strdup+12)
08-21 16:55:30.703: I/DEBUG(586):     #10 pc 00008257  /system/lib/libunwind.so
08-21 16:55:30.703: I/DEBUG(586):     #11 pc 00008325  /system/lib/libunwind.so
08-21 16:55:30.703: I/DEBUG(586):     #12 pc 0000840b  /system/lib/libunwind.so
08-21 16:55:30.703: I/DEBUG(586):     #13 pc 0000935b  /system/lib/libunwind.so
08-21 16:55:30.703: I/DEBUG(586):     #14 pc 000094f3  /system/lib/libunwind.so (_ULarm_init_local+242)
08-21 16:55:30.703: I/DEBUG(586):     #15 pc 000b03e4  /data/app/Mono.Android.DebugRuntime-1/lib/arm64/libmonosgen-32bit-2.0.so
08-21 16:55:31.233: E/ActivityManager(1115): App crashed! Process: com.mr.droid.backgroundaudio

Is that any use?  I'll also try to get the sample app working (in android studio), so I can deploy and test it.

Matt

Ian @ un4seen

Unfortunately that call stack doesn't help locate the problem as it doesn't lead back to the BASS_FX or BASS libraries, but from the error message it looks like the heap has been corrupted. If possible, please see if you can reproduce the crash in a Java app, and post the call stack from that if so.

tlgkccampbell

Hi again Jobnick,

Is there any chance of BASS_FX including an arm64-v8a Android lib in the near future? I can get my application working on my Nexus 9 using the 32-bit library, but Xamarin has some quirks that are making the debugging a bit inconvenient without a 64-bit version.