[LAU] FluidSynth fails to sintetize more 85% events generated by Drum machine ALESIS D4.

david gnome at hawaii.rr.com
Fri Sep 11 01:55:25 EDT 2009


Midish can do that, yes?

Ken Ellinwood wrote:
>   Mr Jedi Storm,
> 
> I'm cc'ing the audio-user list again since others may be able to help. 
> 
> I use midi files instead of an actual hardware device like you do.  I 
> run a (home-made) utility which strips out the note-off events from the 
> percussion track and saves the updated midi file.  I then play back the 
> resulting file with fluidsynth and the problem goes away.
> 
> In your case you will need to configure a program to filter the events 
> out before they get to fluidsynth.   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.
> 
> Ken
> 
> --- On *Thu, 9/10/09, Jedi Storm /<jedi00 at gmail.com>/* wrote:
> 
> 
>     From: Jedi Storm <jedi00 at gmail.com>
>     Subject: Re: [LAU] FluidSynth fails to sintetize more 85% events
>     generated by Drum machine ALESIS D4.
>     To: "Ken Ellinwood" <kellinwood at yahoo.com>
>     Date: Thursday, September 10, 2009, 6:07 PM
> 
>     KEn ,
> 
>     Excuseme but what do you mean with ; strip out the note-off events
>     in the percussion tracks altogether ?
> 
>     I've the posibility to change default Instrument bank position as
>     well with an editor ...
> 
>     Thank you very very much !
> 
> 
>     2009/9/11 Ken Ellinwood <kellinwood at yahoo.com
>     </mc/compose?to=kellinwood at yahoo.com>>
> 
>         It doesn't matter if they are note-off or note-on with a
>         velocity=0, fluidsynth treats both as note-off events.  You are
>         experiencing a bug which occurs when a note-on is followed
>         shortly by a note-off or note-on-velocity-zero event.  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.  This occurs most
>         frequently with percussion tracks since the note-on and
>         note-offs are spaced very closely together.   The only solution
>         I've found is to strip out the note-off events in the percussion
>         tracks altogether.   Its a pain, but works pretty well.
> 
>         Ken
> 
>         --- On *Thu, 9/10/09, James Cameron /<quozl at us.netrek.org
>         </mc/compose?to=quozl at us.netrek.org>>/* wrote:
> 
> 
>             From: James Cameron <quozl at us.netrek.org
>             </mc/compose?to=quozl at us.netrek.org>>
>             Subject: Re: [LAU] FluidSynth fails to sintetize more 85%
>             events generated by Drum machine ALESIS D4.
>             To: linux-audio-user at lists.linuxaudio.org
>             </mc/compose?to=linux-audio-user at lists.linuxaudio.org>
>             Date: Thursday, September 10, 2009, 4:10 PM
> 
> 
>             On Thu, Sep 10, 2009 at 07:36:06PM +0200, Jedi Storm wrote:
>              > MIDI Keyboard or Virtual Keyboard generate NOTE ON and
>             NOTE OFF events , The
>              > alesis D4 only generates NOTE ON midi events.
> 
>             This will be the cause of the symptom.
> 
>             Change the D4 configuration to generate NOTE OFF events?
> 
>             I've checked, and fluidsynth has no documented option for
>             inventing the
>             NOTE OFF events, so you have to generate them.
> 
>             I've briefly googled, and there are mentions of changing the
>             D4 to
>             generate NOTE OFF events.  I'm not familiar with the D4
>             myself though.
> 
>             -- 
>             James Cameron
>             http://quozl.linux.org.au/


-- 
David
gnome at hawaii.rr.com
authenticity, honesty, community



More information about the Linux-audio-user mailing list