Commit graph

105 commits

Author SHA1 Message Date
5fa8e4a3a3 Mingw compilation fixes 2023-10-08 15:58:51 +03:00
f743201565 Remove useless copy when creating mp3 track from blob 2023-10-08 13:51:29 +03:00
03ae98d8a9 Audio::loop fixes 2023-10-06 18:57:34 +03:00
52b18c07a4 Fix echo effect 2023-10-05 17:12:20 +03:00
51a5bcd3bc Add all-pass echo filter 2023-10-04 14:34:25 +03:00
9e0babfd2c Add echo effect 2023-10-04 14:34:17 +03:00
9a800b8f7a Implement first-order feedback audio filter 2023-10-03 14:32:31 +03:00
9cbb9127b9 Implement true audio::white_noise 2023-10-03 14:32:17 +03:00
8be3544295 Fix creating audio track from util::blob 2023-10-02 17:25:51 +03:00
424ed06ecb Fix audio::concat 2023-10-02 17:25:35 +03:00
85d7a0ca33 Huge refactor: use util::exception everywhere instead of std exceptions 2023-08-06 18:33:07 +03:00
2e569b2cd3 Packaging fixes 2023-07-18 20:40:53 +03:00
b910d16261 Grand app refactor: move main to sdl2 lib, make the rest of the engine independent of SDL2 2023-07-14 22:25:45 +03:00
Jan Niklas Hasse
ec18266d9e Fix audio::recorder's storage not being big enough in some cases causing invalid writes 2023-06-15 21:08:16 +00:00
0675585a53 Audio stuff 2023-05-01 01:20:07 +03:00
fdcf0d5b88 MacOS fixes 2023-01-16 23:53:34 +03:00
e51fc4029d Add midi note to frequency converter 2023-01-12 15:18:16 +03:00
292ccadc7e Add audio::mix helper function 2023-01-11 15:23:34 +03:00
5e93208fcb Add audio::record helper function 2023-01-11 15:23:22 +03:00
a279fbfcb8 Make audio::fade_out return true length 2023-01-11 15:23:04 +03:00
104d4a92a0 Support frequency resampling for wav audio 2023-01-10 14:52:43 +03:00
56505ebe85 Fix obsolete include 2023-01-10 14:46:27 +03:00
3b5ad89ba0 Audio recorder & duplicator refactor 2023-01-10 14:41:51 +03:00
cbd5a15ce8 Implement wav audio::track using raw track 2023-01-10 14:41:31 +03:00
a67e00d601 Implement raw audio::track from scratch, without dependence on recoder & duplicator 2023-01-10 14:41:12 +03:00
633e366650 Fix audio::mixer 2023-01-10 14:40:43 +03:00
4db40a0276 Audio refactor: move some stuff to detail and combine subdirs 2023-01-10 03:46:09 +03:00
2209648999 Audio library refactor: use spans for stream->read 2023-01-10 03:35:34 +03:00
630ae28301 Add simple 1st order feedforward filters 2023-01-06 20:09:43 +03:00
ef95af60ae Support creating a loop directly from a track 2023-01-06 20:09:21 +03:00
0d23d8bcab Add audio white noise generator 2023-01-06 19:32:34 +03:00
3c22074f8d Implement audio::concat effect 2023-01-06 19:15:48 +03:00
42e1136123 Remove sdl2-mixer dependency 2023-01-04 18:11:38 +03:00
f0ae57a378 Fix includes in audio::mixer 2022-11-30 18:16:25 +03:00
81f54d602e Fix loading stereo mp3 2022-10-15 23:05:15 +03:00
72bbdec7d9 Fix audio engine initialization 2022-10-11 17:49:22 +03:00
31e1e84c69 Support dynamically changing audio::oscillator frequency 2022-10-11 17:48:27 +03:00
6f6add1cab Add distortion effect 2022-10-08 21:31:44 +03:00
87e865d025 Make sure Karplus-Strong generated sound is the same in both channels 2022-10-08 21:31:38 +03:00
af2bab53b9 Add Karplus-Strong guitar generation algorithm 2022-10-08 19:49:11 +03:00
8048496535 Implement pitch control audio effect 2022-10-08 19:07:30 +03:00
e74f5957c0 Add frequency resampler & use it in mp3 decoder 2022-10-08 18:22:17 +03:00
e517e14986 Implement mp3 support 2022-10-08 17:42:03 +03:00
3255aaf15d Move loading raw & wav tracks from engine to free functions 2022-10-08 14:36:24 +03:00
5b0834f097 Support non-owning audio::recorder 2022-10-08 14:35:45 +03:00
ce5ccfde70 Turn audio::duplicator into a track 2022-10-08 14:16:50 +03:00
f46b080a69 Support creating audio::recorder directly from samples 2022-10-08 14:05:13 +03:00
2c59879630 Support loading WAV audio 2022-10-07 23:40:03 +03:00
f617f50930 Implement loading raw audio tracks 2022-10-07 23:05:17 +03:00
227236568b Implement audio pause control 2022-10-07 22:03:27 +03:00