sfizz

Link to good samples/soundfonts at http://wiki.linuxaudio.org/wiki/free_audio_data

Moderators: khz, MattKingUSA

paulfd
Established Member
Posts: 4
Joined: Wed Oct 02, 2019 6:40 pm

Re: sfizz

Postby paulfd » Sat Oct 05, 2019 10:07 am

Michael Willis wrote:
paulfd wrote:while still preallocating the required space to hold the LFO states for each voice somewhere

Why is it necessary to preallocate space to hold LFO states? Isn't it just a function of time? Or do you mean having audio buffer space to store the modulation effects influenced by the LFOs?


Assume that an LFO is basically just a frequency and phase that you have to store in between callbacks to compute the "next chunk" of the sine or cosine, possibly modulating the frequency during the rendering. These values need to be stored somewhere, but considering the way LFOs are supposed to work in SFZ v2, it does not make too much sense to store them within the voice object that will render the sample because depending on the region parameters you may have an arbitrary number of LFOs running in parallel. You would rather have some pool of LFOs that voices can borrow when they start a specific region, and give them back when the sample ends. During the lifecycle of the voice it can track the which LFO targets which parameter, etc.

It's this borrowing and parameter dispatching mechanism that I do not have implemented yet. The good news is the SFZ v2 envelopes and probably even the EQs can work in the some similar way, so this distribution pattern can be used for all of the more advanced parts of the SFZ spec.

stanlea
Established Member
Posts: 567
Joined: Wed Apr 25, 2012 9:49 pm

Re: sfizz

Postby stanlea » Mon Oct 07, 2019 7:56 am

Thank you all for this, we have been waiting a long time for this. Good luck with sfz specs !

User avatar
Michael Willis
Established Member
Posts: 840
Joined: Mon Oct 03, 2016 3:27 pm
Location: Rocky Mountains, North America
Contact:

Re: sfizz

Postby Michael Willis » Fri Oct 11, 2019 1:34 am

I keep thinking that we could make a plugin that incorporates both libgig and sfizz so that it supports GIG and SFZ files. After considering what name to pick, it came to me in a flash...

FIZZGIG.

Image


Return to “Samplers & samples”

Who is online

Users browsing this forum: No registered users and 1 guest