flucoma / flucoma-sc

Fluid Corpus Manipulation plugins for Supercollider
BSD 3-Clause "New" or "Revised" License
70 stars 16 forks source link

Feature/voice allocator #158

Open tremblap opened 1 year ago

tremblap commented 1 year ago

an almost working attempt at it. Not changing the wrapper is most probably the culprit but kr inputs have to arrive together bundled so the rationale here would be to keep it as a single kr in of format in+in1+in2

it is almost working - monitoring the state of the data, before it crashes to overwrite in triple input size, this gets the right values in:

```{FluidVoiceAllocator.kr(DC.kr((0..4)), DC.kr((10..14)), DC.kr((100..104))).poll(1);Silent.ar}.play````

any input welcome

tremblap commented 1 year ago

my hunch is that around line 184 of the wrapper we need to do something - most probably a modulo around the size of one input which we would query/pass I don't know how