swesterfeld / liquidsfz

SFZ Sampler
Mozilla Public License 2.0
79 stars 12 forks source link

Request for Synth::get_num_used_voices() API #4

Closed falkTX closed 4 years ago

falkTX commented 4 years ago

We currently have Synth::set_max_voices, but without a way to know the currently in-use number of voices, it is hard to know if there is room for less or not (we need to go by ear)

swesterfeld commented 4 years ago

Right, this makes sense: https://github.com/swesterfeld/liquidsfz/commit/7ef8c1200589d14856422faf30b6c544f10b6560