[PD] midi latency pd -> alsa / jackd

tim vets timvets at gmail.com
Sat Jul 14 22:04:05 CEST 2012


2012/7/14 Rob Bothof <rbothof at xs4all.nl>

> Dear List,
>
> I'm working on a diy midi-controller and running into some latency
> problems,
> the controller is a 'scratch disk' with with a pic microcontroller with
> usb.
>
> i've build an absolute encoder for it and i'm sending the data or angle as
> pitchbend data (for high resolution)
> the speed with which i'm sending the data is way beyond midi-standards, i
> know...
>
> now when i set up pd to use alsa audio (internal soundcard) and alsa midi,
> the device works perfect, very smooth..
> when i choose jackd as a soundcard, i'm getting getting latency on the
> midi input..midi input is falling behind,
> then picking up instantly, falling behind again and so on...like a
> sawtooth shape..
>
> the settings i choose for jackd have no effect on this..either when i'm
> using the internal soundcard via jackd -> alsa,
> or a firewire device via freebob...the latency problem is the same...also
> with higher audiobuffer settings there is no change
> in the latency
>
> I disabled alsa sequencer support in jack so midi is running straight to
> pd..
>
> i know i'm working out of midi standards, but any help to where the
> problem might be,
> or simular experiences, would be greatly appreciated...
>
>
I can't be of much help, but I can chime in with a similar/related
experience:
So far, each time I tried sending midi note messages from pd to something
like Qsynth or Qsampler, using alsamidi via jack
the timing is unacceptably messy.
[image: Inline afbeelding 1]
resluts in:
[image: Inline afbeelding 2]
you can clearly see the irregularity, and yes, it _is_ audible too... ;)


greets,
> Rob Bothof
>
>
>
> ______________________________**_________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120714/3dd028f7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3231 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120714/3dd028f7/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 6166 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120714/3dd028f7/attachment-0001.png>


More information about the Pd-list mailing list