strudel icon indicating copy to clipboard operation
strudel copied to clipboard

audio input

Open felixroos opened this issue 2 years ago • 4 comments

it would be nice if strudel could receive and process audio. I managed to get my audio interface channel 1 like this:

input(0)

see https://strudel.tidalcycles.org/?ztG6mAho6aOU

I'm not sure if / how this could be patterned.. though it might be a good start to just support adding audio input. This is handy if you want to pattern an external instrument via midi and receive back the audio without extra software. Maybe there is a way to implement stuff like

input(0).room("<0 .5>").lpf(2000)

even more maybe, the input could be registered via registerSound, to enable doing:

s("input:0").room("<0 .5>").lpf(2000)

This could be tricky, because plugging inputs on and off might create silence or even cracks.

felixroos avatar Jun 22 '23 14:06 felixroos

yep, it's complicated: https://strudel.cc/?dnA4DP1ceQm5

felixroos avatar Jun 22 '23 23:06 felixroos

related: https://club.tidalcycles.org/t/baked-in-support-for-midi-in-audio-in-and-audio-devices-channels/5098/4

felixroos avatar Mar 07 '24 20:03 felixroos

audio recording example: https://discord.com/channels/779427371270275082/937365093082079272/1221457283968405504 / https://strudel.cc/?jN5kb_k1C3KR

felixroos avatar Mar 24 '24 21:03 felixroos

Improved version of the looper: https://strudel.cc/?uxBZTiojsEW8

ilesinge avatar Apr 01 '24 21:04 ilesinge