Author Topic: BASS_FX 2.4.11.1  (Read 614011 times)

Plummm

  • Posts: 2
Re: BASS_FX 2.4.11
« Reply #650 on: 22 Sep '14 - 06:53 »
Thanks for BASS_FX first,it works very well.
Now,I have a question that can I save the adjusted audio?

Ian @ un4seen

  • Administrator
  • Posts: 20389
Re: BASS_FX 2.4.11
« Reply #651 on: 22 Sep '14 - 15:43 »
If 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.

Daniel S.

  • Guest
Re: BASS_FX 2.4.11
« Reply #652 on: 24 Sep '14 - 10:21 »
Hi,

first of all, thank you for making Bass FX. It's great and really easy to use!
When I try to download the new iOS Version using the link in the first post of this thread (http://www.jobnik.org/BASS_FX/bass_fx24-ios.zip) I get a 404 error. Did you remove the file on purpose? Are you going to put it back up?

Thanks for your time!

(: JOBnik! :)

  • Posts: 1065
Re: BASS_FX 2.4.11
« Reply #653 on: 24 Sep '14 - 10:44 »
Hi ;D

You can download it now, it was by mistake named as "bass_fx24-iphone.zip" on server ;)

jnyang

  • Guest
Re: BASS_FX 2.4.11
« Reply #654 on: 1 Oct '14 - 15:30 »
Hi,

I found there are some typos in BASS_FX.java (Android) for version 2.4.11.

On line 22 and 23, semicolons are missing.
Code: [Select]
public static final int BASS_CTYPE_STREAM_TEMPO = 0x1f200;
public static final int BASS_CTYPE_STREAM_REVERSE = 0x1f201;

On line 294 and 308, "public static" should be replaced to "public static class" like this:
Code: [Select]
public static class BASS_BFX_PITCHSHIFT {
   ...
}
public static class BASS_BFX_FREEVERB {
   ...
}

Btw, I really appreciate for your great support of BASS FX!  :D

(: JOBnik! :)

  • Posts: 1065
Re: BASS_FX 2.4.11
« Reply #655 on: 1 Oct '14 - 21:51 »
Hi ;D

Thanks, an android BASS_FX.java is fixed now :)
I've also added safeseh BASS_FX.LIB to the windows package.

tlgkccampbell

  • Guest
Re: BASS_FX 2.4.11
« Reply #656 on: 12 Oct '14 - 02:06 »
Hi Jobnik,

Either I'm overlooking something obvious, or I've run into what seems to be a bug in the 64-bit version of bass_fx 2.4.11 on Linux (Ubuntu 14.04).  The following code works as expected when compiled against the 32-bit version of the library, but produces a segmentation fault in BASS_FX_TempoCreate() when compiled against the 64-bit version of the library.

Code: [Select]
#include <stdlib.h>
#include <stdio.h>
#include "bass.h"
#include "bass_fx.h"

int main()
{
int result = BASS_Init(-1, 44100, 0, 0, 0);
if (result == 0)
{
printf("BASS_Init() failed: %i\n", BASS_ErrorGetCode());
return 1;
}

DWORD stream = BASS_StreamCreateFile(FALSE, "Example.ogg", 0, 0, BASS_SAMPLE_LOOP | BASS_STREAM_DECODE);
if (stream == 0)
{
printf("BASS_StreamCreateFile() failed: %i\n", BASS_ErrorGetCode());
return 1;
}

stream = BASS_FX_TempoCreate(stream, BASS_FX_FREESOURCE);
if (stream == 0)
{
printf("BASS_FX_TempoCreate() failed: %i\n", BASS_ErrorGetCode());
return 1;
}

if (!BASS_ChannelSetAttribute(stream, BASS_ATTRIB_TEMPO_PITCH, -12.0f))
{
printf("BASS_ChannelSetAttribute() failed: %i\n", BASS_ErrorGetCode());
return 1;
}

if (!BASS_ChannelPlay(stream, FALSE))
{
printf("BASS_ChannelPlay() failed: %i\n", BASS_ErrorGetCode());
return 1;
}

printf("Playing stream, press any key...\n");
getchar();

return 0;
}

Thanks for all the time you've put into this library!

(: JOBnik! :)

  • Posts: 1065
Re: BASS_FX 2.4.11
« Reply #657 on: 14 Oct '14 - 15:21 »

DrummerB

  • Posts: 19
Re: BASS_FX 2.4.11
« Reply #658 on: 14 Oct '14 - 16:29 »
Hi Jobnik,

I would like to recommend the RubberBand time stretching library. It seems to have very good audio quality, but it "just" provides the processing algorithms, no player functionality. It's free with a GNU license (but you can buy commercial licenses as well).

I've been trying to integrate it with BASS, but I don't quite understand how I could apply an effect that returned more data than it received (i.e. stretch the audio). The DSP functions just provide a way to modify the data in place.

Do you think you could add this library as an option, similarly to SoundTouch? That would be great!

Thanks!

rv

  • Posts: 191
Re: BASS_FX 2.4.11
« Reply #659 on: 15 Oct '14 - 02:04 »
wow ! The RubberBand exemples sounds so good....
Arthur need to listen to them :)

tlgkccampbell

  • Guest
Re: BASS_FX 2.4.11
« Reply #660 on: 15 Oct '14 - 02:20 »
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

  • Posts: 2
Re: BASS_FX 2.4.11
« Reply #661 on: 15 Oct '14 - 09:37 »
If 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

  • Administrator
  • Posts: 20389
Re: BASS_FX 2.4.11
« Reply #662 on: 15 Oct '14 - 14:20 »
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...

Code: [Select]
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

  • Posts: 191
Re: BASS_FX 2.4.11
« Reply #663 on: 20 Oct '14 - 09:24 »
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

  • Posts: 2
Re: BASS_FX 2.4.11
« Reply #665 on: 7 Dec '14 - 14:46 »
How  to use freeverb effect ?
And what are best setting for the effect ?  ???
Thx before...  ;D

Jonathan2

  • Guest
Re: BASS_FX 2.4.11
« Reply #666 on: 14 Dec '14 - 21:42 »
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! :)

  • Posts: 1065
Re: BASS_FX 2.4.11
« Reply #667 on: 17 Dec '14 - 14:19 »
Hi ;D

Jobnik, 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.

How  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.

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.

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

(already posted in BASS for iOS (iPhone /iPad) thread)
« Last Edit: 17 Dec '14 - 15:01 by (: JOBnik! :) »

aradeonas

  • Posts: 33
Re: BASS_FX 2.4.11
« Reply #668 on: 20 Dec '14 - 09:25 »
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! :)

  • Posts: 1065
Re: BASS_FX 2.4.11.1
« Reply #669 on: 24 Dec '14 - 00:17 »
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

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?

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.
« Last Edit: 24 Dec '14 - 00:25 by (: JOBnik! :) »

aradeonas

  • Posts: 33
Re: BASS_FX 2.4.11.1
« Reply #670 on: 24 Dec '14 - 06:31 »
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

  • Posts: 8
Re: BASS_FX 2.4.11.1
« Reply #671 on: 4 May '15 - 17:38 »
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

  • Posts: 38
Re: BASS_FX 2.4.11.1
« Reply #672 on: 11 Aug '15 - 17:15 »
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! :)

  • Posts: 1065
Re: BASS_FX 2.4.11.1
« Reply #673 on: 13 Aug '15 - 10:34 »
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

  • Posts: 38
Re: BASS_FX 2.4.11.1
« Reply #674 on: 14 Aug '15 - 17:11 »
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.