simple-carla 2.5.1__tar.gz → 2.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {simple_carla-2.5.1 → simple_carla-2.5.2}/PKG-INFO +1 -1
- {simple_carla-2.5.1 → simple_carla-2.5.2}/pyproject.toml +1 -1
- {simple_carla-2.5.1 → simple_carla-2.5.2}/simple_carla/__init__.py +26 -29
- {simple_carla-2.5.1 → simple_carla-2.5.2}/.gitignore +0 -0
- {simple_carla-2.5.1 → simple_carla-2.5.2}/LICENSE +0 -0
- {simple_carla-2.5.1 → simple_carla-2.5.2}/README.md +0 -0
- {simple_carla-2.5.1 → simple_carla-2.5.2}/simple_carla/plugin_dialog.py +0 -0
- {simple_carla-2.5.1 → simple_carla-2.5.2}/simple_carla/qt.py +0 -0
- {simple_carla-2.5.1 → simple_carla-2.5.2}/simple_carla/scripts/__init__.py +0 -0
- {simple_carla-2.5.1 → simple_carla-2.5.2}/simple_carla/scripts/sc_plugin_def.py +0 -0
- {simple_carla-2.5.1 → simple_carla-2.5.2}/simple_carla/scripts/sc_plugin_info.py +0 -0
- {simple_carla-2.5.1 → simple_carla-2.5.2}/tests/carla.py +0 -0
- {simple_carla-2.5.1 → simple_carla-2.5.2}/tests/qt_carla.py +0 -0
@@ -19,7 +19,7 @@ sc-plugin-def = "simple_carla.scripts.sc_plugin_def:main"
|
|
19
19
|
sc-plugin-info = "simple_carla.scripts.sc_plugin_info:main"
|
20
20
|
|
21
21
|
[bumpver]
|
22
|
-
current_version = "2.5.
|
22
|
+
current_version = "2.5.2"
|
23
23
|
version_pattern = "MAJOR.MINOR.PATCH"
|
24
24
|
commit_message = "Bump version {old_version} -> {new_version}"
|
25
25
|
commit = true
|
@@ -240,7 +240,7 @@ from carla_backend import (
|
|
240
240
|
)
|
241
241
|
|
242
242
|
|
243
|
-
__version__ = "2.5.
|
243
|
+
__version__ = "2.5.2"
|
244
244
|
|
245
245
|
|
246
246
|
# -------------------------------------------------------------------
|
@@ -2714,8 +2714,9 @@ class Plugin(PatchbayClient):
|
|
2714
2714
|
|
2715
2715
|
_save_state_keys = [ 'moniker',
|
2716
2716
|
'active', 'volume', 'dry_wet', 'panning', 'balance_left', 'balance_right',
|
2717
|
-
'prefer_generic_dialog', 'send_all_sound_off', 'send_channel_pressure',
|
2718
|
-
'
|
2717
|
+
'prefer_generic_dialog', 'send_all_sound_off', 'send_channel_pressure',
|
2718
|
+
'send_control_changes', 'send_note_aftertouch', 'send_pitchbend',
|
2719
|
+
'send_program_changes', 'skip_sending_notes', 'force_stereo' ]
|
2719
2720
|
|
2720
2721
|
def on_ready(self, callback):
|
2721
2722
|
self._cb_ready = callback
|
@@ -2931,7 +2932,8 @@ class Plugin(PatchbayClient):
|
|
2931
2932
|
This function is called from "check_ports_ready" before calling Plugin.ready()
|
2932
2933
|
"""
|
2933
2934
|
for key, value in self.saved_state["vars"].items():
|
2934
|
-
|
2935
|
+
if not value is None:
|
2936
|
+
setattr(self, key, value)
|
2935
2937
|
for key, value in self.saved_state["parameters"].items():
|
2936
2938
|
if not value is None and int(key) in self.parameters:
|
2937
2939
|
self.parameters[int(key)].value = value
|
@@ -3247,11 +3249,10 @@ class Plugin(PatchbayClient):
|
|
3247
3249
|
self.set_dry_wet(value)
|
3248
3250
|
|
3249
3251
|
def set_dry_wet(self, value):
|
3250
|
-
if isinstance(value, float):
|
3251
|
-
|
3252
|
-
|
3253
|
-
|
3254
|
-
Carla.instance.set_drywet(self.plugin_id, value)
|
3252
|
+
if not isinstance(value, float) or value < 0.0 or value > 1.0:
|
3253
|
+
raise ValueError()
|
3254
|
+
self._dry_wet = value
|
3255
|
+
Carla.instance.set_drywet(self.plugin_id, value)
|
3255
3256
|
|
3256
3257
|
@property
|
3257
3258
|
def volume(self):
|
@@ -3270,11 +3271,10 @@ class Plugin(PatchbayClient):
|
|
3270
3271
|
self.set_volume(value)
|
3271
3272
|
|
3272
3273
|
def set_volume(self, value):
|
3273
|
-
if isinstance(value, float):
|
3274
|
-
|
3275
|
-
|
3276
|
-
|
3277
|
-
Carla.instance.set_volume(self.plugin_id, value)
|
3274
|
+
if not isinstance(value, float) or value < 0.0 or value > 1.0:
|
3275
|
+
raise ValueError()
|
3276
|
+
self._volume = value
|
3277
|
+
Carla.instance.set_volume(self.plugin_id, value)
|
3278
3278
|
|
3279
3279
|
@property
|
3280
3280
|
def balance_left(self):
|
@@ -3293,11 +3293,10 @@ class Plugin(PatchbayClient):
|
|
3293
3293
|
self.set_balance_left(value)
|
3294
3294
|
|
3295
3295
|
def set_balance_left(self, value):
|
3296
|
-
if isinstance(value, float):
|
3297
|
-
|
3298
|
-
|
3299
|
-
|
3300
|
-
Carla.instance.set_balance_left(self.plugin_id, value)
|
3296
|
+
if not isinstance(value, float) or value < -1.0 or value > 1.0:
|
3297
|
+
raise ValueError()
|
3298
|
+
self._balance_left = value
|
3299
|
+
Carla.instance.set_balance_left(self.plugin_id, value)
|
3301
3300
|
|
3302
3301
|
@property
|
3303
3302
|
def balance_right(self):
|
@@ -3316,11 +3315,10 @@ class Plugin(PatchbayClient):
|
|
3316
3315
|
self.set_balance_right(value)
|
3317
3316
|
|
3318
3317
|
def set_balance_right(self, value):
|
3319
|
-
if isinstance(value, float):
|
3320
|
-
|
3321
|
-
|
3322
|
-
|
3323
|
-
Carla.instance.set_balance_right(self.plugin_id, value)
|
3318
|
+
if not isinstance(value, float) or value < -1.0 or value > 1.0:
|
3319
|
+
raise ValueError()
|
3320
|
+
self._balance_right = value
|
3321
|
+
Carla.instance.set_balance_right(self.plugin_id, value)
|
3324
3322
|
|
3325
3323
|
@property
|
3326
3324
|
def balance_center(self):
|
@@ -3349,11 +3347,10 @@ class Plugin(PatchbayClient):
|
|
3349
3347
|
self.set_panning(value)
|
3350
3348
|
|
3351
3349
|
def set_panning(self, value):
|
3352
|
-
if isinstance(value, float):
|
3353
|
-
|
3354
|
-
|
3355
|
-
|
3356
|
-
Carla.instance.set_panning(self.plugin_id, value)
|
3350
|
+
if not isinstance(value, float) or value < -1.0 or value > 1.0:
|
3351
|
+
raise ValueError()
|
3352
|
+
self._panning = value
|
3353
|
+
Carla.instance.set_panning(self.plugin_id, value)
|
3357
3354
|
|
3358
3355
|
@property
|
3359
3356
|
def ctrl_channel(self):
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|