A device that may be used as an automatic voiding diary detects urinary and/or fecal voiding events and records voiding information indicative of the voiding events without the need for significant patient interaction. The device includes a microphone that captures internal and/or external sounds that are associated with voiding events and generates an electrical signal based the sounds. The device processes the electrical signal to determine whether the signal is indicative of the occurrence of a voiding event (i.e., the device detects voiding events) by, for example, comparing the electrical signal to a signal template or comparing an amplitude of the signal to a threshold. The device may be a device implanted within the patient or an external device that can be carried or attached to the body or clothing of the patient.