Using MIDI controller to trigger sliced up samples

Hi @mrbombmusic,

great video thanks!

w.r.t. including source code, as it’s just Markdown, you just need to start and finish the code block with three backticks: ``` (I’ve edited your post accordingly so you can see what I mean).

Also, w.r.t. the issue with number of slices - have you noticed that you’ve misspelled the opt? It’s num_slices: not num_slice:. Incorrectly spelled opts are ignored by Sonic Pi which is probably why your’e not seeing any change of behaviour.

Additionally, you might want to take a look at sample's onset: opt - it might blow your mind :wink: