Commit Graph

58 Commits

Author SHA1 Message Date
4c02a98eb4 fix: Clear generator when source is cleared, and improve handling for changing source types. 2024-12-02 11:34:28 -06:00
7cef2fedd5 chore: Upgrade to Bevy 0.14.
All checks were successful
Test / test (ubuntu-latest) (push) Successful in 2m8s
2024-07-07 10:44:14 -05:00
2080019421 chore: Bump dependencies. 2024-02-09 13:41:01 -06:00
4c1471c2ab feat!: Removed Sound.restart. Clear Sound.generator for equivalent functionality. 2023-10-16 07:32:10 -05:00
04372328c8 feat!: Renamed SynthizerSets::First to SynthizerSets::PreUpdate and moved remaining systems into PostUpdate. 2023-10-16 07:29:49 -05:00
1fb0aa763a fix: Clean up LastAudio when Sound is removed, not Source. 2023-10-16 07:25:36 -05:00
53891eeaa8 chore: Clean up code. 2023-10-16 07:23:15 -05:00
e605495d9f chore: Update to Bevy 0.11. 2023-07-16 13:24:12 -05:00
4f972e3bd4 fix: Instantiate sources for sounds without a source in PreUpdate. 2023-05-04 15:03:07 -05:00
459d074040 chore: Only update_source_properties and update_listener need to run after transform propagation. 2023-04-04 07:20:43 -05:00
855fb714da chore: Restructure system schedule to more idiomatic Bevy 0.10 style.
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-03 14:48:05 -05:00
b1c1e82866 feat!: Renamed SynthizerSystems to SynthizerSets. 2023-04-03 14:24:29 -05:00
b381e1501f chore: Update to Bevy 0.10.
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-06 14:24:23 -06:00
35f132d858 feat: Sound components can now get audio from either buffers or generators. 2023-03-06 13:59:53 -06:00
08815a3c29 Make plugin struct Copy.
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-15 16:37:34 -06:00
5f2881d1c8 Use plugin struct for settings. 2022-12-15 14:04:57 -06:00
36f7c62836 Reorder type registrations and remove comments for unsupported reflection type. 2022-12-07 11:18:26 -06:00
b4d298636d Reflection integration for more types. 2022-12-06 16:59:49 -06:00
3fecb314f6 Upgrade to Bevy 0.9. 2022-12-06 16:43:37 -06:00
298012455a Store a plain Generator in Sound component. 2022-09-09 08:23:54 -05:00
b60183c448 Remove unused variables. 2022-09-09 08:14:15 -05:00
0f4aa54612 Remove logging. 2022-09-07 20:23:22 -05:00
d69ef38486 Add printlns around source creation, handle-setting and event dispatch. 2022-09-06 09:00:47 -05:00
07d6d99ba7 Did a dumb.
Revert "If any source components exist on a sound without a source, assume the source should be created there and skip ancestry checks."

This reverts commit ed38b30843.
2022-09-05 18:25:00 -05:00
ed38b30843 If any source components exist on a sound without a source, assume the source should be created there and skip ancestry checks. 2022-09-05 13:36:36 -05:00
fe63521737 Move event system closer to state updates. 2022-09-05 13:23:33 -05:00
ba45547038 Only clear source handles if PannerStrategy is actually changed (I.e. mutated, not added.) 2022-09-05 12:24:06 -05:00
72c63af910 No longer concern ourselves with transforms when dynamically creating sources. 2022-09-05 10:37:35 -05:00
7906d93277 Add/tighten up assertions. 2022-09-04 17:28:18 -05:00
9b7fb16ee5 Set gain and pitch on generators before connecting them. 2022-09-04 12:01:32 -05:00
aa60e1d70f Add assertion limiting pitch to 0..2. 2022-08-25 12:19:17 -05:00
e4b1df13ce Replace unwrap with expect, and make logging configuration work. 2022-08-15 10:53:59 -05:00
d500c9c445 Add logging configuration and commented-out code for new APIs. 2022-08-13 08:48:31 -05:00
6e34161f6f cargo fmt 2022-08-06 11:07:43 -05:00
28b31c5be9 Track whether bundles without sources have transforms in their ancestry, and add transforms if needed. 2022-08-05 21:00:36 -05:00
b443390d62 Attempt to reorder systems more logically. 2022-08-05 20:08:25 -05:00
37c7793ad2 If a sound doesn't have a source, create a default. 2022-08-05 17:53:48 -05:00
7afa509228 Refactor Sound into Source to minimize Synthizer source use. 2022-08-05 17:04:40 -05:00
def95dcccb Update to Bevy 0.8. 2022-08-01 11:02:05 -05:00
5615a28ece Reset source when panner strategy changes or is removed. 2022-06-13 09:24:30 -05:00
28718d2e85 Add ability to set panner strategy on source creation. 2022-06-13 09:14:11 -05:00
14235e0a68 Add assertions to ensure parameter ranges are clamped, and add ScalarPan::center(). 2022-06-03 11:23:03 -05:00
4f45cb6ee6 Make fields public. 2022-06-02 19:28:09 -05:00
3c094e3b89 Rename and make public. 2022-06-02 18:37:08 -05:00
8dad8d41e0 Derive Debug. 2022-06-01 14:45:48 -05:00
5eb557afc1 Bump Synthizer version. 2022-05-24 12:38:42 -05:00
9391238bdc Set both source and generator gains for now. 2022-05-24 11:17:09 -05:00
c6bf921a72 Create correct source types based on presence of panning components. 2022-05-24 10:28:19 -05:00
7d3a0ba156 Break, don't continue. 2022-05-23 17:29:59 -05:00
2e55e0b4dc Add support for events. 2022-05-23 17:17:58 -05:00