How to use Jack with Fluxus and ChucK on OSX?
- Install jack (0.82 is not working for now, 0.80 is good enough)
- Create an aggregate device using Mac MIDI setup (see http://blog.david.connolly.name/2007/06/stereo-bluetooth-profile-a2dp-on-mac-os.html)
- Setup the aggregate device at jackpilot
- Setup jack as in and out of ChucK
- Setup fluxus with (start-audio "system:capture_1" 1024 44100)
- Rout ChucK out to jack in jackpilot routing interface
How to use Jack on Debian Lenny (on a MacBook)?
- sudo aptitude install jack jackd qjackctl
- 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
- To use Chuck, compile with make linux-jack
- 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
- Download jjack http://download.berlios.de/jjack/jjack-0.3.tar.gz
- Unpack jjack
- Copy libjjack.so to the appropriate Processing lib directory:
- sudo cp -R jjack-0.3/lib/i386 /usr/local/src/processing/lib/
- In Processing: File - Examples - Libraries - Minim(Sound) - GetLineIn
- Import the appropriate jjack library on the sketch adding this line:
- import de.gulden.framework.jjack.*;
- Add jjack-0.3/lib/jjack.jar to the sketch. In Processing: Sketch - Add File (...) and select the jjack.jar file
- Start Jack (qjackctl?)
- Run the GetLineIn sketch
- Run some audio jack compatible program
- Connect the output of the audio program to the input of jjack on Jack
- Have fun! :-)
More information (in pt_BR) here.
How to use Jack + Rhythmbox (or any other GStreamer application)
- Install jackaudiosink (at gstreamer-plugins-bad)
- sudo aptitude install gstreamer0.10-plugins-bad
- Run the gstreamer-properties
- gstreamer-properties &
- Set Output Plugin to Custom and Pipeline to jackaudiosink
- Have fun! :-)
How to use jack.plumbing
- Install jack-tools
- sudo aptitude install jack-tools
- 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")
- Every time you start JACK, start jack.plumbing too
PD + DIY2 + PDuino
- Install PD (read http://artesanato.devolts.org/?page_id=95)
- 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...
- Install the PDuino from http://at.or.at/hans/pd/Pduino-0.5beta2.zip
- 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