How to use patch banks and controller object with s1 and s2 buttons


#6

The control object needs to be present in a library, you should be able to locate it in the object selector. If it's a sub-patch (the common scenario), it's .axs


#7

yes
i made the controller patch the start.bin...
if i press my button,
Axoloti says: file error: FR_NO_PATH, filename:"/2randomsaws1"


#8

What's the name of the patch you're trying to load?


#10

This works from a long time now :wink:

I think its the path to the actual *.axs file that tricky. @philoop please make sure its correct; when you run LIVE a patch check console:

Using controller object: ..............
Generate code complete
Start creating directory on sdcard : .........

Yes its automatic some more info: https://sebiik.github.io/community.axoloti.com.backup/t/how-to-use-controller-object/910/3

Will try your patch (using buttons S1 /S2)

Don't give up :wink:


#11

hi keyman, thanks for stepping in! i use now ur patchchange object and the console says

Using controller object: C:\Users\Philoop\Documents\axoloti\objects\controllers\patchchange.axs
Unable to created controller for : C:\Users\Philoop\Documents\axoloti\objects\controllers\patchchange.axs


#12

yeah, its not picking up the controller patch ;-( let's debug that...


#13

OK so, in Preferences - Controller object - only enter: controllers/patchchange
So no extension for the file.

Click OK, and don't forget to: FILE - Reload objects :wink:


#14

Thank u very much i finally got it working---- :relieved:


#15

Great to know @philoop !! and this using the buttons S1/S2 or MIDI program change??

Would be nice to combine both ways (sending MIDI program change AND also use button S1/S2 up/down)
maybe it can't be "combined" ?


#16

your object worx really good....but

no i am still working


#17

Looking at your first patch: the counter object will lose its value and not be able to increment to the next patch after the first. The controller object is only integrated in patches, objects will not preserve their internal value while switching patches...


#18

aha !!! thanks !! is there a work around ? if not i am doomed to use a pot or decoder, actually what i want do is to have a dual segment displaying 100 presets, i have also be playing around with the 74HC595 recently....
and yes i could only switch back and forth between two patches


#19

There is currently no work around.
I think the closest and cleanest solution 'd be adding a function to the firmware to get the patch index of the currently loaded patch.


#21

i thought about that too reading this


#22

Problem solved with the new controller


#23

Hi Philoop,

Could yo sahre the working control object patch you are using? I have been trying this

I make it work propertly when it increses but not when it decressed. Always go to zeo value ¿?

I really appreciate any help with this.

Thanks in advance


#24

This working fine for me, I hope does for you cycle buttons.axs (2.4 KB)


#25

Thanks pliloop. It is the one I am using digital GPIO instead S1 and S2 and there is where I have the problem because decreasing patches doesn´t works protperly. I will keep searching.


#26

Try to debounce maybe or change buttons to see if then only decreases


#27

Finally I made more tests following @philoop advices and I get it works protperly with next debounce configuration

Just in case can be helpful to someone.