Author Topic: BASS for ARM Linux  (Read 289277 times)

drugoimir

  • Posts: 39
Re: BASS for ARM Linux
« Reply #375 on: 28 Feb '18 - 16:40 »
Works Great!  ;D
Maany thanks!

(note : the 'updated' field on the download link is reporting Feb 28, 2017)

Ian @ un4seen

  • Administrator
  • Posts: 26102
Re: BASS for ARM Linux
« Reply #376 on: 28 Feb '18 - 17:18 »
Great! The bug affected the Android version too, so a BASSmix update is also up in the Android thread now.

rdkartono

  • Posts: 58
Re: BASS for ARM Linux
« Reply #377 on: 26 Mar '18 - 09:21 »
Can somebody share BASS AAC plugin in Linux AARCH64 version ?

Ian @ un4seen

  • Administrator
  • Posts: 26102
Re: BASS for ARM Linux
« Reply #378 on: 26 Mar '18 - 17:13 »
An aarch64 build has now been added to the BASS_AAC package in the 1st post. The other architectures have also been updated to the latest version (2.4.5.7).

rdkartono

  • Posts: 58
Re: BASS for ARM Linux
« Reply #379 on: 27 Mar '18 - 03:08 »
An aarch64 build has now been added to the BASS_AAC package in the 1st post. The other architectures have also been updated to the latest version (2.4.5.7).

Ian, can't load this AAC plugin for AARCH64. Handle returned 0, Bass_ErrorGetCode returned 2.
I tried all 3 .so files inside the zip, all same.
I also tried to delete all libbass*.so files too, but still the same.

rdkartono

  • Posts: 58
Re: BASS for ARM Linux
« Reply #380 on: 27 Mar '18 - 09:52 »
An aarch64 build has now been added to the BASS_AAC package in the 1st post. The other architectures have also been updated to the latest version (2.4.5.7).

Ian, can't load this AAC plugin for AARCH64. Handle returned 0, Bass_ErrorGetCode returned 2.
I tried all 3 .so files inside the zip, all same.
I also tried to delete all libbass*.so files too, but still the same.

Here is copy paste of my program outputs :
Waiting for debugger to connect...
OS Name : Linux
OS Architecture : aarch64
OS Version : 4.14.0
JVM Name : Java HotSpot(TM) 64-Bit Server VM
Java Lib path : /usr/local/lib::/usr/java/packages/lib/aarch64:/lib:/usr/lib
ARM 64bit
Program started.
BASS version=2040d08
BASS_FX version=2040b02
BASSENC version=2040d06
BASSMIX version=2040902
Load Error on bass_aac, Errorcode:2
basshls handle = 1
basshls version : 2040101
Loading plugin HLS success
DeviceID used = 1
DeviceName = Default
Device Driver = default
Device enabled
Device initialized
Failed to open http://streaming.sportku.com:8000/jak
Errorcode = 41

Ian @ un4seen

  • Administrator
  • Posts: 26102
Re: BASS for ARM Linux
« Reply #381 on: 27 Mar '18 - 13:59 »
Oops! The "aarch64" folder in the BASS_AAC package contained the hardfp build. The aarch64 build should be there now.

rdkartono

  • Posts: 58
Re: BASS for ARM Linux
« Reply #382 on: 28 Mar '18 - 01:57 »
Oops! The "aarch64" folder in the BASS_AAC package contained the hardfp build. The aarch64 build should be there now.

Thanks a lot Ian, now it works properly.  :D

Here are the result :
Waiting for debugger to connect...
OS Name : Linux
OS Architecture : aarch64
OS Version : 4.14.0
JVM Name : Java HotSpot(TM) 64-Bit Server VM
Java Lib path : /usr/local/lib::/usr/java/packages/lib/aarch64:/lib:/usr/lib
ARM 64bit
Copied libbass.so to /tempjars
Copied libbass.so to /usr/local/lib
Copied libbass.so to /lib
Copied libbass.so to /usr/lib
Copied libbass_fx.so to /tempjars
Copied libbass_fx.so to /usr/local/lib
Copied libbass_fx.so to /lib
Copied libbass_fx.so to /usr/lib
Copied libbass_aac.so to /tempjars
Copied libbass_aac.so to /usr/local/lib
Copied libbass_aac.so to /lib
Copied libbass_aac.so to /usr/lib
Copied libbasshls.so to /tempjars
Copied libbasshls.so to /usr/local/lib
Copied libbasshls.so to /lib
Copied libbasshls.so to /usr/lib
Copied libbassenc.so to /tempjars
Copied libbassenc.so to /usr/local/lib
Copied libbassenc.so to /lib
Copied libbassenc.so to /usr/lib
Copied libbassmix.so to /tempjars
Copied libbassmix.so to /usr/local/lib
Copied libbassmix.so to /lib
Copied libbassmix.so to /usr/lib
Copied libbasscd.so to /tempjars
Copied libbasscd.so to /usr/local/lib
Copied libbasscd.so to /lib
Copied libbasscd.so to /usr/lib
Program started.
BASS version=2040d08
BASS_FX version=2040b02
BASSENC version=2040d06
BASSMIX version=2040902
bass_aac handle = 1
bass_aac version : 2040507
Loading plugin AAC success
basshls handle = 2
basshls version : 2040101
Loading plugin HLS success
DeviceID used = 1
DeviceName = Default
Device Driver = default
Device enabled
Device initialized
Playing from http://streaming.sportku.com:8000/jak

