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

Ian @ un4seen

  • Administrator
  • Posts: 24331
Re: BASS for ARM Linux
« Reply #450 on: 25 Aug '21 - 15:17 »
Apparently libbassenc_mp3 require the same treatment as libbassenc trial.

Yes, the latest libbassenc_mp3.so (and the other BASSenc add-ons) links with libbass.so too. It looks like the BASSenc update fixed the problem you were having with that, so that and similar updates for the other BASSenc add-ons have now been placed in the BASSenc package in the 1st post. Please redownload that and see if you still have any problem with them.

rdkartono

  • Posts: 53
Re: BASS for ARM Linux
« Reply #451 on: 27 Aug '21 - 06:23 »
Update 27/08/2021 : so far bassenc works.
just curious about how Raspbian Buster + onboard audio + BASS can't work properly, but Raspbian Buster + usb sound + BASS can work.

or should I post in new question ?

Ian @ un4seen

  • Administrator
  • Posts: 24331
Re: BASS for ARM Linux
« Reply #452 on: 27 Aug '21 - 17:48 »
I saw you started another thread for the Raspbian Buster sound issue, so I've replied there:

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

Ian @ un4seen

  • Administrator
  • Posts: 24331
Re: BASS for ARM Linux
« Reply #453 on: 23 Sep '21 - 15:15 »
The ARM Linux version of the BASSmix 2.4.11 release is up in the 1st post.

elan

  • Posts: 65
Re: BASS for ARM Linux
« Reply #454 on: 10 Nov '21 - 22:33 »
Unless I'm just missing it, there doesn't appear to be a aarch64 versions of libbass_ape/mpc, is that intentional?

Ian @ un4seen

  • Administrator
  • Posts: 24331
Re: BASS for ARM Linux
« Reply #455 on: 11 Nov '21 - 13:31 »
Those packages (and BASS_SPX/TTA) are/were indeed missing aarch64 support (aarch64 wasn't supported yet at the time of their last updates). aarch64 support has been added to them now, so please re-download to get that.

SteveS

  • Posts: 8
Re: BASS for ARM Linux
« Reply #456 on: 24 Jan '22 - 15:50 »
Hopefully, this is something simple I am doing wrong...

My setup is a raspberry pi running Bullseye, with the latest libraries from here.
My playback hardware is a Pimoroni PirateAudio DAC with a 3W amp and push-fit connections for speakers.
My config.txt disables on-board audio (dtparam=audio=off) and loads the relevant driver for the DAC (dtoverlay=hifiberry-dac) and turns on the amp. (gpio=25=op,dh).

aplay -l shows me the single card [sndrpihifiberry] as expected.
I can play back MP3 files by using BASS_StreamCreateFile(....), BASS_ChannelPlay(...) as expected, and if I set a sync point, it works as well. I get playback, nice and clear, no issues.

HOWEVER, as with many low-cost DAC solutions, alsamixer shows that there is *no* volume control for the output device.
So, how can I vary the playback volume?

Obviously BASS_SetVolume() won't do anything.
Should I be looking at BASS_ChannelSetAttribute for this?

The documentation says 0.0 means silent, 1.0 means normal, and above 1.0 means amplification.
What about if I use, say 0.5f? Would that give me 50% volume?
I have experimented a little with this, but unless I use 1.0, it seems like it's muted the sound.

A little clarification would go a long way, here. I am, as ever, willing to hear an explanation that in fact, not only am I barking up thr wrong tree, but that the forest is also wrong!

SteveS

  • Posts: 8
Re: BASS for ARM Linux
« Reply #457 on: 24 Jan '22 - 16:17 »
Hopefully, this is something simple I am doing wrong...



Yes, it was. Having re-read the code, and tried a different example program, I discovered that the code determining what the volume should be was returning 0.0 around 95% of the time. Once I'd fixed that, all was as it should be. Apologies for the noise.


Ian @ un4seen

  • Administrator
  • Posts: 24331
Re: BASS for ARM Linux
« Reply #458 on: 25 Jan '22 - 14:45 »
Just to confirm, you could indeed use BASS_ChannelSetAttribute (BASS_ATTRIB_VOL) instead of BASS_SetVolume. Another possibility is the BASS_CONFIG_GVOL_STREAM option (with BASS_SetConfig), which apples to all streams rather than a single one, so more similar to the effect of BASS_SetVolume.

Ian @ un4seen

  • Administrator
  • Posts: 24331
Re: BASS for ARM Linux
« Reply #459 on: 26 Jan '22 - 18:14 »
The ARM Linux version of the BASSenc 2.4.16 release is up in the 1st post.

Ian @ un4seen

  • Administrator
  • Posts: 24331
Re: BASS for ARM Linux
« Reply #460 on: 2 Feb '22 - 16:25 »
The ARM Linux versions of the BASSenc_MP3 2.4.1.4, BASSCD 2.4.7.1, and BASSmix 2.4.11.2 updates are up in the 1st post.
« Last Edit: 3 Feb '22 - 18:04 by Ian @ un4seen »

Ian @ un4seen

  • Administrator
  • Posts: 24331
Re: BASS for ARM Linux
« Reply #461 on: 4 Mar '22 - 13:57 »
The ARM Linux version of the new BASSAPE add-on (replacing BASS_APE) is up in the 1st post.

Ian @ un4seen

  • Administrator
  • Posts: 24331
Re: BASS for ARM Linux
« Reply #462 on: 10 May '22 - 17:41 »
The ARM Linux version of the BASSMIDI 2.4.14 release is up in the 1st post.