Commit graph

130 commits

Author SHA1 Message Date
fd71603e93 MacOS compilation fixes
All checks were successful
Run tests / Run tests (push) Successful in 8m27s
2026-08-28 23:53:34 +03:00
506a6c303e Add audio::mixer::max_length
All checks were successful
Run tests / Run tests (push) Successful in 6m43s
2026-07-19 19:39:54 +03:00
99b103b267 Fix audio::recorder::request 2026-07-19 19:39:45 +03:00
ae2efc94fb Add audio::duration::from_seconds
All checks were successful
Run tests / Run tests (push) Successful in 6m43s
2026-07-19 13:34:32 +03:00
20c3fca4b4 Add inline to audio::literals
All checks were successful
Run tests / Run tests (push) Successful in 6m50s
2026-07-19 03:35:33 +03:00
e1dfca7293 Add missing pragma once
All checks were successful
Run tests / Run tests (push) Successful in 6m49s
2026-07-19 03:28:09 +03:00
e94490cf95 Add butterworth low & high pass filters
All checks were successful
Run tests / Run tests (push) Successful in 6m58s
2026-07-19 02:16:29 +03:00
b39475d3ac Replace audio::feedforward/feedback filters with general linear filters 2026-07-19 01:48:39 +03:00
4de0499d29 Add audio envelope helper based on a sequence of linear or exponential segments
All checks were successful
Run tests / Run tests (push) Successful in 6m46s
2026-07-18 22:32:47 +03:00
748035c514 Add audio::literals to represent durations like 100_ms or 0.5_s 2026-07-18 22:32:25 +03:00
20fbb9c5ac Remove unused include 2026-07-18 22:32:04 +03:00
2d66f12707 Rename envelope -> envelope_base 2026-07-18 22:31:53 +03:00
c177911737 Add generic envelope filter and re-implement fade in/out using it 2026-07-18 19:03:56 +03:00
dbf5117dc6 Fix length computation in truncate filter 2026-07-18 19:03:29 +03:00
a9094975be Use util::mutexed in audio::channel if atomic_ptr<shared_ptr> is not supported 2026-06-30 14:40:47 +03:00
d4e3cc623a Replace deprecated std::atomic_load with std::atomic<shared_ptr> in audio::channel 2025-01-30 12:38:44 +03:00
c59b28e13f Rename 'geom' library to 'math' 2024-12-10 20:22:59 +03:00
9b3f2df2a0 Rely on float->int conversion instead of std::floor in audio resampler hot loop 2024-11-29 00:07:02 +03:00
8b5c35f89a Add audio::mixer::stream_count() 2024-09-18 12:12:23 +03:00
57aebfb42d Compile minimp3 as C++ 2024-08-21 19:17:33 +03:00
4b9591885a Fix audio::channel::is_stopped 2024-06-16 20:41:24 +03:00
05af18ba3f Implement lazy-loading audio tracks 2024-03-11 01:00:24 +03:00
bd3aa04922 Support loading raw audio track from blob 2024-03-11 00:59:17 +03:00
8d120dd407 Fix audio resampling in mp3 loading & in pitch effect: make the stream stop instead of infinitely looping the last resampled patch 2023-11-03 12:58:02 +03:00
f1c0959fba Improve audio duration api 2023-10-11 19:02:57 +03:00
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