Re: [fluid-dev] sequencer / synth bug ?

2007-05-23 Thread Mihail Zenkov
Sorry for long answer. > you mean that the 1ms accuracy of fluid may be the cause of the > problem ? But the noteoffs are programmed about 7 ms after the > noteons... It just imho. What Josh think about this? When i run fluidsynth with -v i see something like this: fluidsynth: noteon 9

Re: [fluid-dev] sequencer / synth bug ?

2007-05-15 Thread Mihail Zenkov
On Tue, 15 May 2007 00:05:01 +0200 Antoine Schmitt <[EMAIL PROTECTED]> wrote: > Hello Mihail, > > did you confirm your intuition on this ? > Can you explain more so that I can try to fix the problem ? > Thanks a lot, I do more tests - this bug more complicated then i think before. I try play thi

Re: [fluid-dev] Purpose of dither?

2007-05-11 Thread Mihail Zenkov
On Fri, 11 May 2007 12:54:45 -0700 (PDT) Z F <[EMAIL PROTECTED]> wrote: > > --- Miguel Lobo <[EMAIL PROTECTED]> wrote: > > > > > > > It does not matter if you add random float to a float and truncate > > or > > > trancate and add a random bit, the outcome will be exactly the same > > > sequence

Re: [fluid-dev] Purpose of dither?

2007-05-11 Thread Mihail Zenkov
On Thu, 10 May 2007 11:24:51 -0700 (PDT) Z F <[EMAIL PROTECTED]> wrote: > > --- Mihail Zenkov <[EMAIL PROTECTED]> wrote: > > > > > :) Where are you read this? I six years do amplifiers (mainly on > > tubes) > > and acoustics. All amplification st

Re: [fluid-dev] Purpose of dither?

2007-05-10 Thread Mihail Zenkov
On Wed, 9 May 2007 15:24:12 -0700 (PDT) Z F <[EMAIL PROTECTED]> wrote: > > --- Mihail Zenkov <[EMAIL PROTECTED]> wrote: > > > > > 1. Dynamic gain just fake. I can change velocity curve in midi and > > get > > something similarities gamma-correcti

Re: [fluid-dev] Purpose of dither?

2007-05-09 Thread Mihail Zenkov
On Wed, 9 May 2007 06:12:10 -0700 (PDT) Z F <[EMAIL PROTECTED]> wrote: > > --- Mihail Zenkov <[EMAIL PROTECTED]> wrote: > > > > > > > Yes, I hear. > > > > 1. 16bit accuracy give 96 dB resolution. Human limit 120dB. > > > > 2.

Re: Fwd: [fluid-dev] Purpose of dither?

2007-05-09 Thread Mihail Zenkov
Subject: Re: [fluid-dev] Purpose of dither? > > To: Mihail Zenkov <[EMAIL PROTECTED]> > > > > Admittedly I have forgotten a lot about signal processing, but I'm > > not sure > > I agree with everything you're saying. > > > > Roughly, dithe

Re: [fluid-dev] Purpose of dither?

2007-05-09 Thread Mihail Zenkov
On Wed, 9 May 2007 01:36:13 +0100 Miguel Lobo <[EMAIL PROTECTED]> wrote: > > Yes, you absolutely right. But look at that code again: > > > > for (c = 0; c < DITHER_CHANNELS; c++) { > > dp = 0; > > for (i = 0; i < DITHER_SIZE-1; i++) { > > d = rand() / (float)RAND_MAX - 0.5f; > >

Re: [fluid-dev] Purpose of dither?

2007-05-08 Thread Mihail Zenkov
>> My English bad, but i try answer. >I am relatively sure that my native lanugage is the same as yours :) >and what you wrote in English is perfectly readible to me :) I'm glad :) > > Yes, I hear. > > 1. 16bit accuracy give 96 dB resolution. Human limit 120dB. > > 2. For mostly purpose 96 dB en

Re: [fluid-dev] Purpose of dither?

2007-05-08 Thread Mihail Zenkov
My English bad, but i try answer. > Just a few comments. > > First of all I do not understand why dithering is needed at all. All professional quality audio apps use dithering (from free software: jack, audacity, brutefir, etc). > 1.Do you mean that 16-bit accuracy is not enough and a human ea

