A method and apparatus for frame synchronization in a display circuit is achieved by first measuring a difference between a first frame period and a second frame period. All of these components can be packaged for integration into a single IC including components such as filters and inductors. A first insulating layer is formed over the substrate. The determined loudness is preferably a DIALNORM of the dialog. The preferred fabrication method involves joining an inner silicon substrate to a pair of outer silicon substrates, thereby encapsulating the resonant cavity, and depositing a piezoelectric thin film onto one of the outer substrates which is then patterned to create an acoustic sensor. In one embodiment the method for calibrating a microphone comprises operating a MEMS device based on a first AC bias voltage, measuring a pull-in voltage, calculating a second AC bias voltage or a DC bias voltage, and operating the MEMS device based the second AC bias voltage or the DC bias voltage.