[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] SoundFont Preset generator interpretation
From: |
Garth Hjelte |
Subject: |
Re: [fluid-dev] SoundFont Preset generator interpretation |
Date: |
Mon, 22 Jun 2020 09:42:06 -0500 |
At 09:09 PM 6/21/2020, you wrote:
>>In the SoundFont spec, it seems - and at times explicitly states - that the
>>Preset values are ADDED to the Instrument Values, and are interpreted as
>>Units specified in the spec. From page 45 (2.01 sepc).
>I could confirm that fluidsynth does what SF 2.01 page 45 states using unit
>specified in the spec (8.1.3 page 37, 38). Generator values at preset level
>are added to instrument generator values. This is true for all generators
>(except for the invalid generators at preset level you read p 45).
I got a response from the Viena author; the mistake I was making was that I was
doing this:
CalcToTimeVal(PresetZoneVal) + CalcToTimeVal(InstrumentZoneVal) = FinalResult
Which is wrong, it should be:
CalcToTimeVal(PresetZoneVal + InstrumentZoneVal) = FinalResult
Since CalcToTimeVal() is a fairly complex equation pow(2, TimeCentVal / 1200),
the two equations DEFINTIELY don't give the same results!
Thanks for your time.
Garth Hjelte
Sampler User
- Re: [fluid-dev] SoundFont Preset generator interpretation,
Garth Hjelte <=