Commit Graph

108 Commits

Author SHA1 Message Date
ce5936b740 lint fixes
ruff added to dev dependencies

ruff badge added to readme
2023-10-29 09:40:10 +00:00
2e1916eeaa moves timeout login into decorator function
patch bump
2023-10-29 09:20:56 +00:00
54dfa372b1 rework the login timer loop.
patch bump
2023-10-27 23:21:40 +01:00
b360545aa6 adds a configurable timeout for login()
readme, changelog updated

fixes #9
2023-10-27 17:29:53 +01:00
4bfc32ad91 log after clear dirty 2023-10-21 15:23:28 +01:00
a0eb56a575 adds a minor delay before clearing dirty
in login()

fixes #8
2023-10-05 09:50:21 +01:00
23ed41ed4a adds (patch) composite to kind maps 2023-09-29 00:15:58 +01:00
b79e6a9dbe return value of comp.knee to 2DP
patch bump
2023-09-25 17:04:23 +01:00
b4306d9af5 adds device to VirtualBus class explicitly
if basic kind.

patch bump
2023-09-06 15:53:57 +01:00
84fdd94559 rewird VMError docstring
upd README.
2023-08-18 20:09:59 +01:00
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