Re: [Jack-Devel] dumping MIDI events to a logfile

PrevNext  Index
DateMon, 11 Jan 2016 09:56:02 -0500
From Paul Davis <[hidden] at linuxaudiosystems dot com>
To[hidden] at gmail dot com
CcJACK <[hidden] at lists dot jackaudio dot org>
In-Reply-ToBenjamin Henrion Re: [Jack-Devel] dumping MIDI events to a logfile
Follow-UpBenjamin Henrion Re: [Jack-Devel] dumping MIDI events to a logfile
You have to connect jack_midi_dump to the relevant MIDI port(s). You can
start JACK using qjackctl or cadence, and then use their connection
dialogs. You could use jack_connect. There are other ways too.

You could also use gmidimon :)

On Mon, Jan 11, 2016 at 9:53 AM, Benjamin Henrion <[hidden]> wrote:

> On Mon, Jan 11, 2016 at 3:42 PM, Paul Davis <[hidden]>
> wrote:
> > You're trying to run JACK on your MIDI interface.
> >
> > It doesn't work that way. JACK needs to work with an audio interface but
> > will then *also* expose MIDI devices as JACK ports (if told to do so,
> which
> > you're not doing).
> >
> > Try this:
> >
> >    jackd -R -d alsa -d hw:MID -X seq
> >
> > (the name of your actual audio interface ("MID") is unfortunately
> somewhat
> > confusing in this context, given that it isn't a MIDI device and
> hw:UMONE is
> > :)
>
> Understood the logic, jackd is running, but when I launch
> jack_midi_dump in another terminal, I see nothing in output...
>
> =====================================================================
> zoobab@chuchu /home/zoobab [91]$   jackd -R -d alsa -d hw:MID -X seq
> jackd 0.124.1
> Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben
> Hohn 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
>
> JACK compiled with System V SHM support.
> loading driver ..
> creating alsa driver ...
> hw:MID|hw:MID|1024|2|48000|0|0|nomon|swmeter|-|32bit
> configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
> ALSA: final selected sample format for capture: 32bit integer little-endian
> ALSA: use 2 periods for capture
> ALSA: final selected sample format for playback: 32bit integer
> little-endian
> ALSA: use 2 periods for playback
> creating alsa_midi driver ...
>
> zoobab@chuchu /home/zoobab [141]$ jack_midi_dump -a
>
> =====================================================================
>
> Otherwise, if I launch rosegarden which spaws its own jackd, there is
> no way I can try to connect jack_midi_dump to it?
>
> --
> Benjamin Henrion <bhenrion at ffii.org>
> FFII Brussels - +32-484-566109 - +32-2-3500762
> "In July 2005, after several failed attempts to legalise software
> patents in Europe, the patent establishment changed its strategy.
> Instead of explicitly seeking to sanction the patentability of
> software, they are now seeking to create a central European patent
> court, which would establish and enforce patentability rules in their
> favor, without any possibility of correction by competing courts or
> democratically elected legislators."
>
PrevNext  Index

1452524170.25492_0.ltw:2, <CAFa_cKm8QgR3cJkMMfg5YKw-qe4h74uZF=TtfbhC4a7iKKaopg at mail dot gmail dot com>