Re: [fluid-dev] Purpose of dither?

2007-05-08 Thread Mihail Zenkov
On Tue, 8 May 2007 12:58:00 +0200 "Miguel Lobo" <[EMAIL PROTECTED]> wrote: > > > > http://en.wikipedia.org/wiki/Dither > > In our case we have TPDF. > > > Thanks, I should have thought of looking it up in Wikipedia. Is there any > reason why separate dither buffers are used for the left and rig

Re: [fluid-dev] Purpose of dither?

2007-05-08 Thread Mihail Zenkov
On Tue, 8 May 2007 01:22:45 +0200 "Miguel Lobo" <[EMAIL PROTECTED]> wrote: > Hi list, > > We have this code in fluid_synth.c: > > #define DITHER_SIZE 48000 > #define DITHER_CHANNELS 2 > > static float rand_table[DITHER_CHANNELS][DITHER_SIZE]; > > static void init_dither(void) > { > float d,

Re: [fluid-dev] sequencer / synth bug ?

2007-05-07 Thread Mihail Zenkov
On Mon, 7 May 2007 10:31:19 +0200 Antoine Schmitt <[EMAIL PROTECTED]> wrote: > Thanks Mihail, > do you mean that you tested my midi file on your system and you also > fails to hear (some of) the drums ? > Please can you let me know what your context is ? platform, software, > libraries, versio

Re: [fluid-dev] Subversion migration

2007-05-06 Thread Mihail Zenkov
On Wed, 18 Apr 2007 12:12:21 +0200 Josh Green <[EMAIL PROTECTED]> wrote: > I'm looking into converting FluidSynth CVS to Subversion. Unfortunately > it seems that Savannah's subversion support is rather sub par. They > have documents on converting CVS to Subversion, but I can't find > anything o

Re: [fluid-dev] sequencer / synth bug ?

2007-05-04 Thread Mihail Zenkov
On Fri, 4 May 2007 11:09:41 +0200 Antoine Schmitt <[EMAIL PROTECTED]> wrote: > Hello all, > actually more information on this issue. > On my Windows machine, the standard command-line fluidsynth.exe does > not play _any_ drum note of the given TwistAndShout.mid midi file. > Note that in this fil

Re: [fluid-dev] Fluidsynth changes

2007-04-21 Thread Mihail Zenkov
> - Other audio formats (floating point or 24 bit for example, new > SoundFont 2.04 supports 24 bit, and now Swami/libInstPatch does too, but > can only hear it in 16 bits!) Why we hear it only in 16 bits? > As for the question of platform. We have: > > A. Continue using C without any support

Re: [fluid-dev] some notes of Cadenza.sf2 don't sound right

2007-03-19 Thread Mihail Zenkov
> As long as that seems like a normal way of handling clipping, then I > suppose its OK. I was just curious if there are any more elegant > solutions. Unfortunately I'm no DSP expert, but I get by OK :) Cheers! > Josh I also no DSP expert, i just like HQ audio and do for this what i can

Re: [fluid-dev] some notes of Cadenza.sf2 don't sound right

2007-03-18 Thread Mihail Zenkov
> > What about 'internal clipping', how can i reproduce this? > > I notice that when playing many notes of an instrument it starts > sounding clipped, but the output going to the sound card is not full > output. Lowering the synth.gain parameter of course helps this. It > just seems like FluidSy

Re: [fluid-dev] some notes of Cadenza.sf2 don't sound right

