# Examples of "haskell-rich" tidal pieces

**URL:** <https://uzu.lurk.org/t/examples-of-haskell-rich-tidal-pieces/3389>\
**Category:** Uncategorized\
**Created:** [8 August 2021 23:27 UTC](https://uzu.lurk.org/t/examples-of-haskell-rich-tidal-pieces/3389 "2021-08-08T23:27:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Halley](https://uzu.lurk.org/user_avatar/uzu.lurk.org/halley/32/1956_2.png) [@Halley](https://uzu.lurk.org/u/Halley)\
**Post date:** [8 August 2021 23:27 UTC](https://uzu.lurk.org/t/examples-of-haskell-rich-tidal-pieces/3389/1 "2021-08-08T23:27:47Z")

</div>

Has anyone here written a piece in tidal cycles that required significant coding besides defining the parameters of each element of the piece (e.g., some sort of counterpoint-generating monad, cellular-automata-based pattern, or any of the other workhorses of traditional algorithmic composition)? I'd love to see such code, as I'm trying to figure out whether tidal could ever stand in for non-live-coding algorithmic languages such as Common Music!

---

<div class="post-metadata">

**Author:** ![cleary](https://uzu.lurk.org/user_avatar/uzu.lurk.org/cleary/32/177_2.png) [@cleary](https://uzu.lurk.org/u/cleary)\
**Post date:** [9 August 2021 22:57 UTC](https://uzu.lurk.org/t/examples-of-haskell-rich-tidal-pieces/3389/2 "2021-08-09T22:57:55Z")

</div>

This terminology is beyond me, but I suspect you may want to take a look at some of the practice videos by left\_adjoint/Clarissa Littler, eg

**TidalCycles (7/27/2021): chips and comonadic rambles**

https://www.youtube.com/embed/8ym-hVFW3-Y?feature=oembed&wmode=opaque&list=PLa_MGpdaZU2XNBdnvAAKV8DzAxpt0Sr6Y

There is a playlist:  
https://www.youtube.com/embed/videoseries?list=PLa_MGpdaZU2XNBdnvAAKV8DzAxpt0Sr6Y&wmode=transparent&rel=0&autohide=1&showinfo=1&enablejsapi=1

---

<div class="post-metadata">

**Author:** ![Halley](https://uzu.lurk.org/user_avatar/uzu.lurk.org/halley/32/1956_2.png) [@Halley](https://uzu.lurk.org/u/Halley)\
**Post date:** [10 August 2021 00:42 UTC](https://uzu.lurk.org/t/examples-of-haskell-rich-tidal-pieces/3389/3 "2021-08-10T00:42:32Z")

</div>

> [@cleary](#):
>
> There is a playlist:

Thanks, this is exactly what I was looking for!

---

<div class="post-metadata">

**Author:** ![yaxu](https://uzu.lurk.org/user_avatar/uzu.lurk.org/yaxu/32/2_2.png) [@yaxu](https://uzu.lurk.org/u/yaxu)\
**Post date:** [10 August 2021 16:23 UTC](https://uzu.lurk.org/t/examples-of-haskell-rich-tidal-pieces/3389/4 "2021-08-10T16:23:37Z")

</div>

In general people don't tend to (need to) escape from the Tidal DSL into the rest of Haskell, and stateful operations like cellular automata doesn't sit well with Tidal's focus on stateless pattern combinations and transformation.

That said there is now a way to [create stateful events](https://club.tidalcycles.org/t/working-with-tidal-state-values-tidal-can-count/2955), as a useable working prototype. I'd love to see that pushed further.

Furthermore recently I've been thinking about replacing the mini-notation with proper Haskell with a distinct type for rhythms for Tidal v2.0. Then rhythms and patterns could be embedded in each other and stateful algorithmic composition on sequences would become more idiomatic to Tidal.

and a +1 on looking into what Clarissa is up to!
