while I happily can use (looped) stereo WAV files via SFZ as an Oscillator source, I have an additional requirement:
Many of my stereo samples exist as 2 separate WAV files, named like this:
"Foo-left.wav"
"Foo-right.wav"
The reason: The loops are different in the files. I could merge the files into one stereo WAV, but then I can only set one loop for both channels together. It's extremely hard to loop a stereo sample like this.
And, of course, I want to avoid the work of converting all my stereo samples and find new loop points.
I suggest one of 2 ways to support split stereo samples:
A) Via Naming Rule (my preferred implementation)
Although the name of the sample in the SFZ file might be "Foo.wav", you will first search for the existence of "Foo-left.wav" and "Foo-right.wav". If both exist, use them. If not, fall back to the current behaviour (search for "Foo.wav").
B) Via SFZ & pan (would be more standard conform, but may be hard to implement)
Code: Select all
<region>
sample=Foo-left.wav
pan=-100
<region>
sample=Foo-right.wav
pan=100