Reminds me of season 5 of person of interest where the super intelligent AI known as "the machine" is giving relative directions to a character using ascending tones for right and descending for left, or something like that. The other character preferred directions in positions on an analog clock.
That was actually season 2! The final episode, I just watched it last week on a rewatch of the show. A lot of it feels pretty prescient right now, although not quite as intense as when the Snowden leaks happened and confirmed all of the government illegality of the show but none of the AI lol.