<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Mr Jedi Storm,<br><br>I'm cc'ing the audio-user list again since others may be able to help.&nbsp; <br><br>I use midi files instead of an actual hardware device like you do.&nbsp; I run a (home-made) utility which strips out the note-off events from the percussion track and saves the updated midi file.&nbsp; I then play back the resulting file with fluidsynth and the problem goes away.<br><br>In your case you will need to configure a program to filter the events out before they get to fluidsynth.&nbsp;&nbsp; I've never done this kind of filtering so I don't know which software to recommend, but assuming such a real-time midi filter exists, it should be possible to create a chain by connecting the alsa ports of the various applications together correctly and make this all work. <br><br>Ken<br><br>--- On <b>Thu, 9/10/09, Jedi Storm
 <i>&lt;jedi00@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Jedi Storm &lt;jedi00@gmail.com&gt;<br>Subject: Re: [LAU] FluidSynth fails to sintetize more 85% events generated by  Drum machine ALESIS D4.<br>To: "Ken Ellinwood" &lt;kellinwood@yahoo.com&gt;<br>Date: Thursday, September 10, 2009, 6:07 PM<br><br><div id="yiv1260518517">KEn , <br><br>Excuseme but what do you mean with ; strip out the note-off events in the percussion tracks altogether ? <br><br>I've the posibility to change default Instrument bank position as well with an editor ...<br>
<br>Thank you very very much ! <br><br><br><div class="gmail_quote">2009/9/11 Ken Ellinwood <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:kellinwood@yahoo.com" target="_blank" href="/mc/compose?to=kellinwood@yahoo.com">kellinwood@yahoo.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
It doesn't matter if they are note-off or note-on with a velocity=0, fluidsynth treats both as note-off events.&nbsp; You are experiencing a bug which occurs when a note-on is followed shortly by a note-off or note-on-velocity-zero event.&nbsp; If the temporal spacing between the two events is short enough that fluidsynth processes both events during the same cycle, then audio for the note-on is never generated.&nbsp; This occurs most frequently with percussion tracks since the note-on and note-offs are spaced very closely together.&nbsp;&nbsp; The only solution I've found is to strip out the note-off events in the percussion tracks altogether.&nbsp;&nbsp; Its a pain, but works pretty well.<br>
<br>Ken<br><br>--- On <b>Thu, 9/10/09, James Cameron <i>&lt;<a rel="nofollow" ymailto="mailto:quozl@us.netrek.org" target="_blank" href="/mc/compose?to=quozl@us.netrek.org">quozl@us.netrek.org</a>&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">
<br>From: James Cameron &lt;<a rel="nofollow" ymailto="mailto:quozl@us.netrek.org" target="_blank" href="/mc/compose?to=quozl@us.netrek.org">quozl@us.netrek.org</a>&gt;<br>Subject: Re: [LAU] FluidSynth fails to sintetize more 85% events generated by Drum machine ALESIS D4.<br>To: <a rel="nofollow" ymailto="mailto:linux-audio-user@lists.linuxaudio.org" target="_blank" href="/mc/compose?to=linux-audio-user@lists.linuxaudio.org">linux-audio-user@lists.linuxaudio.org</a><br>
Date: Thursday, September 10, 2009, 4:10 PM<div><div></div><div class="h5"><br><br><div>On Thu, Sep 10, 2009 at 07:36:06PM +0200, Jedi Storm wrote:<br>&gt; MIDI Keyboard or Virtual Keyboard generate NOTE ON and NOTE OFF events , The<br>
&gt; alesis D4 only generates NOTE ON midi events.<br><br>This will be the cause of the symptom.<br><br>Change the D4 configuration to generate NOTE OFF events?<br><br>I've checked, and fluidsynth has no documented option for inventing the<br>
NOTE OFF events, so you have to generate them.<br><br>I've briefly googled, and there are mentions of changing the D4 to<br>generate NOTE OFF events.&nbsp; I'm not familiar with the D4 myself though.<br><br>-- <br>James Cameron<br>
<a rel="nofollow" target="_blank" href="http://quozl.linux.org.au/">http://quozl.linux.org.au/</a><br>_______________________________________________<br>Linux-audio-user mailing list<br><a rel="nofollow" target="_blank" href="http://mc/compose?to=Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user">http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user</a><br></div></div></div></blockquote></td></tr></tbody></table><br>



      <br>_______________________________________________<br>
Linux-audio-user mailing list<br>
<a rel="nofollow" ymailto="mailto:Linux-audio-user@lists.linuxaudio.org" target="_blank" href="/mc/compose?to=Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user">http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user</a><br>
<br></blockquote></div><br>
</div></blockquote></td></tr></table><br>