Closed georgecartridge closed 10 months ago
Thanks!
BTW, published v0.12.0
BTW, published v0.12.0
I just tried updating my smplr version but the feature changes don't seem to have been published in the package. The updated README file is there, just not the code in the merged commit.
Summary: I've introduced the ability for the Splended Grand Piano component to load a subset of its audio files in the configuration object.
Why: This allows you to reduce the amount of audio files downloaded by the user by specifying the notes and a velocity range that the user will play when setting the piano component up.
Changes:
[Additional Note + Example]:
notesToLoad.velocityRange
will include the notes given innotesToLoad.notes
for all velocity layers in that velocity range.So if a user wants to load audio files for the note C4 for all velocity layers, they can pass a notesToLoad object with this data. The resulting component would look like this