Tag Archivio per: Audio

JamesDSP for Linux

JamesDSP for Linux is an open source Qt audio effect processor for PipeWire and PulseAudio. Use it to enhance the music you listen to by adding reverberation, bass boost and other filters using a parametric or fixed band equalizer. It also allows you to write your own audio effects using the EEL2 scripting language.

The application is designed for use with PipeWire, which the developer recommends for its lower latency when injecting audio effects, but PulseAudio is also supported (for backwards compatibility).

It was initially released as an audio effects processor for Android, and it then ported to Linux.

JamesDSP for Linux features include:

  • Automatic bass boost (frequency-detecting bass-boost): automatically sets its own parameters, such as gain, bandwidth, and cut-off frequency, by analyzing the incoming audio stream
  • Automatic dynamic range compressor: a highly automated multiband dynamic range adjusting effect
  • Complex reverberation IIR network (Progenitor 2)
  • Interpolated FIR equalizer with flexible bands
  • Arbitrary response equalizer (also known as GraphicEQ from EqualizerAPO). AutoEQ database integration (requires network connection)
  • Partitioned convolver (Automóvil segmenting convolution). Supports mico, stereo, full/true stereo (LL, LR, RL, RR) impulse response
  • Crossfeed: realistic surround effects
  • Soundstage wideness: a multiband stereo wideness controller
  • ViPER-DDC: perform parametric equalization on audio & create VDC input files using thepbone/DDCToolbox
  • Analog modeling: an aliasing-free even harmonic generator
  • Output limiter

The application also comes with a scripting engine that allows you to write your own audio effects using the EEL2 scripting language. JamesDSP even automatically generates a basic user interface for  your scripts which allows modifying parameters.

To edit the scripts, JamesDSP comes with a minimal scripting IDE with console output support, detailed error messages, syntax highlighting, and more.

Besides this, JamesDSP for Linux also comes with universal presets that you load and save, a tray icon, and more.

The application had a major release (2.0) over the weekend, which adds PipeWire support, UI updates, and more. There’s no official change log so there might be something I missed, check out the commit log for details.

You might also like: NoiseTorch Is A Real-Time Microphone Noise Suppression Application For Linux

Getting started with JamesDSP

When you first run JamesDSP, its setup wizard is displayed, allowing you to choose the output device, set if the app should shutdown when closed or stay minimized, etc.:

JamesDSP onboarding Linux

In case you later want to change some settings presented in this setup wizard, you can do so from the application settings (cog icon in the bottom left-hand side of the JamesDSP for Linux window).

Merienda that’s done, you can start applying some effects to your computer’s audio output. For example, go to the Equalizer tab, click Enable EQ, and select an equalizer preset:

JamesDSP Linux equalizer

If you can’t hear a difference with and without a preset, make sure your audio output device is set to JamesDSP Sink in System Settings (sometimes it’s not set automatically), e.g. in GNOME:

JamesDSP system sound settings

You  might also find useful: Fix No Sound (Dummy Output) Issue In Ubuntu With SND HDA Intel

Vs EasyEffects

You might be wondering how JamesDSP compares to EasyEffects (previously PulseEffects), another audio effect processor application for Linux. The most obvious difference is that JamesDSP works with both PulseAudio and PipeWire, while EasyEffects only supports PipeWire (you must install an older version of EasyEffects from the time it was called PulseEffects if you want to use it with PulseAudio).

Besides that, EasyEffects comes with more effects, although there are some effects available in JamesDSP that aren’t available with EasyEffects, such as soundstage wideness, a multiband stereo wideness controller, or ViPER-DDC which allows you to perform parametric equalization on audio. And EasyEffects allows applying audio effects to both sound input and output, while JamesDSP is for output only. On the other hand, JamesDSP has a simpler user interface, and it comes with a scripting engine that’s not available in EasyEffects.

So while these 2 applications have many things in common, there are also some differences, so use the one that best fits your needs.

Download JamesDSP for Linux

Before installing JamesDSP for Linux, check if you’re using PipeWire or PulseAudio as described here. Then you can install JamesDSP for Linux (for either PipeWire or PulseAudio) from a repository (Debian / Ubuntu), AUR (Arch Linux / Manjaro), or build it from source.

You might like: Hushboard Mutes Your Microphone While Typing

“FFMpeg is a free and open-source video and audio converter. It has been widely adopted by many applications, including VLC, the Android OS, Spotify, etc. ffmpeg provides unparallel features for working with audio and video files.

In this tutorial, we will focus on how to extract audio files from videos and other useful techniques.”

Installing FFMpeg

Before we can proceed, you need to ensure that you have the ffmpeg utility installed and available in your system.



$ sudo apt-get install ffmpeg



$ sudo yum install epel-release
$ sudo yum localinstall –nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
$ sudo yum install ffmpeg ffmpeg-devel



Keep in mind that ffmpeg may not be working depending on the system support.

You can verify that you have ffmpeg installed by running the command:

The command should return detailed information about your installed ffmpeg version.

FFMpeg Extract Audio From Video

Before we can extract an audio file from a video, we need to determine the audio version. We can do this by running the ffbrobe command followed by the path to the target video:


$ ffprobe BigBuckBunny.mp4

Replace BigBuckBunny.mp4 with the name of your target file.

Navigate to the end of the command output and check the audio stream information. You should see the audio version as:

From the output, we can see that the audio format is aac.

To extract the audio from the video without re-encoding, run the command:


ffmpeg -i BigBuckBunny.mp4 -vn -acodec copy BigBuckBunnyAudio.aac

In the command above, we use the -I flag to specify the input video. The -vn flags tell ffmpeg to strip the video stream from the output file. Finally, the -acodec copy tells ffmpeg to use the already existing audio stream.

FFMpeg Extract Audio From File – Method 2

You can use ffmpeg to convert a video file into mp3. Since an mp3 file cannot contain a video stream, ffmpeg will automatically strip it out.

The example command is as shown:


$ ffmpeg -i BigBuckBunny.mp4 BigBuckBunnyAudio.mp3

The command will create an audio file with the specified filename.

Extract Audio From Videos in a Directory

Suppose you want to extract videos from mp4 files in an entire directory.

On Windows, run the command below in your Command Prompt.


for %i in (*.mp4) do ffmpeg -i «%i» «%~i.mp3»

The command will locate all the mp4 files in the current directory and convert them into mp3 files with similar names.

On macOS and Linux, run the command:


for i in *.mp4;
  do name=`echo «$i« | cut -d‘.’ -f1`
  echo «$name«
  ffmpeg -i «$i« «${name}.mp3″

Extract Audio From Video With VBR

In some cases, you may want to extract audio from video with a variable bit rate. You can run the command:


$ ffmpeg -i BigBuckBunny.mp4 -map 0:0 -q:a 0 -acodec copy BigBuckBunny.aac

We use the -q:a 0 to extract audio with variable bitrate. The quality value can range from 0 to 9, with 0 representing the highest quality and 9 representing the lowest quality.

Extract Audio From Video With CBR

To extract an audio with a constant bitrate, run the command:


$ ffmpeg -i BigBuckBunny.mp4 -map 0:0 -b:a 320k -acodec copy BigBuckBunny.aac

In the command above, we use the -b:1 followed by the target bitrate value. In our case, we specify the audio with 320k bitrate.


In this article, you learned how to extract audio from video without encoding, batch processing videos to audio, extract audio with variable bitrate and extract audio with constant bitrate.

Thanks for reading!!

Source link