Optimizing Deterrent Devices with Custom Sound Patterns