Re: [linux-audio-user] midi filter to convert NRPN's to CC's

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] midi filter to convert NRPN's to CC's
From: Frank Barknecht (fbar_AT_footils.org)
Date: Thu May 20 2004 - 23:14:08 EEST


Hallo,
Chris Pickett hat gesagt: // Chris Pickett wrote:

> NRPN's are encoded by 4 CC's, two for the parameter number and two for
> the data value, and they appear in four-byte chunks in the midi stream.
> I'll take a look at PD, and post again if I get anywhere or get stuck.
> Thanks for the suggestions ... three votes for PD in a row sounds good
> to me :)

Dave's [nrpnin] object connected to the [ctlout] pd internal object
should do the job. I don't know nor use nrpn myself, though.

You will also need to deal with virtual midi connections. Pd only
supports rawmidi devices, so if you want to do virtual routings you'll
need to configure a snd-virmidi card and use aconnect or qjackctl to
make connections.

Pd's midi device numbering is a bit strange. If you cannot configure
this with the "Media" menu dialog or if you want to use this right
away on startup, you should create a ~/.pdrc containing the command
line option "-mididev XX" where XX is one greater than the YY in the
/dev/midiYY you intend to use.

So, say you're virtual midi card has a rawmidi device at /dev/midi20.
Then you need to start pd like this:
  
$ pd -mididev 21

or have "-mididev 21" in ~/.pdrc

You might also be interested in the "-noaudio" option.

Some of this also is described in the MIDI-Howto.

Have fun,

-- 
 Frank Barknecht                               _ ______footils.org__


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu May 20 2004 - 23:10:17 EEST