Hello,
I'm trying to simulate a radio receiver.
Here's how it works : the needle rotates around its axis. In the following image, theres a network broadcasting from the position where the red dot is (90°). When needle angle is 90°, volume is at its max (0 db). When needle moves away from 90° (ie to 85° or 95°, ie 90°±5°), volume decreases and reaches silence (-20) when 85° or 95° is reached.
How can I do that ? I knwo angle math is involved but I have issues dealing with the "90°±5°" part.
I even tried an approach using positionning sounds (using the blue dot as a receiver and red dot as a emitter) but it is not very flexible.