An ambulatory medical device is presented. The ambulatory medical device comprises a function module to provide the intended functionality of the device, a controller module to control the device, a sound generation module with an acoustic transducer to produce an acoustic signal and a signal generator to drive the acoustic transducer with a certain frequency. The signal generation module is arranged within a housing of the device. A tuning module varies the frequency used by the signal generator to drive the acoustic transducer and determines one or more frequencies that correspond to an optimum sound level of the acoustic signal outside of the housing of the device. The optimum sound level of the acoustic signal is a maximum sound level outside of the housing of the device, and/or a maximum perceivable sound level as determined by a user.