The officially official Devuan Forum!

You are not logged in.

#1 2025-05-26 23:17:19

igorzwx
Member
Registered: 2024-05-06
Posts: 350  

[HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

How to compile Audacious with meson and samurai

Portable Meson is available here:
_https://github.com/mesonbuild/meson
arch-meson is available here:
_https://aur.archlinux.org/cgit/aur.git/snapshot/meson-git.tar.gz
samurai is easy to compile
_https://dev1galaxy.org/viewtopic.php?id=7203

Install Build_Deps, compilers and utilities:

sudo apt-get install build-essentials apt-file fakeroot git libglib2.0-dev libgtk-3-dev libjson-glib-dev libopusfile-dev

sudo apt install libadplug-dev adplug-utils libjson-glib-dev libopusfile-dev libasound2-dev libavcodec-dev libavformat-dev libavutil-dev libbinio-dev libbs2b-dev libcairo2-dev libcddb2-dev libcdio-cdda-dev libcue-dev libcurl4-gnutls-dev libdbus-glib-1-dev libfaad-dev libflac-dev libfluidsynth-dev libgtk2.0-dev libjack-dev liblircclient-dev libmms-dev libmodplug-dev libmp3lame-dev libmpg123-dev libneon27-gnutls-dev libnotify-dev libogg-dev libopenmpt-dev libsdl2-dev libsidplayfp-dev libsndfile1-dev libsndio-dev libtagc0-dev libvorbis-dev libwavpack-dev libxcomposite-dev libxml2-dev

Download the source code

mkdir Build1
cd Build1
git clone https://github.com/audacious-media-player/audacious.git --depth 1 

Configure the project, for example:

$ cat audacious/meson_options.txt
option('dbus', type: 'boolean', value: true,
       description: 'Whether D-Bus support is enabled')
option('qt', type: 'boolean', value: false,
       description: 'Whether Qt support is enabled')
option('qt5', type: 'boolean', value: false,
       description: 'Whether Qt 5 support is enabled')
option('gtk', type: 'boolean', value: true,
       description: 'Whether GTK support is enabled')
option('gtk2', type: 'boolean', value: false,
       description: 'Whether GTK 2 support is enabled')
option('libarchive', type: 'boolean', value: false,
       description: 'Whether libarchive support is enabled')
option('buildstamp', type: 'string', value: 'Devuan 5 Daedalus',
       description: 'Allows to set a custom build stamp')
option('valgrind', type: 'boolean', value: false,
       description: 'Whether Valgrind analysis support is enabled') 

1. Setup the build system

arch-meson audacious build 

2. Compile
 

samu -C build 

3. Install to debdir

DESTDIR=../debdir samu -C build install 
install -vDm644 audacious/contrib/audacious.appdata.xml -t "debdir/usr/share/metainfo"
install -vDm644 audacious/COPYING -t "debdir/usr/share/licenses/audacious" 

Make a template

mkdir debian
echo -e "Source: audacious\nPackage: audacious\nDepends: \${shlibs:Depends}" >> debian/control 
$ cat debian/control
Source: audacious
Package: audacious
Depends: ${shlibs:Depends} 

Run "dpkg-shlibdeps" to calculate dependencies

dpkg-shlibdeps -v -xaudacious -ldebdir/usr/lib --ignore-missing-info -e $(find debdir/usr -type f 2>/dev/null) 
$ cat debian/substvars
shlibs:Depends=libc6 (>= 2.35), libcairo2 (>= 1.2.4), libgcc-s1 (>= 3.3.1), libgdk-pixbuf-2.0-0 (>= 2.25.2), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.21.5), libpango-1.0-0 (>= 1.14.0), libstdc++6 (>= 12) 
install -vm0755 -d debdir/DEBIAN 

Create DEBIAN/control with a text editor, for example:

