Drug delivery devices are described that include a microphone and processing circuitry that can detect operating events, such as peak inspiratory flow (PIF) and Breath Actuated Mechanism (BAM) in dry powder inhalers.This information can be used to improve clinical trials by providing information about the way in which the inhalers under test are being used.