using optical signals for detecting or generating sound