Audio

Good settings for encoding to mp3

Posted on

I use Lame for encoding my recordings into mp3 format. I have experimented with many of the options and I have found that the following 3 combinations of command line switches produce excellent results: Small size, lossy: lame –alt-preset standard in.wav out.mp3 Good compromise between size and quality (VBR): lame –alt-preset extreme in.wav out.mp3 Large […]

Audio

How does a loudspeaker work?

Posted on

Here is a demonstration I found on YouTube which I think is very useful to show the components of a loudspeaker and how it works. http://www.youtube.com/watch?v=3ZQqCyRQFB4& The electrical current flowing through the voice coil creates a magnetic field that interacts with the permanent magnet’s field. As the signal changes polarity, this magnetic interaction forces the […]

Audio

Digidesign 003 Rack: Linux driver history

Posted on

A brilliant ALSA developer, Clemens L, has been working on a separate ALSA driver for streaming sound over firewire within the linux kernel. This would mean that the FFADO project would be unnecessary as an addon for JACK audio connection kit to provide support for firewire devices in the future, as there would exist a […]

Audio

Overlap-save method of block convolution for fast convolution on audio streams.

Posted on

Let $$\mathbf{h}$$ be a vector of size $$P$$ containing the impulse response you wish to convolve with, and let $$\mathbf{x}$$ contain an unknown number of float values which is the input audio stream. Note that an FIR filter can be expressed as follows: $$FIR(x[n],\mathbf{h})=y[n]=\sum_{j=0}^{P-1}({x[n+j] \cdot h[j]})$$ By chopping up $$x[n]$$ into sections of length $$L$$, […]

Audio

Use your NVIDIA GPU as a DSP chip

Posted on

I have been working on a jack client that uses the GPU to process audio. The benefit of this is that it lightens the load off the CPU to process audio. I used the NVIDIA CUDA toolchain to create a jack-cuda client. Currently I have made a gain plugin that uses 256 parallel threads to […]

Audio

Digidesign Mbox 2 Mini on Linux

Posted on

There does not currently exist a linux driver for Mbox 2 mini. I don’t have the hardware so I am not writing one either. This page is for driver discussion on this model. UPDATE 4/12/2010: The Mbox2 and Mbox2 Mini share the same USB ID and usb endpoints thus they are physically the same device […]

Blog Instructions

ZamAudio – Announcement

Posted on

ZamAudio has an announcement to make: Sorry fellow linux users, there will be no more new patches for Digidesign Mbox 2 ALSA sound drivers, as I am focusing on something else. But you can still get the old ones here. Pro Tools and Avid Audio are registered trademarks of Avid Audio, a division of Avid […]

Audio

JACK audio plugin – gate/expander with sidechain

Posted on

I decided to write my own audio plugin, a gate/expander, because I couldn’t find a good equivalent plugin. You can download a patch for calf-plugins git tree here. To fetch the plugin code and patch to my version: git clone http://repo.or.cz/r/calf.git calf cd calf git apply path-to-my.patch ./autogen.sh ./configure –enable-experimental make sudo make install I […]