Hacker News new | ask | show | jobs
by djaychela 1978 days ago
I'm certainly not at a level to be able to use this kind of thing fully, and I've had several attempts in the past to try to learn to create audio plugins/instruments (as audio is my main domain, I'm a dabbling programmer), but this looks like it could help get me where I want to go.

I have a (probably dumb) question. I've looked through the docs, and I can't see how you would play a sample back (i.e. to create a simple sampler, which is one of the projects I'm most interested in creating). Am I missing something, or is that something that wouldn't be present at that level, and you'd need to roll your own?

EDIT: I've just read the code for the simple piano, and I see that it implements the sample playback itself, so I guess that answers my own question!

1 comments

Our "Minimum Viable Piano" example is a multi-sampled piano, which should show you how it works:

https://soul.dev/lab/?id=MinimumViablePiano