Commit Graph

61 Commits

Author SHA1 Message Date
772a3344ca add module level logger 2023-06-23 17:34:50 +01:00
b2f57a9e60 extend subject class to support callbacks 2023-06-23 17:31:49 +01:00
342a49804f add module level loggers 2023-06-23 03:45:03 +01:00
064cfeb23d raise VMError on invalid kind 2023-06-23 03:43:34 +01:00
6c4259d6de remove unused import 2023-06-23 03:43:02 +01:00
9cf048185d reword Exception class docstrings. 2023-06-23 03:42:34 +01:00
435a9e2085 rename action_prop to action_fn 2023-06-23 03:39:07 +01:00
b10a90418e producer thread now sends job queue to updater. 2023-06-23 03:22:09 +01:00
7d4d09ff29 all CAPI calls wrapped by call().
raise CAPIError if macrobutton fns are not bound

producer thread added to init_thread()
2023-06-23 01:36:02 +01:00
6ddfe3044e apply now sets attributes if passed nested dicts.
_cmd() helper method added
2023-06-23 01:27:03 +01:00
36fe77f0f0 raise InstallError if reg key not found 2023-06-23 01:22:50 +01:00
155e597db5 request_remote_obj now raises VMError on invalid kind
all events default to False in FactoryBase.defaultkwargs
2023-06-23 01:21:20 +01:00
92e04f1419 comp, gate, denoiser, eq params updated in
TOMLStrBuilder

Path.home() / ".config" / "voicemeeter" / kind.name added to loader path
2023-06-23 01:19:55 +01:00
b5c8641c11 StripComp, StripGate, StripDenoiser, StripEQ
added to PhysicalStrip
2023-06-23 01:16:50 +01:00
c6b203a1df dynamically load macrobutton capi functions
log any exceptions raised in call()
2023-06-23 01:15:27 +01:00
9f27968c5c BUSEQ class added to Bus class 2023-06-23 01:13:56 +01:00
onyx-and-iris
a73ebf364b only add fx properties to phys strips
patch bump
2022-10-27 08:50:27 +01:00
onyx-and-iris
caf05aa789 fix virt strip factory method docstring 2022-10-26 14:27:59 +01:00
onyx-and-iris
5ad5622612 pan_x, pan_y added to virtual strips
pan_x, pan_y virt tests added to higher.

patch bump
2022-10-26 14:24:13 +01:00
onyx-and-iris
907df78b37 add missing type hints to device mixins 2022-10-16 17:47:55 +01:00
onyx-and-iris
f4fc58cea0 added strip/bus device mixins.
device_prop added to meta

README, CHANGELOG updated to reflect changes.

minor version bump

fixes #3
2022-10-11 12:53:08 +01:00
onyx-and-iris
816fd76213 add, remove now accept iterables
update README

patch bump
2022-10-06 18:07:34 +01:00
onyx-and-iris
ad69d2cf14 fix str format 2022-10-06 16:50:00 +01:00
onyx-and-iris
86612a65cb add property setters in event class
use event property setters in examples

update README

patch bump
2022-10-06 16:45:08 +01:00
onyx-and-iris
f62a22f563 initialize channel comps in updater 2022-10-04 14:36:08 +01:00
onyx-and-iris
9c8fe0b626 use logging module in subject class
patch bump
2022-09-29 11:31:19 +01:00
onyx-and-iris
bd686ef67d use time.time() to steady rate of updates.
reduce loop time if waiting for new event
2022-09-29 10:20:05 +01:00
onyx-and-iris
4c6fc2d396 fix bug in call to cache in updater 2022-09-29 09:44:50 +01:00
onyx-and-iris
eddccb66c5 event class moved into event.py
logger module used to write interface events to console
2022-09-29 09:44:14 +01:00
onyx-and-iris
81a74d136c base renamed to remote
logger module used in place of print
2022-09-29 09:42:58 +01:00
onyx-and-iris
6b7a79173c fix import... oops. 2022-09-24 12:08:43 +01:00
onyx-and-iris
ef0c94a6f1 move updater thread logic out of base class.
patch bump
2022-09-24 12:04:07 +01:00
onyx-and-iris
48b2857c58 tomli/tomllib compatibility layer added.
Type annotation Self removed.

python version requirement changed.

tomli added as runtime dependency if py ver < 3.11

minor version bump.
2022-09-03 16:28:19 +01:00
onyx-and-iris
446848fe89 Event class added to misc.
defaultkwarg subs added. iniitialize event subscriptions.

base class observable thread now checks for currently registered events.

make capi call if polling strip/bus levels and ldirty not in events.
2022-08-02 09:17:11 +01:00
onyx-and-iris
9d446ea17d add support for midi devices.
midi example added.

minor version bump
2022-07-24 14:38:16 +01:00
onyx-and-iris
43d4496378 clean up some format strings
expand obs example
2022-07-22 15:44:36 +01:00
onyx-and-iris
c105115458 return return codes for login/logout 2022-07-21 23:14:42 +01:00
onyx-and-iris
a4fd61ceab patch, option added to misc.
patch, option added to factories.

asio, insert added to kind maps.
2022-07-21 23:13:53 +01:00
onyx-and-iris
20fd6cfe54 remove redundant import 2022-07-21 22:57:19 +01:00
onyx-and-iris
7506fb0737 add make_strip_level_map and make_bus_level_map 2022-07-21 22:55:49 +01:00
onyx-and-iris
6bcdd0f6a2 fix format string 2022-07-21 22:52:14 +01:00
onyx-and-iris
dedb93f32c effects properties added stip/bus sections
FX section added to readme.

fix some docstrings.

fix a couple of jumbled dates in changelog
2022-07-16 23:21:55 +01:00
onyx-and-iris
1a6f3d6c73 misc module added.
fx added to potato remote class.

factory unit tests added.
2022-07-16 21:20:56 +01:00
onyx-and-iris
be2b89e3fa added support for setting bus mode through dict
bus modes added to all 3 example configs.

config unit tests added
2022-07-16 21:19:10 +01:00
onyx-and-iris
695e3e4999 effects mixed into physicalstrip
effects mixed into phys/virt bus

physicalbus params mixed into virtualbus for basic kind only.

get() added to bus mode mixin

BusModes IntEnum added to bus
2022-07-16 21:16:34 +01:00
onyx-and-iris
e979595a09 refactor levels.
only compute strip/bus comp tuples if ldirty.

add comp generator function to util.

added some docstrings

patch bump
2022-07-09 11:06:48 +01:00
onyx-and-iris
210c75ed5f reduce time complexity of range checks
patch bump
2022-07-07 15:09:50 +01:00
onyx-and-iris
d12e67820f fix regression in observable thread.
patch bump
2022-07-06 14:27:34 +01:00
onyx-and-iris
9af2fc98aa add support for all strip level modes to observers
is_updated now returns a bool (if that channel is updated (dirty))

observer example updated.

minor ver bump
2022-07-06 13:14:23 +01:00
onyx-and-iris
1b75d53cfb remove type checks. prefer duck typing 2022-07-04 16:02:56 +01:00