Commit Graph

95 Commits

Author SHA1 Message Date
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
9cb1d1d447 Back to released Synthizer. 2022-09-28 09:33:55 -05: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
9d65ed0f68 Switch dependency back to working branch. 2022-08-13 08:47:26 -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
4e6c01d654 Back to synthizer-rs master. 2022-06-07 17:58:17 -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
1c8b9b1865 Use exponential distance model in example. 2022-05-24 11:18:09 -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
10325cdbc6 Make fields public. 2022-05-23 12:47:01 -05:00
c945c8b1ba Add more context configuration parameters to configuration, and sync with context on change. 2022-05-19 10:18:41 -05:00
ca96a99777 Add support for angular/scalar panning. 2022-05-19 07:59:58 -05:00
58e2c9b860 Store and update PannerStrategy directly in config. 2022-05-18 19:56:41 -05:00
6b4daf5764 Sync states more aggressively, and use property defaults when components don't exist. 2022-05-18 19:44:31 -05:00
eab98cca4e Various tweaks to get example working. 2022-05-18 15:39:37 -05:00
fd2b29a7a2 Trim dependencies. 2022-05-18 13:10:07 -05:00
8aca79dfab Initial commit. 2022-05-18 13:04:58 -05:00