rdkartono

  • Posts: 58
Re: BASS for ARM Linux
« Reply #383 on: 28 Mar '18 - 02:52 »
Oops! The "aarch64" folder in the BASS_AAC package contained the hardfp build. The aarch64 build should be there now.

Thanks a lot Ian, now it works properly.  :D

Here are the result :
Waiting for debugger to connect...
OS Name : Linux
OS Architecture : aarch64
OS Version : 4.14.0
JVM Name : Java HotSpot(TM) 64-Bit Server VM
Java Lib path : /usr/local/lib::/usr/java/packages/lib/aarch64:/lib:/usr/lib
ARM 64bit
Copied libbass.so to /tempjars
Copied libbass.so to /usr/local/lib
Copied libbass.so to /lib
Copied libbass.so to /usr/lib
Copied libbass_fx.so to /tempjars
Copied libbass_fx.so to /usr/local/lib
Copied libbass_fx.so to /lib
Copied libbass_fx.so to /usr/lib
Copied libbass_aac.so to /tempjars
Copied libbass_aac.so to /usr/local/lib
Copied libbass_aac.so to /lib
Copied libbass_aac.so to /usr/lib
Copied libbasshls.so to /tempjars
Copied libbasshls.so to /usr/local/lib
Copied libbasshls.so to /lib
Copied libbasshls.so to /usr/lib
Copied libbassenc.so to /tempjars
Copied libbassenc.so to /usr/local/lib
Copied libbassenc.so to /lib
Copied libbassenc.so to /usr/lib
Copied libbassmix.so to /tempjars
Copied libbassmix.so to /usr/local/lib
Copied libbassmix.so to /lib
Copied libbassmix.so to /usr/lib
Copied libbasscd.so to /tempjars
Copied libbasscd.so to /usr/local/lib
Copied libbasscd.so to /lib
Copied libbasscd.so to /usr/lib
Program started.
BASS version=2040d08
BASS_FX version=2040b02
BASSENC version=2040d06
BASSMIX version=2040902
bass_aac handle = 1
bass_aac version : 2040507
Loading plugin AAC success
basshls handle = 2
basshls version : 2040101
Loading plugin HLS success
DeviceID used = 1
DeviceName = Default
Device Driver = default
Device enabled
Device initialized
Playing from http://streaming.sportku.com:8000/jak


An update !
While AAC for AARCH64 can work, internet radio streaming works, but the audio output is bad, like "colorless" audio.
Same code, ran on PC (windows x64) and Raspberry Pi (ARM hardfp), audio result is good, full of "color".


SteveS

  • Posts: 18
Re: BASS for ARM Linux
« Reply #384 on: 11 Apr '18 - 13:37 »
This may not be a purely ARM Linux issue, but here goes.

I have two raspberry pi systems. One of them (A) has a microphone, the other (B) has speakers, and a camera.
They are in separate parts of the house, one upstairs, one downstairs.

Essentially, I want to relay audio captured from the mic on (A) to play back through the speakers on (B).
This is so I can talk to my dogs when they get restless, among other things :)  "Sit!" and so on.
Some latency is to be expected, obviously.

I can use BASS to capture an audio stream. However, I cannot then send it to the other machine to play back, since (A) is not acting as a stream source.
I can play back a stream source (such as a "live" radio stream from the BBC) on (B).

Does anyone have any ideas as to how I could push the audio out as a stream source from (A) that (B) can then play?
Essentially, I want the "plumbing" so that I can provide the data to some sort of streaming broadcast software that (B) can listen to.

Regards,
/Steve

Ian @ un4seen

  • Administrator
  • Posts: 26102
Re: BASS for ARM Linux
« Reply #385 on: 11 Apr '18 - 14:49 »
You could use the BASSenc add-on's server feature for that. You would start an encoder (eg. OGGENC) on a recording channel via BASS_Encode_Start, and then set a server on it via BASS_Encode_ServerInit. The other RPi can then use BASS_StreamCreateURL to connect to the server. A demonstration can be found in the SERVER example that's included in the Linux BASSenc package.

SteveS

  • Posts: 18
Re: BASS for ARM Linux
« Reply #386 on: 12 Apr '18 - 09:09 »
Hi Ian

That sounds great. Are the plugins (for OGG, OPUS, FLAC) available for ARM ?

/Steve

Ian @ un4seen

  • Administrator
  • Posts: 26102
Re: BASS for ARM Linux
« Reply #387 on: 12 Apr '18 - 17:29 »
ARM Linux versions of the BASSenc_FLAC/OGG/OPUS add-ons have now been added to the 1st post (in a separate package from BASS and the other add-ons).

Ian @ un4seen

  • Administrator
  • Posts: 26102
Re: BASS for ARM Linux
« Reply #388 on: 17 Jul '18 - 14:26 »
The ARM Linux version of the new BASSenc, BASSenc_FLAC and BASSenc_MP3 releases are up now in the 1st post.

Ian @ un4seen

  • Administrator
  • Posts: 26102
Re: BASS for ARM Linux
« Reply #389 on: 30 Oct '18 - 17:14 »
The ARM Linux version of the BASSOPUS 2.4.1.12 release is up now in the 1st post.

Ian @ un4seen

  • Administrator
  • Posts: 26102
Re: BASS for ARM Linux
« Reply #390 on: 6 Nov '18 - 17:25 »
The ARM Linux versions of the new BASSenc_MP3, BASSenc_OPUS and BASSenc_FLAC releases are now up in the 1st post.

Ian @ un4seen

  • Administrator
  • Posts: 26102
Re: BASS for ARM Linux
« Reply #391 on: 9 Nov '18 - 17:40 »
The ARM Linux version of the BASSMIDI 2.4.12 release is up now in the 1st post.

Ian @ un4seen

  • Administrator
  • Posts: 26102
Re: BASS for ARM Linux
« Reply #392 on: 17 Jan '19 - 16:38 »
The ARM Linux version of the BASS 2.4.14 release is up now in the 1st post.

Ian @ un4seen

  • Administrator
  • Posts: 26102
Re: BASS for ARM Linux
« Reply #393 on: 13 Mar '19 - 14:06 »
The ARM Linux version of the BASSHLS 2.4.2 release is up now in the 1st post.

trancefreak

  • Guest
Hi,

I use Bass.Net with mono on a Raspberry PI. Playing a file works great, but I can't change the volume of a channel with
Bass.BASS_ChannelSetAttribute(this.stream, BassNet.BASSAttribute.BASS_ATTRIB_VOL, 0.2);

The file which is played is a wav file and I create the stream as follows:
Bass.BASS_StreamCreateFile(path + $"/Resources/Audio/{filename}", 0, 0, BassNet.BASSFlag.BASS_DEFAULT);

And then I play the channel with:
Bass.BASS_ChannelPlay(stream, false);

The volume of the channel is always the same. A volume setting of 0.0 - 1.0 does not change the volume. It is always 100%.

Is there a workaround or fix for that? I need to be able to set the volume of each channel separately.

Ian @ un4seen

  • Administrator
  • Posts: 26102
Re: BASS for ARM Linux
« Reply #395 on: 15 Apr '19 - 13:03 »
That's strange. What is the return value from the BASS_ChannelSetAttribute call? If it's false, also check the error code with BASS_ErrorGetCode.

trancefreak

  • Guest
Re: BASS for ARM Linux
« Reply #396 on: 17 Apr '19 - 17:49 »
Hi,

Sorry for the delay, didn't see your reply. I don't know why it didn't work but now it works. Only change I did was rebooting the Raspberry. So for now no issue is left, everything works as expected.

Thanks for chiming in! :-)

Regards,
Christian

Ian @ un4seen

  • Administrator
  • Posts: 26102
Re: BASS for ARM Linux
« Reply #397 on: 20 Jun '19 - 14:20 »
The ARM Linux versions of the BASSCD 2.4.7 and BASS_AC3 2.4.0.7 releases are up now in the 1st post.

Ian @ un4seen

  • Administrator
  • Posts: 26102
Re: BASS for ARM Linux
« Reply #398 on: 9 Aug '19 - 16:12 »
The ARM Linux version of the new BASSWEBM add-on is up now in the 1st post.

Ian @ un4seen

  • Administrator
  • Posts: 26102
Re: BASS for ARM Linux
« Reply #399 on: 18 Dec '19 - 13:46 »
The ARM Linux version of the BASS 2.4.15 release is up now in the 1st post.