請問尋找阿爾發之旅系列十一中,下圖紅色箭頭所指的負號的用意,如此計算正確嗎?

請問尋找阿爾發之旅系列十一中,下圖紅色箭頭所指的負號的用意,如此計算正確嗎?

Hello 柏宏,
condition2 是在描述 oscValue 會從 0 下 (oscValue[1] < 0 and oscValue[1] > oscValue[2]) 上到 0 上 (oscValue > 0)。
而 oscValue[0] > -oscValue[1] 代表 oscValue[0] 與 0 的距離 要大於 oscValue[1] 與 0 的距離。
小編認為這是撰寫人員特意作的條件篩選,要表示 oscValue 是在向上且加速的。
1 評論