# Trigger a pattern and play once from Midi

**URL:** <https://uzu.lurk.org/t/trigger-a-pattern-and-play-once-from-midi/3762>\
**Category:** TidalCycles\
**Tags:** innards\
**Created:** [30 December 2021 16:59 UTC](https://uzu.lurk.org/t/trigger-a-pattern-and-play-once-from-midi/3762 "2021-12-30T16:59:27Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![geikha](https://uzu.lurk.org/user_avatar/uzu.lurk.org/geikha/32/2701_2.png) [@geikha](https://uzu.lurk.org/u/geikha)\
**Post date:** [9 January 2022 00:01 UTC](https://uzu.lurk.org/t/trigger-a-pattern-and-play-once-from-midi/3762/6 "2022-01-09T00:01:30Z")

</div>

My first topic on the forum is about this precisely lol

> [@Using Tidal as a MIDI Instrument](https://club.tidalcycles.org/t/using-tidal-as-a-midi-instrument/1059):
>
> All of MIDI IN to tidal I've seen is [controlling values of pre-defined patterns](https://tidalcycles.org/index.php/Controller_Input). Even if that control is [spread across the keyboard](https://club.tidalcycles.org/t/get-values-from-midi-keyboard/674/4), you are still controlling variables instead of triggering events. I was wondering about this and commented about it in the [last stream (Stream #5)](https://club.tidalcycles.org/t/live-stream-5-general-catchup-q-a/994). 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 somethi…

still haven't found a satisfying way. i reckon we would have to see what `once $` aka `asap $` does and see how to trigger that action with MIDI. probably all inside haskell

---

_[View the full topic](https://uzu.lurk.org/t/trigger-a-pattern-and-play-once-from-midi/3762)._
