Commit Graph

98 Commits

Author SHA1 Message Date
df473d89ae remove __str__ override in VMError
move error message for code -9 into CAPIError class
2023-08-13 16:50:58 +01:00
5aaa9aab71 '\\' join path parts 2023-08-13 14:18:39 +01:00
e9d1e7ffa2 check vban direction
check that index is numeric

patch bump
2023-08-10 21:07:29 +01:00
4a397d8d96 avoid using keyword as variable name 2023-08-10 16:25:31 +01:00
65fb8990c9 make better use of pattern matching features
error test updated
2023-08-10 16:24:30 +01:00
8c220eb491 refactor target
add error test for ValueError

test badges updated

patch bump
2023-08-09 16:37:10 +01:00
0ee3a223ec stopped() checks if stop_event object is None.
In case the events thread was not initiated.
2023-08-05 13:02:04 +01:00
103355d265 use Threading.Event object to terminate producer 2023-08-04 23:13:54 +01:00
cddd04974b use walrus 2023-08-04 16:21:07 +01:00
b33926f304 replace generator function with factory function
patch bump
2023-08-03 12:09:34 +01:00
58a26e89a8 Correct type annotations None type.
Fixes 'code unreachable'
2023-08-02 17:17:59 +01:00
e96151cd5a InstallError and CAPIError classes
now subclass VMError

minor version bump
2023-08-02 15:42:45 +01:00
6b79c091e8 should the loader attempt to load an invalid toml config
log as error but allow the loader to continue

patch bump
2023-08-01 18:18:02 +01:00
bf77ded007 fix bind name for get_num_devices.
patch bump
2023-07-21 12:56:12 +01:00
7841dfe10f add ButtonModes IntEnum to macrobutton
debug log getter,setter for macrobutton
2023-07-21 12:49:01 +01:00
bdf8dc489a rename bindings to match CAPI functions
use prefix bind_
2023-07-21 12:47:53 +01:00
4fcb2f93ca remove unused import 2023-07-20 11:11:44 +01:00
8acd0b1385 add missing type annotations 2023-07-20 11:11:34 +01:00
89866bb87b remove redundant __str__ overrides 2023-07-20 11:10:37 +01:00
f996fc0d9c num_strip_levels, num_bus_levesl added to KindMaps 2023-07-20 11:10:05 +01:00
9a4205ce64 I don't think this is necessary on logout.
patch bump
2023-07-13 01:09:01 +01:00
9b2e38aab3 implement midi, text vban streams
kindmaps updated

factory tests updated.

closes #7
2023-07-12 09:45:33 +01:00
278566c2e0 deep_merge implemented
recursively merges dicts in profiles

patch bump
2023-07-12 04:52:42 +01:00
f854ec7875 Adds ability to extend one config with another
apply_config() checks for 'extends' in TOML config

2.3.0 section added to README

three example extender.toml configs added
2023-07-11 19:34:43 +01:00
5640f54e65 rethrow if not mdirty error code -9, immediately.
patch bump
2023-07-10 20:17:06 +01:00
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