Tony
unread,Jul 30, 2008, 7:28:40 AM7/30/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to KeyKit
Hello Tim,
the | (parallel concatenation) operator for phrases seems to work only
correctly if the phrases contain notes, e.g. if you have phrases which
contain
- only midi-cc or
- only pitchbend
events, the | operator doesn't work in a "correct" way. For midi-cc
and pitchbend I had to use always + (serial concetenation) operator
for phrases to get the results I wanted. Maybe it would be useful to
mention this also in the documentation.
I give one simple example:
1. THIS WORKS correctly:
#WorkingMidi is note only midi
PitchonlyMidi = readmf(pitchmodels+"\\"+fnp)
r = ''
for (note in WorkingMidi)
{
#PitchmodelMidi.time = note.time
r |= note+PitchmodelMidi
}
2. THIS DOES NOT work correctly:
#WorkingMidi is note only midi
PitchonlyMidi = readmf(pitchmodels+"\\"+fnp)
r = ''
for (note in WorkingMidi)
{
PitchmodelMidi.time = note.time
r |= note|PitchmodelMidi
}
In the second case Keykit seems to consider only the first pitchbend
event in PitchmodelMidi but not all contained pitchbend events, what I
would normally expect.
Kind regards,
Tony