fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] Panning with stereo samples


From: Marcus Weseloh
Subject: Re: [fluid-dev] Panning with stereo samples
Date: Tue, 2 Jan 2018 21:31:37 +0100

2018-01-02 20:41 GMT+01:00 Marcus Weseloh <address@hidden>:
Ok, assuming nobody comes forward who thinks this is a bad idea, I'll draft a pull-request in the near future.

Never mind, I found good arguments against that idea myself. First of all, the SoundFont 2.04 specs say:

"If sfSampleType indicates a left or right sample, then wSampleLink is the sample header index of the associated right or left stereo sample respectively. Both samples should be played entirely syncrhonously, with their pitch controlled by the right sample’s generators. All non-pitch generators should apply as normal; in particular the panning of the individual samples to left and right should be accomplished via the pan generator."

That last sentence pretty much decides it.

Additionally, I found the following Sound Font FAQ: 
ftp://blurredmanswebsite.ddns.net/Drivers/SFX/Creative%20Soundblaster%20AWE64%20Gold/AWE64Gold_CD/CREATIVE.WWW/docs/v0003287.htm

It seems to originate directly from Creative Labs/EMU and contains a section about stereo sounds in SoundFont 2.0. In that section, there are a few bits that seem relevant:

"There is no other "automatic" parameter settings in SoundFont stereo sounds. Pan position may be wherever you like. (no automatic pan position of stereo paired samples). [...] Thus, it is POSSIBLE to build a classic stereo sound (pan hard left/right, half volume on each, same articulation on each) in a SoundFont 2.0 bank but you are not CONFINED to those settings!"

So it's not a bug, it's a feature. Sorry for the noise!

But I will work on the balance control, I still think that would be a good additional feature for FluidSynth.

Cheers,

   Marcus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]