[PD] Throttling midi message rates

Max abonnements at revolwear.com
Fri Feb 21 15:20:44 CET 2020

Looks like this issue
I can recover the locked-up Pd by disconnecting the ALSA MIDI in the 
QjackCtl Graph. (see animated gif in the github issue)

The MIDI device I'm experiencing this issue with is a Sensel Morph in 
14bit MIDI mode.

@ Andrew Lyons
Pleas don't hijack threads. If you have a new question, compose a new 
email to pd-list at lists.iem.at and never just take a random old email and 
change the subject / content.

On 21.02.20 12:29, Dan Wilcox wrote:
> PD tries to handle MIDI as fast as it gets it, hence Miller's warning.
> First, does Pd lock up on the RPI *without* your patch running? If so, 
> then Pd itself is clogged up by all the messaging on the RPI. If it's 
> your patch, then your message handling can/should be optimized ala 
> Ingo's suggestion. Do you have any GUI objects in the message chain? If 
> so, the fast messaging will also be causing GUI updates which may be 
> slow on the RPI. Another way to check this is to run Pd with -nogui and 
> see if it works without hanging.
>> On Feb 21, 2020, at 12:00 PM, pd-list-request at lists.iem.at 
>> <mailto:pd-list-request at lists.iem.at> wrote:
>> From: Andrew Lyons <tstexture at gmail.com <mailto:tstexture at gmail.com>>
>> To: pd-list <pd-list at iem.at <mailto:pd-list at iem.at>>
>> Subject: [PD] Throttling midi message rates
>> Message-ID:
>> <CAF3KZatNm75zFtG7WVJt_3hF8VcoP0ZjL96GGBVrx_bSuG+6pw at mail.gmail.com 
>> <mailto:CAF3KZatNm75zFtG7WVJt_3hF8VcoP0ZjL96GGBVrx_bSuG+6pw at mail.gmail.com>>
>> Content-Type: text/plain; charset="utf-8"
>> Hi,
>> I have an FCB 1010 MIDI foot pedal controller with 10 switches and two
>> pedals. One of the foot pedals is used to control glissando rate. More
>> specifically, it is hooked up to a vline~ object in pd. (I originally used
>> a line.)
>> If I change the pedal position too quickly, it locks up PD, and I have to
>> kill and restart the software. I have not encountered this before, but I
>> remember Miller saying something about "bad things happen" if the MIDI
>> input rate is too high in one of his MS171 lectures.
>> I do not have access to the firmware code on the foot pedal board, so I'm
>> hoping there is a way to throttle MIDI data rates in PD. I am running on a
>> raspberry pi 3 (buster) in a Zynthian kit.
>> Any pointers appreciated.
>> Thanks!
> --------
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com <http://danomatika.com>
> robotcowboy.com <http://robotcowboy.com>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list