Abstract: A musical synthesizer keyboard has a plurality of keys mounted so that each key may be displaced along and return along a locus of movement and where during travel in either direction along said locus a key causes a change of state in each of two corresponding optical detectors at spaced locations along said locus. Means are provided for signalling the states of the detectors to other equipment.