How to use Jack with Fluxus and ChucK on OSX?

  1. Install jack (0.82 is not working for now, 0.80 is good enough)
  2. Create an aggregate device using Mac MIDI setup (see http://blog.david.connolly.name/2007/06/stereo-bluetooth-profile-a2dp-on-mac-os.html)
  3. Setup the aggregate device at jackpilot
  4. Setup jack as in and out of ChucK
  5. Setup fluxus with (start-audio "system:capture_1" 1024 44100)
  6. Rout ChucK out to jack in jackpilot routing interface

How to use Jack on Debian Lenny (on a MacBook)?

  1. sudo aptitude install jack jackd qjackctl
  2. Setup these options on qjackctl:
    • Driver: alsa
    • Realtime: Yes (see above)
    • Periods/Buffer: 2
    • Interface: hw:0
    • Input Device: hw:0
    • Output Device: hw:0
    • Input Channels: 2
    • Output Channels: 2
  3. To use Chuck, compile with make linux-jack
  4. To use jack (using qjackctl) width RT:
    • sudo su -c 'echo @audio - rtprio 99 >> /etc/security/limits.conf'

More about JACK at estudiolivre.

How to use Jack + Processing

  1. Download jjack http://download.berlios.de/jjack/jjack-0.3.tar.gz
  2. Unpack jjack
  3. Copy libjjack.so to the appropriate Processing lib directory:
    • sudo cp -R jjack-0.3/lib/i386 /usr/local/src/processing/lib/
  4. In Processing: File - Examples - Libraries - Minim(Sound) - GetLineIn
  5. Import the appropriate jjack library on the sketch adding this line:
    • import de.gulden.framework.jjack.*;
  6. Add jjack-0.3/lib/jjack.jar to the sketch. In Processing: Sketch - Add File (...) and select the jjack.jar file
  7. Start Jack (qjackctl?)
  8. Run the GetLineIn sketch
  9. Run some audio jack compatible program
  10. Connect the output of the audio program to the input of jjack on Jack
  11. Have fun! :-)

More information (in pt_BR) here.

How to use Jack + Rhythmbox (or any other GStreamer application)

  1. Install jackaudiosink (at gstreamer-plugins-bad)
    • sudo aptitude install gstreamer0.10-plugins-bad
  2. Run the gstreamer-properties
    • gstreamer-properties &
  3. Set Output Plugin to Custom and Pipeline to jackaudiosink
  4. Have fun! :-)

How to use jack.plumbing

  1. Install jack-tools
    • sudo aptitude install jack-tools
  2. Edit your ~/.jack.plumbing. For example:
    • (connect "ChucK:outport 0" "system:playback_1")
    • (connect "ChucK:outport 1" "system:playback_2")
    • (connect "system:capture_1" "ChucK:inport 0")
    • (connect "system:capture_2" "ChucK:inport 1")
  3. Every time you start JACK, start jack.plumbing too

PD + DIY2 + PDuino

  1. Install PD (read http://artesanato.devolts.org/?page_id=95)
  2. Install the DIY2 from http://www.m-pi.com/DIY2.zip
    • Put the DIY2 at any directory
    • At PD, add the DIY2 directory to the path: File -> Patch...
  3. Install the PDuino from http://at.or.at/hans/pd/Pduino-0.5beta2.zip
  4. Install Firmata at the Arduino IDE
    • File -> Examples -> Firmata -> StandardFirmata
    • Upload Firmata to your Arduino board

MOD to MPEG/OGV

To convert a .mod file to mpeg2 format (dvd), deinterlaced, with 720x480 size

  • ffmpeg -i in.mod -target dvd -deinterlace -s 720x480 out.avi

To convert a .mod file to theora (ogg video)

  • ffmpeg2theora in.mod

http://minuano.org/oficinas/video/


Page last modified on October 31, 2009, at 08:31 PM