mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2024-11-15 17:40:57 +00:00
minor ver bump
2.1.0 added to changelog
This commit is contained in:
parent
6ab7d03a11
commit
2255da4e53
14
CHANGELOG.md
14
CHANGELOG.md
@ -9,8 +9,18 @@ Before any major/minor/patch bump all unit tests will be run to verify they pass
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
- [x] delay now settable with keyword arg.
|
- [ ]
|
||||||
- [x] type checks removed, prefer duck typing
|
|
||||||
|
## [2.1.0] - 2022-11-08
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- delay keyword argument
|
||||||
|
- bounds checks for vals passed to lin_set/log_set
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
- type checks, prefer duck typing
|
||||||
|
|
||||||
## [2.0.0] - 2022-11-07
|
## [2.0.0] - 2022-11-07
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "xair-api"
|
name = "xair-api"
|
||||||
version = "2.0.2"
|
version = "2.1.0"
|
||||||
description = "Remote control Behringer X-Air | Midas MR mixers through OSC"
|
description = "Remote control Behringer X-Air | Midas MR mixers through OSC"
|
||||||
authors = ["onyx-and-iris <code@onyxandiris.online>"]
|
authors = ["onyx-and-iris <code@onyxandiris.online>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -64,6 +64,8 @@ def geq_prop(param):
|
|||||||
return round(lin_get(-15, 15, self.getter(param)[0]), 1)
|
return round(lin_get(-15, 15, self.getter(param)[0]), 1)
|
||||||
|
|
||||||
def fset(self, val):
|
def fset(self, val):
|
||||||
|
if not -15 <= val <= 15:
|
||||||
|
raise XAirRemoteError("expected value in range -15.0 to 15.0")
|
||||||
self.setter(param, lin_set(-15, 15, val))
|
self.setter(param, lin_set(-15, 15, val))
|
||||||
|
|
||||||
return property(fget, fset)
|
return property(fget, fset)
|
||||||
|
Loading…
Reference in New Issue
Block a user