Request: Am looking for the simplest way to pass a value between patches.
Reason: To keep track of the patch number position of last used patch.
Please note that I have looked through many threads regarding patch tables, etc,, and from what I require, I do not believe these will help my situation.
I will have a patch list patch I intend to list all of the patches stored on the SDCard, that will be select up and down by foot switches through a mux like setup. But also as the list is either increased or decreased, axo pinouts will be hardwired to the midi controllers preset switches. The controller has 99 presets to choose from, and each patch will be connected to the preset value. For example patch number 4 will connect to first preset 10, it will also be able to use more presets for the same patch so lets say patch 4 will also use preset 11, 12 as well. But for the sake of patch selection will only need to go to preset 10 to begin with.
Then once I select to load my choice, the correct patch will open, and CC values stored in presets 10, 11 and 12 will dump into the axo as default effect CC values to be applied. Example volume level, gain level etc..
The problem why I have raised this is because then when I want to change patch again, I want to be able to return to the main patch list patch, starting from the last used patch "Patch 4" with the correct Midi preset value "Preset 10" so I can then select from this position my next patch. As I have a display on the Midi controller, then I want to know that the correct Patch has been selected because it shows on the controller preset number example preset 10 means patch 4 has been selected.
I just need to find a way to carry for example one single value of 4 that will change depending on the last patch used, after using patch number 4 to the patch list patch to start again from patch position 4.
Any assistance you can provide about where I can store a value will be greatly appreciated. I have thought of maybe using a text file or data file of sorts, As you can imagine, the data is very small, I can't imagine I will need to store more than 50 patches on an SD card, so storing 1 to 50 somewhere and being able to access it is all I need.
Thanks..