[PD] Recording MIDI results in notes of infinite duration

Luke Iannini (pd) lukexipd at gmail.com
Mon Mar 20 01:46:17 CET 2006


Can anyone give me some hints on where to start trying to resolve this?
Cheers, Luke

On 3/15/06, Luke Iannini (pd) <lukexipd at gmail.com> wrote:
> Hi David,
>
> Thanks for the reply.  I used the Helpfile abstraction as an example
> as I figured it would mean I couldn't have screwed anything up
> Pd-wise.  I'm aware of the note-on/noteoff necessity; both messages
> (with velocity and with 0, and the 0 velocity notes come after the
> non-zero-valued-velocity notes as one would expect) print quite
> happily in the Pd console when using both my patch and the the
> helpfile's simple version.  But even without the noteoffs, does this
> explain the notes all beginning at the same point?  I find that
> particularly strange.
>
> Thanks!
>
> On 3/15/06, david golightly <davigoli at gmail.com> wrote:
> > Hi Luke,
> >
> > Sounds like you aren't getting any "noteoff" messages through..  Midi
> > notes don't have a "duration" - they only have pitch, velocity,
> > channel and (in some formats) start time.  Any MIDI note is on until
> > you get a note on the same channel with the same pitch but vel=0.  Not
> > sure about [makenote] but I know that [stripnote] (if you've got that
> > somewhere) ignores these noteoff messages.  I'd start by having pd
> > [print] your MIDI note stream & make sure you have a noteoff for each
> > corresponding note start.
> >
> > Hope that helps,
> >
> > David
> >
> > On 3/15/06, Luke Iannini (pd) <lukexipd at gmail.com> wrote:
> > > Hallo All,
> > > I'm using Pd-ext. 0.39.2 test1 on OS 10.4.5.  I have Pd connected to
> > > Cubase SX 3.1.1 using the IAC MIDI system of OSX.  I'm having some
> > > trouble recording MIDI output as I'll describe below.
> > >
> > > As a distillation of the issue, I tested using midi-help.pd's
> > > "[Makenote] Apparatus".  Routed into Cubase and hitting "Record", I
> > > should get Middle C notes at a velocity of 64 of a duration of 250ms
> > > spaced 500ms apart.
> > >
> > > Instead, upon the triggering of the first note, Cubase records a note
> > > starting at that point and continuing until the end of the defined
> > > length of the project.  Any notes triggered afterwards are stacked
> > > upon this note, all starting at the exact same point.  So if I
> > > recorded for 5s, instead of 10 notes each starting 500ms after one
> > > another (@0s, 0.5s, 1.0s, etc.) and ending 250ms later, I get 10 notes
> > > starting at 0s and ending at A Very Large Number.
> > >
> > > The oddest part is the triggering of Cubase seems fine... I /hear/
> > > exactly what I'd expect to hear when allowing PD to trigger a VSTi
> > > through a Cubase MIDI track "live".  It's only when trying to record
> > > that something goes very awry.
> > >
> > > Anyone have any clues on this?
> > > Thanks!
> > > Luke Iannini
> > >
> > > _______________________________________________
> > > PD-list at iem.at mailing list
> > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> > >
> >
>




More information about the Pd-list mailing list