Music User Interface Sensor
Embodiments generally relate to a music user interface sensor. In one embodiment, a method includes receiving an analog signal from a non-contact sensor of a music device. The method also includes determining a plurality of positions of a key of the music device based on the analog signal.
1 . A method comprising:
receiving an analog signal from a non-contact sensor of a music device; and
determining a plurality of positions of a key of the music device based on the analog signal.
2 . The method of claim 1 , wherein the non-contact sensor is a photo sensor.
3 . The method of claim 1 , wherein the non-contact sensor is an infrared photo sensor.
4 . The method of claim 1 , wherein the analog signal is based on movement of the key.
5 . The method of claim 1 , wherein the analog signal is based on continuous movement of key of the music device.
6 . The method of claim 1 , wherein the determining of the plurality of positions of the key of the music device is based on a scan of the non-contact sensor.
7 . The method of claim 1 , wherein the determining of the plurality of positions of the key of the music device is based on a scan of the non-contact sensor, wherein the scanning is performed at a predetermined time relative to an emitter sending a signal and the non-contact sensor receiving the signal.
8 . A non-transitory computer-readable storage medium carrying one or more sequences of instructions thereon, the instructions when executed by a processor cause the processor to perform operations comprising:
receiving an analog signal from a non-contact sensor of a music device; and
determining a plurality of positions of a key of the music device based on the analog signal.
9 . The computer-readable storage medium of claim 8 , wherein the non-contact sensor is a photo sensor.
10 . The computer-readable storage medium of claim 8 , wherein the non-contact sensor is an infrared photo sensor.
11 . The computer-readable storage medium of claim 8 , wherein the analog signal is based on movement of the key.
12 . The computer-readable storage medium of claim 8 , wherein the analog signal is based on continuous movement of key of the music device.
13 . The computer-readable storage medium of claim 8 , wherein the determining of the plurality of positions of the key of the music device is based on a scan of the non-contact sensor.
14 . The computer-readable storage medium of claim 8 , wherein the determining of the plurality of positions of the key of the music device is based on a scan of the non-contact sensor, wherein the scanning is performed at a predetermined time relative to an emitter sending a signal and the non-contact sensor receiving the signal.
15 . A method comprising:
providing a non-contact sensor in a music device, wherein the music device includes at least one key; and
enabling the non-contact sensor to generate an analog signal based on a movement of a key of the music device.
16 . The method of claim 15 , wherein the non-contact sensor is a photo sensor.
17 . The method of claim 15 , wherein the non-contact sensor is an infrared photo sensor.
18 . The method of claim 15 , wherein the analog signal is based on movement of the key.
19 . The method of claim 15 , wherein the analog signal is based on continuous movement of key of the music device.
20 . The method of claim 15 , further comprising determining a plurality of positions of the key of the music device based on a scan of the non-contact sensor.