A non-transitory computer readable medium comprising instructions that, when executed by one or more processing circuitries, cause the one or more processing circuitries to perform a method of controlling an electro-mechanical device comprising a first array comprising a plurality of first actuator elements, and a second array comprising a plurality of second actuator elements, wherein the first array and the second array are located on a same substrate, wherein each of the first actuator elements of the first array is not electrically connected to any one of the second actuator elements of the second array, wherein each of the first actuator elements and of the second actuator elements comprises a moving element, at least one electrode, and a bearing coupled to the moving element, wherein control of an application of a voltage to at least one of the moving element or the electrode enables controlling motion of the moving element, the method comprising:
- obtaining a digital input signal sampled periodically in accordance with a sampling clock,
- for a given sampled value of the digital input signal at a given sampling time, enabling application of a voltage bias between an electrode and a moving element of a first number of first actuator elements of the first array, and enabling application of a voltage bias between an electrode and a moving element of a second number of second actuator elements of the second array, for generating a sound, wherein at least one attribute thereof corresponds to said given sampled value according to a matching criterion.