All of MIDI IN to tidal I've seen is controlling values of pre-defined patterns. Even if that control is spread across the keyboard, you are still controlling variables instead of triggering events. I was wondering about this and commented about it in the last stream (Stream #5). Alex responded it would be possible, so I'm creating this topic to talk about it. I'm not 100% my idea came across in the stream or in this paragraph so I'll explain better:
I imagine the possibility of writing something like this: -pseudocode warning-
d1 $ stutWith 3 (1/8) (|+ note 7) $ midiIn # s "arpy" # room 0.4 # pan rand
And have this work in a way that if you press, for example, A4 in your MIDI keyboard, it would generate the same result as doing:
once $ stutWith 3 (1/8) (|+ note 7) $ note "a4" # s "arpy" # room 0.4 # pan rand
This way Tidal could also turn into a physical instrument itself, and therefore, the most powerful playable sampler in the world. I think it'd be cool.
I don't know nothing about Haskell so I wouldn't even be sure on how to start to approach this. Tell me what you think of this idea and if it'd be possible. I have been told there's a 'midiIn' feature in FoxDot, so that might be something worth to look into too.