Faking a string instrument?

How would you use an optical sensor with an elastic band?

A photo reflective sensor underneath the band.

How about a 2ft long capacitive touch slider? What sort of problems could I run into?

It not working.