Switch Device for nativedsp

Is there a way to make a device with switch states?

i want to change compressor attack and release with switch 1-5-10-30 etcetc or EQ -1-3-6+6+3+1 dB values by switch…

Is there a way to do that ? ( doofers ar okey but not work like this )