Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Third party node: SliderPack ExternalData seems to be limited to 128 #650

Open
ustk opened this issue Dec 22, 2024 · 0 comments
Open

Third party node: SliderPack ExternalData seems to be limited to 128 #650

ustk opened this issue Dec 22, 2024 · 0 comments

Comments

@ustk
Copy link
Contributor

ustk commented Dec 22, 2024

setUsePreallocatedLength() on the UI sliderPack that is connected to the node doesn't solve the issue:

https://forum.hise.audio/topic/11411/externaldata-sliderpack-seems-to-be-limited-to-128

const var spd = Engine.createAndRegisterSliderPackData(0);
spd.setUsePreallocatedLength(512);
spd.setNumSliders(512);
spd.setRange(0.0, 1.0, 0.0);


const var t = Engine.createTimerObject();

t.setTimerCallback(function()
{
	spd.setValue(307, 0.123);
	
	Console.print(spd.getValue(307)); // 1.0
	
	Console.print(spd.getNumSliders()); // 32
});
t.startTimer(1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant