Harmonizing Hounds: Optimizing Deterrent Devices with Custom Sound Patterns