Quodlibet icon tray in KDE Neon

It could happen that in KDE Neon, the icon tray of Quodlibet, an excellent audio player, works quite wrong: same behavior with the right and the left mouse key.
I solved, with a no-flatpack release, installing indicator-application

sudo apt install indicator-application

and the reboot.

Removing silence from an audio track

Audacity provide a tool to remove silences from an audio track (with tools – >Truncate silence), as explained here . You should customize the settings according to your needs.

But in my experience the “duration” of “detected silence” should be at least 1.5 sec, and the decibel “-30”. In this way you should avoid to truncate words said in a low volume, as it can happen.

Google speech-to-text

If you use Google speech-to-text one problem is to type signs such as ‘(‘ or ‘)’. In English you can say (in a low voice) open bracket or close bracket. In Italian apri parentesi tonda o chiudi parentesi tonda: indeed saying only apri parentesi Google will type “apri parentesi” and not “( “.

audio players

An excellent audio player is Clementine (and its fork Strawberry), which can do a lot of things. Its graphical intercace is very intuitive and complete.

But quite good is also QuodLibet: very fast (with a spartan graphical interface, not really intuitive) but highly customizable (i.g. you can create, edit and view new type of audio tags, or create bookmarks within an audio file). In my (personal) opinion it can integrate, but not replace Clementine. Indeed Quodlibet has some serious limitations, such as crashing, if you add some plugins, or it is not able to browse your disk (the only navigation is through tags, not through files).

Audacious is a very light solution, a good one if you don’t have too many audio files and you don’t need to have multiple options.

Sound in Musescore 4

In Ubuntu, to get the sound in Musescore 4, after installing Pipewire (with its repo) you could have to follow these steps (in Italian, but you can find it in English as well).

If you have, following that steps, an error (such as Error while installing package: trying to overwrite '/usr/share/man/man1/pipewire-pulse.1.gz', which is also in package pipewire-pulse 0.3.48-1ubuntu3) you can resolve with this command:

sudo dpkg -r pipewire-pulse

As said here.

MIDI keyboard and Linux

To get your MIDI keyboard working in Linux, you should do something like the following steps:

1) install Rosegarden, which automatically install jack and the related software in particular Qjackqtl (jack GUI). Maybe you could install directly Qjackqtl…

2) add your user to the audio group

sudo usermod -a -G audio <your_user_name>

3) install Qsynth,
4) do the following terminal command

sudo apt update; sudo apt full-upgrade -y; sudo apt install -y pipewire-audio-client-libraries libspa-0.2-bluetooth libspa-0.2-jack wireplumber pipewire-media-session-; sudo cp /usr/share/doc/pipewire/examples/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d/; sudo cp /usr/share/doc/pipewire/examples/ld.so.conf.d/pipewire-jack-*.conf /etc/ld.so.conf.d/; sudo ldconfig; sudo apt remove -y pulseaudio-module-bluetooth; systemctl --user --now enable wireplumber.service

Musescore and a MIDI keyboard

To get Musescore able to record from a MIDI keyboard I had to use the 4 release, so far with an appimage from their website.

normalize audio volume

In Linux you can

1) change physically the volume, recodifying the files

such as

  • with ffmpeg-normalize, a tool for automatic changes
  • or with ffmpeg, for manual changes (i.g. ffmpeg -i input.mp3 -filter:a "loudnorm" -q:a 2 output.mp3 for a change with a re-encodig of high quality, or ffmpeg -i input.mp3 -filter:a "loudnorm" -b:a 192k output.mp3 to a bitrate of 192, and so on)

2) modifying only the way your file is read (by the audioplayers)

  • with normalize-audio, which don’t encode the files, but change only the volume metatag.
  • or with mp3gain  (mp3gain -r *.mp3, or mp3gain -r -k *.mp3, to avoid clipping problem)

This second way on the one hand is less invasive (and less destructive), but on the other hand the changes could be not correctly read by the audio player you use.

embed a playlist in a web page

After many attempts I finally figured taht it’s impossible embed an audio playlist (such as m3u) to a webpage: you can add only multiple (audio) files, but not a playlist.

I tried with the <audio> tag: nothing to to, even with jquery or javascript. Neither with <embed> or <object> html tags: html developers allow only a single audio playing, not a playlist.

The mimetype “audio/x-mpegurl” doesn’t work.

syncing subtitles troubles

framerate

Correcting subtitles framerate may be very important to sync it with audio/video. You can select all subtitles with an editor, and change framerate (for example to 25 from 23.976).

Thereby you should see the video correctly (with VLC or others).

the ultimate solution

If adjusting framerate didn’t fix your problem, you can try an excellent tool (for Linux, Windows and Mac as well): SubSync, whicth works syncing audio with subtitles, and was able so far to solve all my sincing subtitles problems.

You could have a permissions problem working the first time with SubSync, but you will find easily on the web.