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
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@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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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@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@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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Can anyone give me some hints on where to start trying to resolve this? Cheers, Luke
On 3/15/06, Luke Iannini (pd) lukexipd@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@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@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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi Luke,
Luke Iannini (pd) wrote:
Can anyone give me some hints on where to start trying to resolve this?
I'm afraid this is pretty hard to debug just from your written description. Can you post the patch in question, preferably just the MIDI part you're having trouble with?
d.
The most stripped down example is the very patch I'm using to inform my own implementation of [noteout]... I've removed the rest of the patch to show only the piece I'm using, but this is straight from the midi-help.pd in pd\doc\5.reference in pd-extended 0.39.2.
On 3/20/06, derek holzer derek@x-i.net wrote:
Hi Luke,
Luke Iannini (pd) wrote:
Can anyone give me some hints on where to start trying to resolve this?
I'm afraid this is pretty hard to debug just from your written description. Can you post the patch in question, preferably just the MIDI part you're having trouble with?
d.
-- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 102: "Just carry on"
Hi All, As expected this seems to be a Cubase issue related to virtual midi ports (such as those I am using to connect Pd to Cubase). I tested with Garageband and it works quite nicely. Thanks for trying : )! A shame, though, as Pd would likely be fixed long before Cubase will. Luke
On 3/20/06, Luke Iannini (pd) lukexipd@gmail.com wrote:
The most stripped down example is the very patch I'm using to inform my own implementation of [noteout]... I've removed the rest of the patch to show only the piece I'm using, but this is straight from the midi-help.pd in pd\doc\5.reference in pd-extended 0.39.2.
On 3/20/06, derek holzer derek@x-i.net wrote:
Hi Luke,
Luke Iannini (pd) wrote:
Can anyone give me some hints on where to start trying to resolve this?
I'm afraid this is pretty hard to debug just from your written description. Can you post the patch in question, preferably just the MIDI part you're having trouble with?
d.
-- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 102: "Just carry on"