$ cat debdir/DEBIAN/control
Package: audacious
Version: 4.5-devel-1
Architecture: amd64
Maintainer: Devuan
Installed-Size: 2451
Depends: libc6 (>= 2.35), libcairo2 (>= 1.2.4), libgcc-s1 (>= 3.3.1), libgdk-pixbuf-2.0-0 (>= 2.25.2), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.21.5), libpango-1.0-0 (>= 1.14.0), libstdc++6 (>= 12)
Recommends: unzip
Suggests: audacious-plugins
Conflicts: audacious-dev, libaudcore5t64, libaudgui6, libaudqt3, libaudtag3t64
Provides: audacious-dev, libaudcore5t64, libaudgui6, libaudqt3, libaudtag3t64
Section: sound
Priority: optional
Homepage: https://www.audacious-media-player.org/
Description: small and fast audio player which supports lots of formats
  Audacious is a fork of beep-media-player which supports Winamp skins
  and many codecs.
  .
  In the default install, the following codecs are supported:
  .
   * MP3
   * Ogg Vorbis / Theora
   * AAC and AAC+
   * FLAC
   * ALAC
   * Windows Media (WMA)
   * WAVE
  .
  Additionally, Audacious is extendable through plugins, and contains
  other useful features like LIRC support. Support for many more codecs
  can also be added through plugins.
Tag: field::arts, implemented-in::c, interface::graphical, interface::x11,
  role::program, scope::application, sound::player, uitoolkit::gtk,
  use::learning, use::playing, works-with-format::mp3,
  works-with-format::oggvorbis, works-with::audio, x11::application 

Generate DEBIAN/md5sums

cd debdir
find . -type f -not -path "./DEBIAN/*" -exec md5sum {} + | sort -k 2 | sed 's/\.\/\(.*\)/\1/' > DEBIAN/md5sums
cd ..
chmod 0644 -- debdir/DEBIAN/md5sums 

Make Debian package

$ fakeroot -- dpkg-deb -b debdir audacious_4.5-devel-1_amd64.deb
dpkg-deb: building package 'audacious' in 'audacious_4.5-devel-1_amd64.deb'. 

Install

sudo dpkg -i audacious_4.5-devel-1_amd64.deb 
How to compile Audacious-plugins

sidplay-rom-paths.patch is available here:
_https://gitlab.archlinux.org/archlinux/packaging/packages/audacious-plugins/-/raw/main/sidplay-rom-paths.patch

Download the source code and the patch

mkdir Build1p
cd Build1p
git clone https://github.com/audacious-media-player/audacious-plugins.git --depth 1 
$ ls -1
audacious-plugins
sidplay-rom-paths.patch 

Apply the patch:

cd audacious-plugins
patch -Np1 -i ../sidplay-rom-paths.patch
cd .. 

Edit "meson_options.txt" with a text editor

nano audacious-plugins/meson_options.txt 

Disable QT6, enable OSS4 (if it is installed), disable pulse and unwanted resamplers. For example:

