[LAU] alsa midi to jack midi

Jan Weil jan.weil at web.de
Mon Jun 8 02:23:44 EDT 2009


On Sun, Jun 07, 2009 at 03:50:54PM -0700, Ken Restivo wrote:
> On Tue, Nov 25, 2008 at 11:59:33AM +0100, Arnold Krille wrote:
> > If you are using the alsa-backend of jack for audio, there is a commandline 
> > switch to also forward the alsa-hw midi ports to jack-midi directly in jackd.
> > If not (because you use a firewire-device for example) a2jmidid has a 
> > commandline-option to also bridge the alsa-hw midi ports to jack-midi...
> > 
> 
> What is this command-line switch, exactly?

jan at ella ~$ jackd -h
jackd 0.116.1
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details


usage: jackd [ --realtime OR -R [ --realtime-priority OR -P priority ] ]
             [ --name OR -n server-name ]
             [ --no-mlock OR -m ]
             [ --unlock OR -u ]
             [ --timeout OR -t client-timeout-in-msecs ]
             [ --port-max OR -p maximum-number-of-ports]
             [ --debug-timer OR -D ]
             [ --verbose OR -v ]
             [ --clocksource OR -c [ c(ycle) | h(pet) | s(ystem) ]
             [ --replace-registry OR -r ]
             [ --silent OR -s ]
             [ --version OR -V ]
             [ --nozombies OR -Z ]
         -d backend [ ... backend args ... ]
             The backend can be `alsa', `coreaudio', `dummy',
                                `freebob', `oss', `sun', or `portaudio'.

       jackd -d backend --help
             to display options for each backend

jan at ella ~$ jackd -d alsa --help
Parameters for driver 'alsa' (all parameters are optional):
        -C, --capture   Provide capture ports.  Optionally set device (default: none)
        -P, --playback  Provide playback ports.  Optionally set device (default: none)
        -d, --device    ALSA device name (default: hw:0)
        -r, --rate      Sample rate (default: 48000)
        -p, --period    Frames per period (default: 1024)
        -n, --nperiods  Number of periods of playback latency (default: 2)
        -H, --hwmon     Hardware monitoring, if available (default: false)
        -M, --hwmeter   Hardware metering, if available (default: false)
        -D, --duplex    Provide both capture and playback ports (default: true)
        -s, --softmode  Soft-mode, no xrun handling (default: false)
        -m, --monitor   Provide monitor ports for the output (default: false)
        -z, --dither    Dithering mode (default: n)
        -i, --inchannels        Number of capture channels (defaults to hardware max) (default: 0)
        -o, --outchannels       Number of playback channels (defaults to hardware max) (default: 0)
        -S, --shorts    Try 16-bit samples before 32-bit (default: false)
        -I, --input-latency     Extra input latency (frames) (default: 0)
        -O, --output-latency    Extra output latency (frames) (default: 0)
        -X, --midi      ALSA MIDI driver (seq|raw) (default: none)

        ^^^^^^^^^^

HTH

Jan



More information about the Linux-audio-user mailing list