miknshla
Inspired
Ya. I don't know how to turn an effect on or off in the preset's effect list.
Here's what I'm trying to achieve. I have FCB1010 which I used FCB_Infinity code years ago to control AxeFx2. I would like to get it working with FM3. Here's what works so far:
1. Expression Pedals
2. TapTempo/Tuner
3. Preset Inc/Dec
4. Scene Change
5. Led's to indicate which effects are engaged in a preset and they update when scene or preset changes.
So, now I am trying to get foot switches to turn off/on effect blocks and get the led's to update with the current status.
I'm using onPresetChange to build an array of effects and their position in the array indicates there index number for that preset.
At the same time, it builds an array of the effect bypass states.
I use that info to update led's for those effects.
With Axe.toggleEffect(ID_COMP1); I can toggle the compressor on/off but the LED doesn't update.
I think I would like to try using AxeEffect.enable(index_no) but I don't know how to use anything in the AxeEffect.h. I thought I would just type AxeEffect.xxxxxxx(yyy); but I get errors like this:
fcb1010: In function 'void loop()':
fcb1010:264: error: expected unqualified-id before '.' token
AxeEffect.bypass(Btn_Upper_Effect_Index[0]);
^
expected unqualified-id before '.' token
Here's what I'm trying to achieve. I have FCB1010 which I used FCB_Infinity code years ago to control AxeFx2. I would like to get it working with FM3. Here's what works so far:
1. Expression Pedals
2. TapTempo/Tuner
3. Preset Inc/Dec
4. Scene Change
5. Led's to indicate which effects are engaged in a preset and they update when scene or preset changes.
So, now I am trying to get foot switches to turn off/on effect blocks and get the led's to update with the current status.
I'm using onPresetChange to build an array of effects and their position in the array indicates there index number for that preset.
At the same time, it builds an array of the effect bypass states.
I use that info to update led's for those effects.
With Axe.toggleEffect(ID_COMP1); I can toggle the compressor on/off but the LED doesn't update.
I think I would like to try using AxeEffect.enable(index_no) but I don't know how to use anything in the AxeEffect.h. I thought I would just type AxeEffect.xxxxxxx(yyy); but I get errors like this:
fcb1010: In function 'void loop()':
fcb1010:264: error: expected unqualified-id before '.' token
AxeEffect.bypass(Btn_Upper_Effect_Index[0]);
^
expected unqualified-id before '.' token