# Hacking the Organelle to work with expression pedal + feature request

**URL:** <https://forum.critterandguitari.com/t/hacking-the-organelle-to-work-with-expression-pedal-feature-request/919>\
**Category:** Organelle\
**Created:** [February 9, 2017, 10:02pm UTC](https://forum.critterandguitari.com/t/hacking-the-organelle-to-work-with-expression-pedal-feature-request/919 "2017-02-09T22:02:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhindsight](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/jhindsight/32/406_2.png) [@jhindsight](https://forum.critterandguitari.com/u/jhindsight)\
**Post date:** [February 9, 2017, 10:02pm UTC](https://forum.critterandguitari.com/t/hacking-the-organelle-to-work-with-expression-pedal-feature-request/919/1 "2017-02-09T22:02:13Z")

</div>

Hi all,

Just bought an Organelle and was really excited to get cracking with it. I also bought this expression pedal [http://www.m-audio.com/products/view/ex-p](http://www.m-audio.com/products/view/ex-p) (cos it was the cheapest and i’m cheap) but found that it wouldn’t trigger any patches which used the footswitch input. I connected a monitor, mouse and keyboard so i could view the values generated on the Organelle. I found that r exp was receiving values between 0.050 and 0.555 which i don’t believe is enough to trigger the 1/0 toggle of r fs which is used in quite a few patches instead of aux. I didn’t really want to have to hack every patch i load on to work with my pedal so i decided to mod mother.pd and place it in the patches folder on the usb to override the one on the Organelle. Here’s what i did in case it’s useful for someone else.

How i fixed it

Firstly i took a backup of root/mother.pd so i could roll back any changes.

In mother.pd/messageIO/pd analog subpatch, i took the raw input from the device, multiplied it by 2 (you might have to experiment with this value and your pedal), subtracted to allow the values to get down to 0 then clipped the range to be between 0 and 1 and sent these values to s exp. I used an expr object to send either a 1 or 0 if the value from expr goes above / below 0.2 (again this is to taste, you can set the threshold to a value of your choice) and sent this to s fs.

 ![](https://canada1.discourse-cdn.com/flex035/uploads/critterandguitari/original/1X/146a972d737fed58d6cbd37e6f547f2340e2c16f.png) 

In mother.pd/messageIO/pd footswitch i removed the connection to s fs as i’m sending this information from the other patch.

![](https://canada1.discourse-cdn.com/flex035/uploads/critterandguitari/original/1X/5e439865c74b476a7c8cc1ea7f47643e0fe1d197.png)

I now get the full range of 0 to 1 from r exp and a 1/0 from r fs.

Feature request

I don’t know about how the Organelle receives and process osc data so this may not be possible but could there be a footswitch calibration patch which essentially sends a value from one of the knobs to a multiplication box which processes the footswitch input values and displays those values to screen (0-1 and 1/0 so you can see they are working)?

---

<div class="post-metadata">

**Author:** ![oweno](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/oweno/32/10_2.png) [@oweno](https://forum.critterandguitari.com/u/oweno)\
**Post date:** [February 10, 2017, 3:10am UTC](https://forum.critterandguitari.com/t/hacking-the-organelle-to-work-with-expression-pedal-feature-request/919/2 "2017-02-10T03:10:02Z")

</div>

This looks great, thanks for sharing! The foot pedal stuff is a pain cause there are so many varieties…

The only thing I would recommend is a [change] object between [expr if ($f1 \> 0.2, 1, 0)] and [s fs]. The exp value is a continuous value, so this will prevent sending redundant 0s or 1s. You really only want a single 0 or 1 when the foot switch changes.

For the calibration patch I think you could implement this already. The patch could send a calibration value to the custom mother.pd. When you get the right value, hit the button and it saves this value in a file (in the Patches folder with mother.pd). mother.pd loads this file on startup. kinda cumbersome but possible… I was thinking of a similar approach to change the default MIDI channel number.

---

<div class="post-metadata">

**Author:** ![jhindsight](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/jhindsight/32/406_2.png) [@jhindsight](https://forum.critterandguitari.com/u/jhindsight)\
**Post date:** [February 10, 2017, 8:57am UTC](https://forum.critterandguitari.com/t/hacking-the-organelle-to-work-with-expression-pedal-feature-request/919/3 "2017-02-10T08:57:27Z")

</div>

Thanks for the tips, I’ll have a play about with the patch this weekend

---

<div class="post-metadata">

**Author:** ![Wannop](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/wannop/32/328_2.png) [@Wannop](https://forum.critterandguitari.com/u/Wannop)\
**Post date:** [March 1, 2017, 2:31pm UTC](https://forum.critterandguitari.com/t/hacking-the-organelle-to-work-with-expression-pedal-feature-request/919/4 "2017-03-01T14:31:46Z")

</div>

How did this play out? I can’t get my expression pedal (bespeco vm18l) to work with the organelle only getting ouputs between .4 and .6 rather than 0 and 1, wondering if there is a list somewhere of compatible pedals or if this can be easily fixed in the mother patch.  
edit: Okay, so I have tinkered with it in the way suggested above - albeit not really knowing what i was doing.  
I tested it with h Rando, using it to switch the activate the additional sequencer loops - which is working well.  
I needed to enter different values in my boxes as - they are as follows:

 ![](https://canada1.discourse-cdn.com/flex035/uploads/critterandguitari/original/1X/ca16e94be26ff28d6f64ccb203a35166f5eadc09.jpg)

It works fine for h Rando and a couple others, but for some other patches such as granular freezer - it skips the freeze function on and off while its in its ‘1’ position. Any ideas why this might be @oweno?

---

<div class="post-metadata">

**Author:** ![jhindsight](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/jhindsight/32/406_2.png) [@jhindsight](https://forum.critterandguitari.com/u/jhindsight)\
**Post date:** [March 2, 2017, 8:57am UTC](https://forum.critterandguitari.com/t/hacking-the-organelle-to-work-with-expression-pedal-feature-request/919/5 "2017-03-02T08:57:11Z")

</div>

@Wannop try @oweno suggestion

> [@oweno](#):
>
> The only thing I would recommend is a [change] object between [expr if ($f1 \> 0.2, 1, 0)] and [s fs].

Sounds like is still toggling fs because it’s getting a constant stream of input

---

<div class="post-metadata">

**Author:** ![Wannop](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/wannop/32/328_2.png) [@Wannop](https://forum.critterandguitari.com/u/Wannop)\
**Post date:** [March 2, 2017, 3:43pm UTC](https://forum.critterandguitari.com/t/hacking-the-organelle-to-work-with-expression-pedal-feature-request/919/6 "2017-03-02T15:43:55Z")

</div>

D’oh! Thanks - I will try that.
