When I load a sample into an array I would like to have a slider automatically update it's range to match the sample.
How do I do this?
edit: ok I found the arraysize function, but how do I tell a slider to set it's range accordingly?
Automatically set range of slider to loaded sample size?
When I load a sample into an array I would like to have a slider automatically update it's range to match the sample.
How do I do this?
edit: ok I found the arraysize function, but how do I tell a slider to set it's range accordingly?
You mean something like this?
yeah that's it thanks
Oops! Looks like something went wrong!