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

drugoimir

  • Posts: 19
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: 21133
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: 19
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: 21133
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: 19
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: 19
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: 21133
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: 19
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: 19
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: 6
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: 21133
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: 6
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: 21133
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: 21133
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.