2007-03-17 Thread Mihail Zenkov
> There is one issue that can still be a problem and that is that if > FluidSynth is internally configured at a different baud rate than what > the driver is using. This will usually be reported as a warning though > (perhaps it should actually be a fatal error, at least until drivers can > switch

Re: [fluid-dev] some notes of Cadenza.sf2 don't sound right

2007-03-17 Thread Mihail Zenkov
On Sat, 17 Mar 2007 07:50:47 +0100 oxi <[EMAIL PROTECTED]> wrote: > Hello, > > I have checked this in other sf2 samplers for windows and there they sound > right. In FluidSynth 1.0.7 some notes of the grand piano of Cadenza don't > sound right; I also noticed this with other sf2 which I can't r

Re: [fluid-dev] scaleTuning fix

2007-03-06 Thread Mihail Zenkov
On Tue, 06 Mar 2007 13:47:03 + Josh Green <[EMAIL PROTECTED]> wrote: > On Sat, 2007-03-03 at 23:30 +0200, Mihail Zenkov wrote: > > This patch fix case when scaleTuning == 0 (in SF21, page 47 - > > scaleTuning). Yamaha Konzert Piano.sf2 (from p2p) have this case. &

[fluid-dev] Re: Thank you for your efforts

2007-03-04 Thread Mihail Zenkov
On Sat, 3 Mar 2007 21:00:21 -0500 "Marcus Planet" <[EMAIL PROTECTED]> wrote: > Dear Mihail, > > I've been programming so much lately that I've neglected thanking you > and others involved in the fluidsynth project. I'm creating a linux > music program and I'm indebted to the excellent fluidsynth

[fluid-dev] scaleTuning fix

2007-03-03 Thread Mihail Zenkov
This patch fix case when scaleTuning == 0 (in SF21, page 47 - scaleTuning). Yamaha Konzert Piano.sf2 (from p2p) have this case. fluidsynth-scaleTune.patch Description: Binary data ___ fluid-dev mailing list fluid-dev@nongnu.org http://lists.nongnu.org/

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

2006-11-24 Thread Mihail Zenkov
On Thu, 23 Nov 2006 19:13:37 + Josh Green <[EMAIL PROTECTED]> wrote: > Hello Mihail Zenkov, > > Question to others on the list: Anyone have an application using a > new_fluid_*_audio_driver2() call? > > On Wed, 2006-11-22 at 02:57 +0200, Mihail Zenkov wrote: >

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

2006-11-24 Thread Mihail Zenkov
On Thu, 23 Nov 2006 19:13:37 + Josh Green <[EMAIL PROTECTED]> wrote: > Hello Mihail Zenkov, > > Question to others on the list: Anyone have an application using a > new_fluid_*_audio_driver2() call? > > On Wed, 2006-11-22 at 02:57 +0200, Mihail Zenkov wrote: >

Re: [fluid-dev] Dither

2006-11-21 Thread Mihail Zenkov
On Thu, 16 Nov 2006 20:44:36 + Josh Green <[EMAIL PROTECTED]> wrote: > Thanks for the links, I have a better understanding of dithering now :) > FluidSynth really needs a new release, I'll make it a priority. Best > regards, > Josh Green > I fix fluid_aufile.c to use dithering. fluid

Re: [fluid-dev] ALSA driver consuming too much CPU

2006-11-21 Thread Mihail Zenkov
On Tue, 21 Nov 2006 16:14:25 + Paul Millar <[EMAIL PROTECTED]> wrote: > Hi Mihail, > > On Tuesday 21 November 2006 15:16, Mihail Zenkov wrote: > > > I can set the sample rate to 48kHz in fluid_settings_t. But, when I > > > start the audio output, it falls b

[fluid-dev] Re: Changes checked into CVS

2006-11-21 Thread Mihail Zenkov
On Tue, 21 Nov 2006 21:36:16 + Josh Green <[EMAIL PROTECTED]> wrote: > I just checked in some changes into CVS. > > Including: > - Dithering now performed for 16 bit output (thanks to Zenkov Mihail) > - Bug fix to 100% CPU consumption problem with "default" ALSA device > - Some minor bug fixe

Re: [fluid-dev] ALSA driver consuming too much CPU

2006-11-18 Thread Mihail Zenkov
On Thu, 16 Nov 2006 22:02:45 + Paul Millar <[EMAIL PROTECTED]> wrote: > Josh, Garett, > > Thank guys for the quick reply. > > Yes, the work-around worked fine: when setting "audio.alsa.device" to "hw:0" > I see the CPU usage drops to far more modest values. > Setting "audio.alsa.device"

[fluid-dev] Dither

2006-11-10 Thread Mihail Zenkov
I use fluidsynth with midi keyboard and very happy :) But i hear rounding error, i add triangle dither to prevent this. It work for alsa, oss and should work for other audio driver if it use fluid_synth_write_s16. P.S. Sorry my english ;) fluidsynth-dithering.patch Description: Binary data