Re: [fluid-dev] Re: Changes checked into CVS

2006-12-11 Thread Josh Green
Thanks for reminding me of the dangers of macros :) Josh On Mon, 2006-12-11 at 14:58 +, Paul Millar wrote: > On Monday 11 December 2006 14:24, Josh Green wrote: > > On Mon, 2006-12-11 at 00:19 +0200, Mihail Zenkov wrote: > > > IMHO better replace roundf with this code in all case: > >

Re: [fluid-dev] fluid_event_noteon() on channel 9 under winxp

2006-12-11 Thread Stephen Grant
Sorry, I should have been more specific. I was trying to get an open cymbal sound using the sequencer, and none of them worked using the SONiVOX.sf2 font (258mb). (They all sound like a very short closed high hat sound) Now I now realize the problem is not the sequencer, and possibly not even F

Re: [fluid-dev] Re: Changes checked into CVS

2006-12-11 Thread Paul Millar
On Monday 11 December 2006 14:24, Josh Green wrote: > On Mon, 2006-12-11 at 00:19 +0200, Mihail Zenkov wrote: > > IMHO better replace roundf with this code in all case: > > > > inline int roundi(float x) [..] > > It slightly faster then gcc roundf (1.5 time). > > Sounds good, will also be more port

Re: [fluid-dev] Re: Changes checked into CVS

2006-12-11 Thread Josh Green
On Mon, 2006-12-11 at 00:19 +0200, Mihail Zenkov wrote: > IMHO better replace roundf with this code in all case: > > inline int roundi(float x) > { > if (x >= 0.0f) > return (int)(x+0.5f); > else > return (int)(x-0.5f); > } > > It slightly faster th