Axocontrol Amusement


#1

I've been on this forum over a year, and never shared a patch... until now.

A friend recently built a Soma Labs Lyra-8, which uses two LFOs to create a ‘hyper LFO’.

This patch started off as an experiment to watch how two LFOs can interact when running at different rates. (Button A switches between ANDing them and ORing them)

The patch uses the Music Thing Modular Axocontrol - I've modified the axocontrol object to
efficiently debounce (filter, smooth) the pot inputs. The patch could be easily modified for a different control setup.

My first shared patch - I hope somebody finds it amusing.

soma_hyper_lfo_4a.axp (12.4 KB)


#2

Thank you for the patch and the first share :slight_smile:

I looked at it last night, but didn't have the board around. Hopefully I will tonight.

I don't have an Axo control, but will sort it out in some way :slight_smile:


#3

How does the debouncing code work or look like? I don't have an axocontrol but I had serious problems with this with another raspberry pi project of mine. The bounce filtering had to be set so high that it introduced too much lag with my implementation.


#4

You can just download the patch and check the code out?


#5

I could not find it in the patch. @tele_player said he modified the axocontrol object, probably outside of the patch


#6

Look again. I converted a773/axocontrol into an embedded object, and modified it. The filtering is an exponential weighted moving average. The code I uploaded uses a factor of 100:

#define A_NUM 100

But that’s definitely much higher than necessary, 10 works well.