Re: [fluid-dev] Drunken drummer and fluidsynth

2009-04-07 Thread D.Bartolec
David, I knew that Pedro and you were discussing another problem but term "drunken drummer" applied to my finding so I used it. Yes the problem I am talking about is described by Ticket #1. Audio buffer does not need to be increased. I left it at 64 bytes and with my fix it did not loose a si

[fluid-dev] Drunken drummer and fluidsynth

2009-04-07 Thread D.Bartolec
Hi, I've written simple windows console test app that opens midi port, accepts and plays messages through fluidsynth. Thing that struck me straight away is drunken drummer style of percussion channel. If you play reasonably complex MIDI file from hardware (MIDI sequencer) or software (PowerTra

Re: [fluid-dev] Fix for problem with CC changes to Bank MSB

2009-04-04 Thread D.Bartolec
David, You are right this part of my fix show here: + if ( (chan == 9) && (bank_msb == 0)) + { + bank_msb = 1; /* Ignore CC value and set the default MSB value for drum channel */ + } is not necessary and yes it will prevent from other instruments being assigned to drum channel. I put

[fluid-dev] Fix for problem with CC changes to Bank MSB

2009-04-04 Thread D.Bartolec
I've discovered it after playing some MIDI files that would send bank LSB:0 for drum channel without sending bank MSB at all. This would cause drum tracks to change to MSB:0 LSB:0. Here is the fix: Index: src/fluid_chan.c === ---

[fluid-dev] Problem with CC and MIDI banks

2009-04-03 Thread D.Bartolec
Hi, I've been playing with fluidsynth and have noticed that something is wrong with BANK_SELECT_MSB handling in fluid_chan.c I can help with fixing and testing this problem if you want me to: General description of the problem is: - while playing midi files using fluid_player_play DRUM channel