# GUI toolkits
option('qt', type: 'boolean', value: false,

# output plugins
option('oss4', type: 'boolean', value: true,
       description: 'Whether OSS4 support is enabled')
       
option('pipewire', type: 'boolean', value: false,
option('pulse', type: 'boolean', value: false,
option('qtaudio', type: 'boolean', value: false,

option('resample', type: 'boolean', value: false,
option('soxr', type: 'boolean', value: false,
option('speedpitch', type: 'boolean', value: false, 

1. Setup the build system

arch-meson audacious-plugins build 

2. Compile

samu -C build 

3. Install to "debdir"

DESTDIR=../debdir samu -C build install 
install -vDm644 audacious-plugins/COPYING -t "debdir/usr/share/licenses/audacious-plugins" 

 

$ ls -1
audacious-plugins
build
debdir
sidplay-rom-paths.patch 

Make a template

mkdir debian
echo -e "Source: audacious-plugins\nPackage: audacious-plugins\nDepends: \${shlibs:Depends}" >> debian/control 
$ cat debian/control
Source: audacious-plugins
Package: audacious-plugins
Depends: ${shlibs:Depends} 

Run "dpkg-shlibdeps" to calculate dependencies

dpkg-shlibdeps -v -xaudacious-plugins -ldebdir/usr/lib --ignore-missing-info -e $(find debdir/usr -type f 2>/dev/null) 
$ cat debian/substvars
shlibs:Depends=libadplug-2.3.3-0 (>= 2.3.3+dfsg), libasound2 (>= 1.0.16), libavcodec59 (>= 7:5.0), libavformat59 (>= 7:5.0), libavutil57 (>= 7:5.0), libbinio1v5 (>= 1.4+dfsg1), libbs2b0 (>= 3.1.0+dfsg), libc6 (>= 2.35), libcairo2 (>= 1.10.0), libcddb2 (>= 1.3.2), libcdio-cdda2 (>= 10.2+2.0.0), libcdio19 (>= 2.1.0), libcue2, libcurl3-gnutls (>= 7.16.2), libfaad2 (>= 2.7), libflac12 (>= 1.3.0), libfluidsynth3 (>= 2.0.5), libgcc-s1 (>= 3.3.1), libgdk-pixbuf-2.0-0 (>= 2.22.0), libgl1, libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.21.5), libjack-jackd2-0 (>= 1.9.10+20150825) | libjack-0.125, libjson-glib-1.0-0 (>= 1.5.2), liblirc-client0, libmms0 (>= 0.4), libmodplug1 (>= 1:0.8.8.5), libmp3lame0 (>= 3.100), libmpg123-0 (>= 1.28.0), libneon27-gnutls, libnotify4 (>= 0.7.0), libogg0 (>= 1.1.0), libopenmpt0 (>= 0.3.0), libopusfile0 (>= 0.5), libpango-1.0-0 (>= 1.22.0), libpangocairo-1.0-0 (>= 1.14.0), libsdl2-2.0-0 (>= 2.0.12), libsidplayfp6 (>= 2.4.2), libsndfile1 (>= 1.0.20), libsndio7.0 (>= 1.9.0), libstdc++6 (>= 12), libvorbis0a (>= 1.2.0), libvorbisenc2 (>= 1.1.2), libvorbisfile3 (>= 1.1.2), libwavpack1 (>= 4.40.0), libx11-6, libxcomposite1 (>= 1:0.4.5), libxml2 (>= 2.7.4), libxrender1, zlib1g (>= 1:1.1.4) 
install -m0755 -d debdir/DEBIAN

Create DEBIAN/control, for example:

$ cat debdir/DEBIAN/control
Package: audacious-plugins
Version: 4.5-devel-1
Architecture: amd64
Maintainer: Devuan
Installed-Size: 7313
Depends: libadplug-2.3.3-0 (>= 2.3.3+dfsg), libasound2 (>= 1.0.16), libavcodec59 (>= 7:5.0), libavformat59 (>= 7:5.0), libavutil57 (>= 7:5.0), libbinio1v5 (>= 1.4+dfsg1), libbs2b0 (>= 3.1.0+dfsg), libc6 (>= 2.35), libcairo2 (>= 1.10.0), libcddb2 (>= 1.3.2), libcdio-cdda2 (>= 10.2+2.0.0), libcdio19 (>= 2.1.0), libcue2, libcurl3-gnutls (>= 7.16.2), libfaad2 (>= 2.7), libflac12 (>= 1.3.0), libfluidsynth3 (>= 2.0.5), libgcc-s1 (>= 3.3.1), libgdk-pixbuf-2.0-0 (>= 2.22.0), libgl1, libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.21.5), libjack-jackd2-0 (>= 1.9.10+20150825) | libjack-0.125, libjson-glib-1.0-0 (>= 1.5.2), liblirc-client0, libmms0 (>= 0.4), libmodplug1 (>= 1:0.8.8.5), libmp3lame0 (>= 3.100), libmpg123-0 (>= 1.28.0), libneon27-gnutls, libnotify4 (>= 0.7.0), libogg0 (>= 1.1.0), libopenmpt0 (>= 0.3.0), libopusfile0 (>= 0.5), libpango-1.0-0 (>= 1.22.0), libpangocairo-1.0-0 (>= 1.14.0), libsdl2-2.0-0 (>= 2.0.12), libsidplayfp6 (>= 2.4.2), libsndfile1 (>= 1.0.20), libsndio7.0 (>= 1.9.0), libstdc++6 (>= 12), libvorbis0a (>= 1.2.0), libvorbisenc2 (>= 1.1.2), libvorbisfile3 (>= 1.1.2), libwavpack1 (>= 4.40.0), libx11-6, libxcomposite1 (>= 1:0.4.5), libxml2 (>= 2.7.4), libxrender1, zlib1g (>= 1:1.1.4)
Recommends: audacious (>= 4.5-devel)
Conflicts: audacious-plugins-data
Provides: audacious-plugins-data
Section: sound
Priority: optional
Homepage: https://audacious-media-player.org/
Description: Base plugins for audacious
 Audacious is a fork of beep-media-player which supports winamp skins
 and many codecs.
 .
 In the default install, the following codecs are supported:
 .
  * MP3
  * Ogg Vorbis
  * AAC and AAC+
  * FLAC
  * Windows Media (WMA)
  * Many module formats and much more!
 .
 Additionally, Audacious is extendable through plugins, and contains
 other useful features like LIRC support.
 .
 This package contains the plugins for Audacious.
  * Audio CD reading
  * MPEG support (mp3)
  * Ogg Vorbis support
  * Windows Media support (WMA)
  * AAC support
  * FLAC support
  * ALAC support
  * WAVE support
  * ALSA output
  * OSS4 output
  * Disk writer output
  * And many more! 

Generate DEBIAN/md5sums

cd debdir
find . -type f -not -path "./DEBIAN/*" -exec md5sum {} + | sort -k 2 | sed 's/\.\/\(.*\)/\1/' > DEBIAN/md5sums 

Make a Debian package

$ fakeroot -- dpkg-deb -b debdir audacious-plugins_4.5-devel-1_amd64.deb
dpkg-deb: building package 'audacious-plugins' in 'audacious-plugins_4.5-devel-1_amd64.deb'. 

Install

sudo dpkg -i audacious-plugins_4.5-devel-1_amd64.deb 
$ audacious -v
Audacious 4.5-devel (Devuan 5 Daedalus) 

DEBUG

$ audacious -VV
...
INFO ../audacious/src/libaudcore/output.cc:270 [setup_output]: 
Setup output, format 11, 2 channels, 192000 Hz.
DEBUG ../audacious-plugins/src/oss4/oss.cc:219 [open_audio]: 
Opening audio.
DEBUG ../audacious-plugins/src/oss4/oss.cc:144 [open_device]: 
Enabled exclusive mode.
DEBUG ../audacious-plugins/src/oss4/oss.cc:61 [set_format]: 
Audio format: AFMT_S32_LE, sample rate: 192000Hz, number of channels: 2.
DEBUG ../audacious-plugins/src/oss4/oss.cc:68 [set_format]: 
Disabled format conversions made by the OSS software. 

Last edited by igorzwx (2025-05-28 09:24:56)

Offline

#2 2025-05-28 09:26:18

igorzwx
Member
Registered: 2024-05-06
Posts: 350  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

How to compile audacious with muon+samu

Portable static Muon (with embedded samu) is available here:
_https://muon.build/
_https://muon.build/releases/v0.5.0/muon-v0.5.0-amd64-linux

$ file muon-v0.5.0-amd64-linux
muon-v0.5.0-amd64-linux: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, BuildID[sha1]=1a2a3022413581300d66c86f02329ed4aa782022, stripped

The procedure of compiling is very similar to that of meson. The main difference is that muon may refuse to search for headers, unless PKG_CONFIG_PATH is set. Although it might be very inconvenient for the slaves of pulseaudio (because of progressive dementia caused by pulseaudio), it provides the freedom to decide which headers should be used.

Dementia is progressive. This means signs and symptoms may be relatively mild at first but they get worse with time. Dementia affects everyone differently, however it can be helpful to think of dementia progressing in 'three stages'.
_https://www.alzheimers.org.uk/about-dementia/symptoms-and-diagnosis/how-dementia-progresses/progression-stages-dementia

⟡ AI Overview
Engaging in intellectually stimulating activities may offer a degree of protection against dementia, particularly for individuals who may have otherwise lower levels of education or occupation. While more research is needed, evidence suggests that activities like reading, playing board games, musical instrument playing, journaling, and crossword puzzles are associated with a reduced risk of developing dementia.

There is a belief that compiling with muon may protect pulseaudio users against Alzheimer's disease (AD). That is why, perhaps, muon is available even in Debian repositories (a very old version, of course).

Because of progressive dementia, it might be necessary to explain how to set PKG_CONFIG_PATH. Otherwise it might be a very difficult problem to solve.

PKG_CONFIG_PATH can be set with a secret command, for example:

export PKG_CONFIG_PATH="$HOME/.local/lib/pkgconfig:$(pkgconf --variable pc_path pkgconf)" 
$ cat $HOME/.local/lib/pkgconfig/GL.pc
prefix=/usr
includedir=${prefix}/include
libdir=${prefix}/lib/x86_64-linux-gnu

Name: GL
Description: Legacy OpenGL and GLX library and headers.
Version: 1.2
Libs: -L${libdir} -lGL
Cflags: -I${includedir}/GL 

GL.pc is needed for Audacious-plugins (OpenGL Spectrum Analyzer).

The "meson_options.txt" of Audacious and Audacious-plugins can be configured in the same way as it was done for "meson+samu" (see above). Audacious-plugins should be patched, of course (as it was described above). In any case, Audacious should be compiled and installed BEFORE the compilation Audacious-plugins. And, of course, the Debian packages can be made in exactly the same way.

Audacious:

1. Setup the build system

cd audacious
muon setup -Dprefix=/usr -Ddefault_library=shared -Dbuildtype=release build 

2. Compile

muon samu -C build 

3. Install to a folder "debdir"

cd build
DESTDIR="../../debdir" muon install
cd ../../
install -vDm644 audacious/contrib/audacious.appdata.xml -t "debdir/usr/share/metainfo"
install -vDm644 audacious/COPYING -t "debdir/usr/share/licenses/audacious" 

Audacious-plugins:

1. Setup the build system

cd audacious-plugins
muon setup -Dprefix=/usr -Ddefault_library=shared -Dbuildtype=release build 

2. Compile

muon samu -C build 

3. Install to a folder "debdir"

cd build
DESTDIR="../../debdir" muon install
cd ../../
install -vDm644 audacious-plugins/COPYING -t "debdir/usr/share/licenses/audacious-plugins" 

Last edited by igorzwx (2025-05-28 10:34:56)

Offline

#3 Yesterday 20:55:39

kapqa
Member
Registered: 2019-01-02
Posts: 495  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

Hello ,

have completed part1 (How to compile audacious with muon+samu) up until "Audacious Plugins";

no not fully complete therfore getting error:

ERROR ../audacious/src/libaudcore/plugin-init.cc:155 [start_required]: No output plugin found.
(Did you forget to install audacious-plugins?)
Aborted

Could you please include support for .aiff since have backup of CD library mostly in this format;?

Thank you very much.

Offline

#4 Today 00:11:37

igorzwx
Member
Registered: 2024-05-06
Posts: 350  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

First you compile Audacious and install install it.
When Audacious is installed, you can compile Audacious-plugins.
Audacious is a build dependency for  Audacious-plugins.
Audacious-plugins are dependency for Audacious (it does not work without plugins).
When both installed everything should work.

sox input.aiff output.wav
flac -o output.flac input.wav
for f in *.aiff; do sox "$f" "${f%.aiff}.wav"; done
for f in *.wav; do flac "$f" "${f%.wav}.flac"; done

Last edited by igorzwx (Today 00:51:19)

Offline

#5 Today 10:12:11

kapqa
Member
Registered: 2019-01-02
Posts: 495  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

thank you,

there is error with devuan 6.0?
(have upgraded just yesterday=)

sudo dpkg -i audacious-plugins_4.5-devel-1_amd64.deb
Selecting previously unselected package audacious-plugins.
(Reading database ... 279591 files and directories currently installed.)
Preparing to unpack audacious-plugins_4.5-devel-1_amd64.deb ...
Unpacking audacious-plugins (4.5-devel-1) ...
dpkg: dependency problems prevent configuration of audacious-plugins:
audacious-plugins depends on libavformat59 (>= 7:5.0); however:
  Package libavformat59 is not installed.
audacious-plugins depends on libflac12 (>= 1.3.0); however:
  Package libflac12 is not installed.

dpkg: error processing package audacious-plugins (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
audacious-plugins

also, have not disabled "qt6" since it included in devuan excalibure?

Last edited by kapqa (Today 10:14:52)

Offline

#6 Today 12:45:35

igorzwx
Member
Registered: 2024-05-06
Posts: 350  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

It has nothing to do with qt6.
To install dependencies run

sudo apt install -f

This "magic command" should fix all problems.

dpkg does not install dependencies from repositories, This can be done with apt or apt-get

You may notice that I got the same dependencies (see above):

libavformat59 (>= 7:5.0), ..., libflac12 (>= 1.3.0) 

The are available in the official repositories and can be easily installed.

NOTE: There is a conspiracy theory about a secret Devuan wiki, which explains how to install Debian packages with secret esoteric commands apt and apt-get

Last edited by igorzwx (Today 13:31:34)

Offline

#7 Today 13:24:40

kapqa
Member
Registered: 2019-01-02
Posts: 495  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

for devuan 6.0 howver?

 sudo apt install libavformat
libavformat61        libavformat-dev      libavformat-extra    libavformat-extra61  
sudo apt install libflac
libflac++11        libflac14          libflac++-dev      libflac-dev        libflac-doc        libflac-ocaml      libflac-ocaml-dev  

thanks

Offline

#8 Today 13:36:51

igorzwx
Member
Registered: 2024-05-06
Posts: 350  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

The package "audacious-plugins" was compiled on Devuan 5 or Devuan 6 ?

Or you simply wrote wrong dependencies into DEBIAN/control to minimize work?
To minimize work, you should remove almost all dependencies from DEBIAN/control.

Last edited by igorzwx (Today 13:43:17)

Offline

#9 Today 13:42:57

kapqa
Member
Registered: 2019-01-02
Posts: 495  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

both for devuan 6.0;

just added daedalus 5 to the sources.list, now it functions (it installed 3 packages).

Have however the same issue as with the pre-compiled version:

when i try to add "open folder" from a NFS share that is on the NAS, it would not find the ".aif" files?

maybe this is a limitation of the NFS share, since am just learning how to do it?

audacious
ERROR ../audacious-plugins/src/alsa/config.cc:238 [guess_element]: No suitable mixer element found.
Input:  44100 Hz, 2 ch, 's32_le' (0xa): dummy = 0, period = 1764
Output: 192000 Hz, 2 ch, 's32_le' (0xa): dummy = 0, period = 7680
Rates:  44100 --> 192000 (J: 0.00%, T: DCT, W: Vorbis)
Ok.

it looks like here

https://ibb.co/cK9vCpLF
https://ibb.co/fz9xbjLn
https://ibb.co/whzdP5Qz

Last edited by kapqa (Today 13:50:59)

Offline

#10 Today 13:46:54

igorzwx
Member
Registered: 2024-05-06
Posts: 350  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

How you got my dependencies for Devuan 5 into your package for Devuan 6.
The were not calculated, they were copied from my package.

Do you have pulseaudio installed?

Last edited by igorzwx (Today 14:13:23)

Offline

#11 Today 13:48:44

kapqa
Member
Registered: 2019-01-02
Posts: 495  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

just followed your routine anyway, since this is quite complciated procedure, above my linux-skills.

Offline

#12 Today 13:59:38

igorzwx
Member
Registered: 2024-05-06
Posts: 350  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

If a package was compiled on your system, it cannot have unsatisfied dependencies.

Do you have pulseaudio installed?

"No suitable mixer element found" is a well known pulseaudio problem (permissions)

For example:

The issue was permission-based. I logged into x as root briefly and pavucontrol opened with no problem, as did Audacious.
_https://www.linuxquestions.org/questions/linux-software-2/alsa-error-no-suitable-mixer-element-found-and-can%27t-connect-to-pulseaudio-4175623535/

Last edited by igorzwx (Today 14:05:41)

Offline

#13 Today 14:05:13

kapqa
Member
Registered: 2019-01-02
Posts: 495  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

no, no pulse, but thanks for reminding, the pipewire has krept back in; was wondering if the sound suddenly became "tinnier" again;

now it is removed; however, the .aif issue seems a limitation of the program itself or how it handles file/folder structures?

now, no pulseaudio, no pipewire. but folder containing files with .aif structure when added give "no files found".

Last edited by kapqa (Today 14:05:48)

Offline

#14 Today 14:08:52

igorzwx
Member
Registered: 2024-05-06
Posts: 350  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

No files found from Audacious? Can you get these files in file browser?

for f in *.aiff; do sox "$f" "${f%.aiff}.wav"; done
for f in *.wav; do flac "$f" "${f%.wav}.flac"; done

Last edited by igorzwx (Today 14:10:03)

Offline

#15 Today 14:15:41

kapqa
Member
Registered: 2019-01-02
Posts: 495  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

alright, gonna check whats going on, maybe gonna use another program than itunes to make the CD Backup in the future;
(i like .aiff since it is like WAV and allows for metadata)

big thanks, bye.

for f in *.aif; do sox "$f" "${f%.aif}.wav"; done
sox FAIL formats: can't open output file `1-01 The Four Seasons, Rv269 (Pt. 1) Spring.wav': Read-only file system
sox FAIL formats: can't open output file `1-02 The Four Seasons, Rv269 (Pt. 2) Spring.wav': Read-only file system
sox FAIL formats: can't open output file `1-03 The Four Seasons, Rv269 (Pt. 3) Spring.wav': Read-only file system
sox FAIL formats: can't open output file `1-04 The Four Seasons, Rv315 (Pt. 1) Summer.wav': Read-only file system
sox FAIL formats: can't open output file `1-05 The Four Seasons, Rv315 (Pt. 2) Summer.wav': Read-only file system
sox FAIL formats: can't open output file `1-06 The Four Seasons, Rv315 (Pt. 3) Summer.wav': Read-only file system
sox FAIL formats: can't open output file `1-07 The Four Seasons, Rv293 (Pt. 1) Autumn.wav': Read-only file system
sox FAIL formats: can't open output file `1-08 The Four Seasons, Rv293 (Pt. 2) Autumn.wav': Read-only file system
sox FAIL formats: can't open output file `1-09 The Four Seasons, Rv293 (Pt. 3) Autumn.wav': Read-only file system
sox FAIL formats: can't open output file `1-10 The Four Seasons, Rv297 (Pt. 1) Winter.wav': Read-only file system
sox FAIL formats: can't open output file `1-11 The Four Seasons, Rv297 (Pt. 2) Winter.wav': Read-only file system
sox FAIL formats: can't open output file `1-12 The Four Seasons, Rv297 (Pt. 3) Winter.wav': Read-only file system
sox FAIL formats: can't open output file `1-13 Concerto For 2 Trumpets & Strings, Rv537 (Pt. 1).wav': Read-only file system
sox FAIL formats: can't open output file `1-14 Concerto For 2 Trumpets & Strings, Rv537 (Pt. 2).wav': Read-only file system
sox FAIL formats: can't open output file `1-15 Concerto For 2 Trumpets & Strings, Rv537 (Pt. 3).wav': Read-only file system
sox FAIL formats: can't open output file `1-16 Concerto For Mandolin & Strings, Rv425 (Pt. 1).wav': Read-only file system
sox FAIL formats: can't open output file `1-17 Concerto For Mandolin & Strings, Rv425 (Pt. 2).wav': Read-only file system
sox FAIL formats: can't open output file `1-18 Concerto For Mandolin & Strings, Rv425 (Pt. 3).wav': Read-only file system
sox FAIL formats: can't open output file `1-19 Concerto For Flute & Strings, Rv428 (Pt. 1).wav': Read-only file system
sox FAIL formats: can't open output file `1-20 Concerto For Flute & Strings, Rv428 (Pt. 2).wav': Read-only file system
sox FAIL formats: can't open output file `1-21 Concerto For Flute & Strings, Rv428 (Pt. 3).wav': Read-only file system
sox FAIL formats: can't open output file `1-22 Concerto For Violin & Strings, Rv453 (Pt. 1).wav': Read-only file system
sox FAIL formats: can't open output file `1-23 Concerto For Violin & Strings, Rv453 (Pt. 2).wav': Read-only file system
sox FAIL formats: can't open output file `1-24 Concerto For Violin & Strings, Rv453 (Pt. 3).wav': Read-only file syste
mediainfo 1-01\ The\ Four\ Seasons\,\ Rv269\ \(Pt.\ 1\)\ Spring.aif 
General
Complete name                            : 1-01 The Four Seasons, Rv269 (Pt. 1) Spring.aif
Format                                   : AIFF
Format/Info                              : Apple/SGI
File size                                : 36.8 MiB
Duration                                 : 3 min 38 s
Overall bit rate mode                    : Constant
Overall bit rate                         : 1 411 kb/s
Album                                    : Venetian Splender
Part/Position                            : 1
Part/Total                               : 62
Track name                               : The Four Seasons, Rv269 (Pt. 1) Spring
Track name/Position                      : 1
Track name/Total                         : 24
Performer                                : Antonio Vivaldi
Composer                                 : Antonio Vivaldi
Genre                                    : Classical
Recorded date                            : 2004
iTunPGAP                                 : 0
iTunes_CDDB_1                            : 4611AA18+339339+24+150+16562+27328+47520+71604+80905+94587+118757+131250+147776+163458+173840+189095+200828+204540+218387+232751+242412+253047+269720+285051+298613+311306+322732
iTunes_CDDB_TrackNumber                  : 1

Audio
Format                                   : PCM
Format settings                          : Big
Duration                                 : 3 min 38 s
Bit rate mode                            : Constant
Bit rate                                 : 1 411.2 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 kHz
Bit depth                                : 16 bits
Stream size                              : 36.8 MiB (100%)

Last edited by kapqa (Today 14:20:15)

Offline

#16 Today 14:35:47

igorzwx
Member
Registered: 2024-05-06
Posts: 350  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

To convert a WAV file to FLAC while keeping the metadata

flac --keep-foreign-metadata input.wav -o output.flac

Bellezza Crudel is a small selection of delightful cantatas and concertos. Vivaldi's world is one of heartfelt, musical intensity, confirming the Venetians' adoration of theatrical beauty.

Antonio Lucio Vivaldi (1678-1741)
Cantate RV 679, 660, 664, 678 / Concerti RV 484, 441

Original source DXD (352.8kHz/24bit)
Producer Morten Lindberg, balance engineer and recording producer
2L - the Nordic sound

Audacious macOS, Homebrew repository:
"bit perfect" mode is already implemented and works,
"exclusive mode" is also implemented, but fails.

On macOS, both "bit perfect" and "exclusive mode" work with IINA player (from Homebrew), but above 96 kHz crappy resamplers are automatically enabled.

Hog mode (aka, exclusive mode) in CoreAudio refers to exclusive access to an audio output device, allowing a single application to lock the DAC (Digital-to-Analog Converter) for its exclusive use, thereby bypassing system-level software mixing and resampling and potentially improving audio quality by reducing processing overhead.
This mode is particularly relevant for achieving bit-perfect audio playback, where the audio stream is transmitted without software resampling or format conversion.
On macOS, hog mode is implemented through CoreAudio's exclusive access capabilities, enabling applications to take control of the audio device and avoid interference from other audio streams.

Last edited by igorzwx (Today 16:23:22)

Offline

#17 Today 15:16:46

igorzwx
Member
Registered: 2024-05-06
Posts: 350  

Re: [HowTo] audacious_4.5-devel-1_amd64.deb (meson+samu and muon+samu)

"Read-only file system"

Copy aiff files to your home directory and convert → wave → flac

flac --keep-foreign-metadata input.wav -o output.flac

A common strategy is to first extract the metadata using ffmpeg, perform the audio processing with sox, and then reapply the metadata to the final output file using ffmpeg.

Extract metadata from the original file to a text file using ffmpeg:

ffmpeg -i input.file -f ffmetadata metadata.txt

This saves global metadata. For more detailed stream-specific metadata, you might need a more complex ffmpeg command.

Process audio using sox:

sox input.file temp_output.file

Note that temp_output.file will have the default SoX comment and lack the original metadata.

Re-apply metadata to the final output file using ffmpeg:

ffmpeg -i temp_output.file -map_metadata 0 -metadata_global_key=value ... final_output.file

The -map_metadata 0 option tells ffmpeg to copy metadata from the first input file (which is temp_output.file in this case, but typically this step involves mapping from a third, metadata-only input file, which is more complex).
For simplicity, many users find it easier to work with a text file to set specific metadata fields manually using the -metadata option or a text file input.

Last edited by igorzwx (Today 15:35:27)

Offline

Board footer