[LAU] Batch-processing through JAMIN?

Ken Restivo ken at restivo.org
Mon Sep 22 22:52:03 EDT 2008


I am helping to (hopefully) produce a CD of one of the bands I'm in. The recording and mixing has been done on ProTools on a Mac, but it's been suggested that we "get it mastered". Before we spend money we don't have on some mastering house, I'd like to take the WAV files of the scratch mixes we have, feed them through Jamin, and see if the result is satisfactory.

I'm certain I could write this, but I don't want to if it's already been done. So, is there a command line tool out there that will take a WAV file as an input, put JACK into freeswheeling mode, then jack_connect to a running Jamin instance's stereo in and out ports, open a WAV file for capturing the output, feed the input WAV file in to JAMIN and at the same time start capturing samples for the output WAV file, and thus basically feed this through JAMIN as fast as it can and give me a finished WAV file that's been "mastered"?

I tried scripting this with jack_capture and mplayer, but there are two problems. The first problem is the mplayer starts playing before I can connect its output ports to JAMIN's input ports. The second problem is that jack_capture starts capturing long before mplayer is started, and then doesn't stop until long after mplayer is done, which gives me a bunch of silence at the beginning and end of the capture file, which is annoying and has to be cut out manually in some kind of audio editor later on.

-ken



More information about the Linux-audio-user mailing list