# Fractions, Variables, etc., in Mininotation

**URL:** <https://uzu.lurk.org/t/fractions-variables-etc-in-mininotation/3419>\
**Category:** TidalCycles\
**Tags:** questions\
**Created:** [19 August 2021 14:51 UTC](https://uzu.lurk.org/t/fractions-variables-etc-in-mininotation/3419 "2021-08-19T14:51:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kit-christopher](https://uzu.lurk.org/user_avatar/uzu.lurk.org/kit-christopher/32/686_2.png) [@kit-christopher](https://uzu.lurk.org/u/kit-christopher)\
**Post date:** [19 August 2021 17:25 UTC](https://uzu.lurk.org/t/fractions-variables-etc-in-mininotation/3419/2 "2021-08-19T17:25:50Z")

</div>

you might try something like `inhabit`, although i bet you'd have to explicitly define all your custom names...it wouldn't be dynamic if you changed the fraction value without changing your `inhabit` def first.

> [@Melodic Examples with Tidal?](https://club.tidalcycles.org/t/melodic-examples-with-tidal/490/40):
>
> Hola @yecto, You could do it with inhabit. mychords = inhabit [("hola", "[0,4,2]" :: Pattern Double), ("hello", "[0,5,7,12]") ] d1 $ n (mychords "hello hola") # s "superpiano" You have to use :: Pattern Double to tell haskell what kind of pattern you're making, but you only have to do that on one of the values, it can work out the rest.

---

_[View the full topic](https://uzu.lurk.org/t/fractions-variables-etc-in-mininotation/3419)._
