Hi there,
If you use the respeaker 4 mic pi hat for raspberry pi, you can refer to https://github.com/respeaker/4mics_hat/blob/master/kws_doa.py
position = doa.get_direction()
pixels.wakeup(position)
pixels.wakeup(position)
Here is the library for pixel-ring. https://github.com/respeaker/pixel_ring/
Thanks
best rgds
Bill