# Using gills button to set a value

**URL:** <https://ksoloti.discourse.group/t/using-gills-button-to-set-a-value/269>\
**Category:** Gills\
**Created:** [March 21, 2025, 4:07pm UTC](https://ksoloti.discourse.group/t/using-gills-button-to-set-a-value/269 "2025-03-21T16:07:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Odilon](https://avatars.discourse-cdn.com/v4/letter/o/ecc23a/32.png) [@Odilon](https://ksoloti.discourse.group/u/Odilon)\
**Post date:** [March 21, 2025, 4:07pm UTC](https://ksoloti.discourse.group/t/using-gills-button-to-set-a-value/269/1 "2025-03-21T16:07:34Z")

</div>

Hi all, ksoloti/gills noob here, please forgive me if this is a very basic question, but my Max/MSP practice is getting in the way.

I want to use button one on the gills to set a filter’s resonance to, say, 50. I then want to use button two to set it to zero.

Would some kind soul take pity on my and show me how? Many thanks!

---

<div class="post-metadata">

**Author:** ![Ksoloti](https://yyz2.discourse-cdn.com/free1/user_avatar/ksoloti.discourse.group/ksoloti/32/71_2.png) [@Ksoloti](https://ksoloti.discourse.group/u/Ksoloti)\
**Post date:** [March 22, 2025, 5:10am UTC](https://ksoloti.discourse.group/t/using-gills-button-to-set-a-value/269/2 "2025-03-22T05:10:38Z")

</div>

Agree, it takes some time to think in “Axoloti logic” mainly because some workarounds are needed. Also you never know if an object that does exactly what you want already exists.

[buttons\_mux.axp](https://ksoloti.discourse.group/uploads/short-url/nzPnMyBmly71FLkdZH46P0Mo0BA.axp) (2.5 KB)

I have not checked if there are more suitable objects but went by foot using a flipflop set and reset.

Note that the first value will be on by default when you start the patch (because it is the “0” state). Hope this makes sense!

---

<div class="post-metadata">

**Author:** ![ktttttt](https://yyz2.discourse-cdn.com/free1/user_avatar/ksoloti.discourse.group/ktttttt/32/305_2.png) [@ktttttt](https://ksoloti.discourse.group/u/ktttttt)\
**Post date:** [March 22, 2025, 5:44am UTC](https://ksoloti.discourse.group/t/using-gills-button-to-set-a-value/269/3 "2025-03-22T05:44:49Z")

</div>

this is my method:  
[buttons\_mux.axp](https://ksoloti.discourse.group/uploads/short-url/hLFoP7gKYMU406tCwGmZEkFcPo.axp) (2.5 KB)

 ![image](https://global.discourse-cdn.com/free1/uploads/ksoloti1/original/1X/26d3c711627011a02c4e76cff92fce31df126294.png)

---

<div class="post-metadata">

**Author:** ![Odilon](https://avatars.discourse-cdn.com/v4/letter/o/ecc23a/32.png) [@Odilon](https://ksoloti.discourse.group/u/Odilon)\
**Post date:** [March 22, 2025, 12:11pm UTC](https://ksoloti.discourse.group/t/using-gills-button-to-set-a-value/269/4 "2025-03-22T12:11:29Z")

</div>

Thank you both very much, massively appreciated. I will try these methods and report back. I think I’m starting to get mu head around Axoloti logic, it’s much more like a modular synth than like Max or Pd.

---

<div class="post-metadata">

**Author:** ![Odilon](https://avatars.discourse-cdn.com/v4/letter/o/ecc23a/32.png) [@Odilon](https://ksoloti.discourse.group/u/Odilon)\
**Post date:** [March 23, 2025, 2:09pm UTC](https://ksoloti.discourse.group/t/using-gills-button-to-set-a-value/269/5 "2025-03-23T14:09:29Z")

</div>

Just a confirmation that both methods worked very nicely for me - thanks again, I’m using Ksoloti/Gills in a performance this coming Thursday, so I’m very grateful.
