Log In  

Note: this does not work properly in the web player, but it should work fine on desktop. Perhaps using larger buffers will fix the web version? I'll have to try that later.

Cart #lazy_procedural_acid_picotron-0 | 2024-04-11 | Embed ▽ | License: CC4-BY-NC-SA
5

Just a short little proof-of-concept for streaming PCM output in Picotron. Could stand to be streamlined and cleaned up a fair bit (and commented better!), but hopefully this gets the idea across. The idea is to set up a few different sfx instruments playing different wavetables on adjacent rows of a pattern, use stat() calls to track the currently playing row, and update non-playing rows with new samples. There are a few gotchas to work around - setting up the instruments is a little fiddly, and Picotron crossfades instruments between rows so some samples need to be written to multiple instruments.

P#146405 2024-04-11 23:12 ( Edited 2024-04-11 23:36)


[Please log in to post a comment]