Can you post the code of your effects filter?
Hey there,
Here are the filters i use. i have 2 pages with different filters.
Page 1: Effects filter
Page 2: Amp-Cab filter
//Serial.println("On effect filter");
//only show drives, reverbs, and delays etc.
bool onEffectFilter(const PresetNumber number, AxeEffect effect) {
if (strcmp(page, "AMP_effect") != 0)
{
return effect.isDrive() || effect.isDelay() || effect.isPhaser() ||
effect.isChorus() || effect.isPitch() || effect.isReverb() ||
effect.isCompressor() || effect.isFlanger() || effect.isMultitap() ||
effect.isMulticomp() || effect.isLooper() || effect.isWah();
}
else
{
return effect.isDistort() || effect.isCab();
}
}
On AxeEffect.cpp i have this entry for the Distort:
bool AxeEffect::isDistort() {
return (_effectId >= ID_DISTORT1 && _effectId <= ID_DISTORT4);
}
As discussed in earlier post, the isDistort() would be the AMP1-AMP4
I have a workaround for AMP1 by using the effectID no 58, but this is hard coded, so not flexible to let the program decide where to put this effect. I did manage to get the active channel and changing channel working on this effect, so basicly i am covered. Just that AMP1 is not returned from the axe-fx is a bug i guess.
GITHUB:
Question about your mentioning Github. Do i make a request in your github or are you suggesting me to create one for my own and post the code? I will have to digg in how to even use Github, but sure if that would help i could do that.
Cheers