Archive for the 'hardware' Category

m-audio transit on Ubuntu 12.04

I freshly installed Ubuntu 12.04 and the ubuntustudio meta package. To get the m-audio transit card working I followed my older post (m-audio transit and ubuntu linux), i.e. installing madfuload which comes in the repository and adjust the udev-rules. They do not work the way they come installed.

So I used the content from corrected-madfu-rules and saved it as /etc/udev/rules.d/41-madfuload.rules. The according file in /lib/udev/rules.d I left untouched. The “41” instead of “42” is there because it reads “…Pick a number higher than the rules you want to override, and yours will be used. …” in /etc/udev/rules.d/README.

Something hang on my machine when trying the outcome so I rebooted the machine, although this might not be necessary for everybody. After that the sound card works as it used to.

Arduino 1

How I got my Arduino

A week ago I had the chance to participate in a wonderful workshop on sound design given by David Strang.  First, he gave the lecture “Surface Sounds” about his works. Then, in his workshop, he showed how to solder a contact microphone and how to make hydrophones (for underwater recording) and we went out to get some grips on the devices. Lecture, workshop and exhibition came to an invitation by Petra Klusmeyer.  It really was  good fun, and apart from that his inspiration made me to get an Arduino after all.

First grips

I got an Arduino Uno (R2) in a kit with some LEDs and other stuff so that I could immediately start with examples from the internet. A flashing LED, a dimming LED and the like. I got it fed electricity via USB but it takes away a lot of physical freedom. So I decided to practice my DIY abilities and soldering skills. I spent 2€ on a switch and a battery adapter and did some happy soldering. Notice on the picture (below, right) that one could have gotten away with less soldering, a recall to don’t drink and solder.

From cheap parts (left) to something handy (right)

Physical action

The kit had an LED with RGB connections. That is what most intrigued me from the start. After I understood well how to connect the wires I put the LED on a cable to attach it on my finger. With a very simple digital photo camera that has a longest exposure time of 2 seconds I wanted to take stills of the moving light with changing colours. I programmed the Arduino to flash a sequence that repeats every 2 seconds. The code is not beautiful nor flexible yet but it does the job (I might actually put the code as a comment to the post).

Pressing the camera button at the right moment I got a few nice pictures taken.

The Ring of Fire

a friend

A friend

a smoke

A Smoke

m-audio axiom 25 and linux

This is a short message  informing that I plugged a M-Audio Axiom 25 MIDI controller into the USB port and it was recognised immediately. Sooperlooper, Specimen, JackRack, Hydrogen… perfect. I didn’t yet figure out how the transport buttons work.  The manual is telling me weird stuff…

(as of Ubuntu 8.04, 2.6.24-23-rt)

Photo of the M-Audio Axiom 25 MIDI controller.

Photo of the M-Audio Axiom 25 MIDI controller.

eeepc as a linux audio workstation

A few days ago I told you about the first steps into using an eeepc as a real-time audio tool. jack runs up fine. I chose the internal audio card with the combination 48kHz,  256frames, 4buffers (which gives a latency of  21.3msec) and running on its  own  it doesn’t cough up any xrun.

I couldn’t get sooperlooper working yet. Sooperlooper works (see solution)! freqtweak works  (A nice little thing!), too.  Ardour works very nice, too. Sometimes the screen is a bit small for the whole window, but  I was using ardour a bit today and it wasn’t too much of  a hassle. Audacity is buggy (converting to mono + playing results in a segmentation fault).

I will try and find out about sooperlooper and audacity. Other programs and how an external audio card  connects  (I hope  my older posts will tell me what to do), a midi interface and all that will come up soon…

m-audio transit and ubuntu linux

How to get an m-audio card to work? I’ll try to summarize my efforts for the installation procedure. Apart from my internal sound device I have an m-audio Transit, a cheap USB interface with 1 stereo in- and 1 output. Apparently more m-audio cards do not work with standard drivers. So one has to upload firmware with the tool madfuload. In version 1.2 it already comes with the binary firmware files for MobilePre, Ozone, Sonica and Transit. The usual

sudo make install

compiles the program and copies the files into system directories. It seems that the configuration files are not valid. A post in the english ubuntu-forum for 8.04 users and a another one for 7.10/7.04 users reveals the secret: The rules in  /etc/udev/rules.d/42-madfuload.rules are not correct and they have to be changed. Comment out all lines or change them to the appropriate values, I’ve put example files online for both ubuntu version (see pages 8.04/10.04 or 7.*), although I only tested it (successfully) on 8.04 and 10.04.

Then one restarts the udev process by

sudo /etc/init.d/udev restart

and then, when you plug the card in, a new alsa device is born: hw:1.