Skip to content

Trying to get ml_synth_sampler_example to work... #48

Discussion options

You must be logged in to vote

SetSampleBuffer is required to keep some space for a sample or multiple samples. In case you are loading just one sample the size of the sample would be sufficient like 16k.

You could code like this:

static uint8_t storage[16 * 1024];
uint32_t storagebytes = sizeof(storage);
SetSampleBuffer(storage, storagebytes);

storage shall be used in global scope.

The sampler is currently precompiled to avoid any side effects and compiling issues. I plan to keep the sampler open source. There are some modules which will be linkable only.

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@KontinuumLab
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by KontinuumLab
Comment options

You must be logged in to vote
1 reply
@marcel-licence
Comment options

Comment options

You must be logged in to vote
1 reply
@marcel-licence
Comment options

Comment options

You must be logged in to vote
2 replies
@marcel-licence
Comment options

@KontinuumLab
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants