diff --git a/assets/audio/alert.reversed.wav b/assets/audio/alert.reversed.wav new file mode 100644 index 00000000..d16d2fd1 Binary files /dev/null and b/assets/audio/alert.reversed.wav differ diff --git a/assets/audio/alert.wav b/assets/audio/alert.wav new file mode 100644 index 00000000..b801c5fa Binary files /dev/null and b/assets/audio/alert.wav differ diff --git a/assets/audio/messages.mp3 b/assets/audio/messages.mp3 deleted file mode 100644 index 7f375702..00000000 Binary files a/assets/audio/messages.mp3 and /dev/null differ diff --git a/assets/audio/messages.wav b/assets/audio/messages.wav new file mode 100644 index 00000000..6b765b71 Binary files /dev/null and b/assets/audio/messages.wav differ diff --git a/assets/audio/notification.mp3 b/assets/audio/notification.mp3 deleted file mode 100644 index aa68cb30..00000000 Binary files a/assets/audio/notification.mp3 and /dev/null differ diff --git a/assets/audio/notification.wav b/assets/audio/notification.wav new file mode 100644 index 00000000..c3009ec2 Binary files /dev/null and b/assets/audio/notification.wav differ diff --git a/lib/pods/audio.dart b/lib/pods/audio.dart index 2917b271..4f78532c 100644 --- a/lib/pods/audio.dart +++ b/lib/pods/audio.dart @@ -35,7 +35,7 @@ final notificationSfxProvider = FutureProvider((ref) async { final player = ref.watch(sfxPlayerProvider); await player.setVolume(0.75); await player.setAudioSource( - AudioSource.asset('assets/audio/notification.mp3'), + AudioSource.asset('assets/audio/notification.wav'), preload: true, ); }); @@ -43,7 +43,7 @@ final notificationSfxProvider = FutureProvider((ref) async { final messageSfxProvider = FutureProvider((ref) async { final player = ref.watch(sfxPlayerProvider); await player.setAudioSource( - AudioSource.asset('assets/audio/messages.mp3'), + AudioSource.asset('assets/audio/messages.wav'), preload: true, ); }); @@ -70,7 +70,8 @@ void playMessageSfx(WidgetRef ref) { class MiniSampleSynth { final String sampleAsset; - final int baseNote; // MIDI note of the sample (usually 72 = C5 for lower pitch playback) + final int + baseNote; // MIDI note of the sample (usually 72 = C5 for lower pitch playback) AudioPlayer? currentPlayer; @@ -173,4 +174,4 @@ class MiniSampleSynth { } return 200; // fallback } -} \ No newline at end of file +}