For the first part of your question, limiting the value, you could change your expressions thus:
temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”) ;
if (temp > 30) {
temp=30;
}
[position[0], position[1] + temp];
For the second part, making your values jump you could try:
temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”) ;
if (temp <= 5) {
temp=0;
} else {
temp = 30;
}
[position[0], position[1] + temp];
Declan Smith
https://www.madpanic.tv
After Effects CS6/ FCS3 / Canon XLH1 / Canon 7D / Reason / Cubase
“it’s either binary or it’s not”