i don't know of any specifics, but in theory i can think of two ways to do it: one is to add a constant time offset to any 'note off' or 'note on with 0 velocity' event, and the other is to ignore those events and add them in manually by taking the normal note on event and adding a note off (or 0) event with a constant offset. don't know what things you can do it in though, maybe puredata?
<br><br>porl<br><br><div><span class="gmail_quote">On 17/01/2008, <b class="gmail_sendername">lanas</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br> Looking for a way to 'elongate' the period of MIDI events.<br><br> Doctor, what should I do to please her ears ?<br><br> Seriously, the problem is, Qsynth cannot play any MIDI note that is<br>played by a percussive MIDI pad, in this case the Alesis Control Pad
<br>played with drum sticks. Here's the thing (cheap at some $250 brand<br>new):<br><br><a href="http://www.alesis.com/product.php?id=103">http://www.alesis.com/product.php?id=103</a><br><br> It's as plain and simple as that. Can anyone
<br>verify it ? Start up Qsynth, load the Chromium sound font, pick a piano<br>sound, connect a MIDI percussive instrument, and try to play 10<br>consecutive, clear notes. No way. Try then with a percussive<br>soundfont. A drum set.
<br><br> Now, do the same with Hydrogen and the same MIDI pad. Works nicely.<br>Velocity works also nicely. Now make it take into account MIDI note offs<br>(it's in the Preferences, the default being to ignore them). You'll
<br>see that although most notes play OK, some are clipped.<br><br> Try also with WhySynth. Some patches work OK, some don't. When they<br>work, they even work with drum stick rebounds, as with Hydrogen.<br><br> From Kmidimon, the Alesis Control Pad MIDI notes, when hit with drum
<br>sticks, last typically 1 unit of time (whatever unit that is) eg.:<br><br>Time Event Data1 Data2<br>89985 Note on 63 0<br>89984 Note on 63 55<br><br> Whereas the shortest note I can do on an Axiom 25 keyboard looks like:
<br><br>Time Event Data1 Data2<br>41067 Note on 89 00<br>41051 Note on 89 94<br><br> That's a whole 16 units of whatever time. Same with the Axiom's<br>pads: they last a long time and thus, interact OK with Qsynth.
<br><br> My theory about Qsynth (Fluidsynth...) is that the MIDI notes sent by<br>the MIDI percussion instrument are too short for it to pick them up.<br>Could that be ? It'd be nice to play all those available percussive
<br>soundfonts using a MIDI percussion controller. Wprks all right with<br>Hydrogen, but not with Qsynth. Should Alesis make their Control Pad<br>send longer MIDI notes ? Or have a programmable parameter for each<br>note ? I don't know. Hydrogen works, but not Qsynth.
<br><br> But then, can there be a default note length ? I would be glad to<br>set some default note length. I could even take the time to set notes<br>lengths according to soundfonts and load them with the instruments...
<br>as long as there's a filter that could do that.<br><br> So, is there a MIDI filter out there that would enable something like<br>this ? To make (all or specific) MIDI notes last longer ?<br><br>Thanks for reading, and do not hesitate to throw suggestions.
<br><br>Jam, no spam,<br><br>Al<br><br>_______________________________________________<br>Linux-audio-user mailing list<br><a href="mailto:Linuxemail@example.com">Linuxfirstname.lastname@example.org</a><br>