Commit Graph

73 Commits

Author SHA1 Message Date
6de78a4037 check for error code -9 in clear_dirty()
re-raise error if not AttributeError
otherwise clear pdirty only

add -5,-6 response to ok in get_midi_message().
2023-07-10 16:20:13 +01:00
bafaa58507 extends error class
now accepts a custom message

fn_name and error code stored as class attributes
2023-07-10 15:36:38 +01:00
c21b04e1a8 add version number to login logger.info string 2023-07-09 01:44:44 +01:00
76960f36d0 if a wrong user config is requested,
this error should be exposed to the consumer.

patch bump.
2023-07-08 07:57:39 +01:00
c2daba1a62 when out of bounds values are passed, log warnings
bump to version 2.1.1

closes #6
2023-07-01 19:50:54 +01:00
145f85b7cd rename ARMSTRIPMIXIN_cls to ARMCHANNELMIXIN_cls 2023-07-01 18:09:31 +01:00
de4ce850eb add recorder.loop forwarder methods
add RecorderArmChannel class.

add logger warning if channel value not from 1 to 8
2023-06-30 23:51:20 +01:00
ee3fa0a372 adds more properties and methods to Recorder class
rename _make_armstrip_mixin to _make_armchannel_mixin
2023-06-30 19:00:27 +01:00
f92bb1e457 adds RecorderMode
RecorderArmStrip and RecorderArmBus
to Recorder class.

also adds a few properties, gain, channel, bitresolution.
2023-06-30 01:22:30 +01:00
59624ccb3e add VmGUI class to misc.
lets you check if gui was launched by the api
2023-06-29 18:05:07 +01:00
d794bd4b78 clears deprecation warning 2023-06-25 10:58:45 +01:00
cc26720ae2 add eq, comp, gate to apply examples. 2023-06-24 19:06:23 +01:00
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