simple-carla 2.5.2__tar.gz → 2.6.1__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.2 → simple_carla-2.6.1}/PKG-INFO +1 -1
- {simple_carla-2.5.2 → simple_carla-2.6.1}/pyproject.toml +1 -1
- {simple_carla-2.5.2 → simple_carla-2.6.1}/simple_carla/__init__.py +5 -6
- {simple_carla-2.5.2 → simple_carla-2.6.1}/simple_carla/qt.py +4 -4
- {simple_carla-2.5.2 → simple_carla-2.6.1}/simple_carla/scripts/sc_plugin_def.py +4 -4
- {simple_carla-2.5.2 → simple_carla-2.6.1}/simple_carla/scripts/sc_plugin_info.py +3 -2
- {simple_carla-2.5.2 → simple_carla-2.6.1}/tests/carla.py +1 -1
- {simple_carla-2.5.2 → simple_carla-2.6.1}/.gitignore +0 -0
- {simple_carla-2.5.2 → simple_carla-2.6.1}/LICENSE +0 -0
- {simple_carla-2.5.2 → simple_carla-2.6.1}/README.md +0 -0
- {simple_carla-2.5.2 → simple_carla-2.6.1}/simple_carla/plugin_dialog.py +0 -0
- {simple_carla-2.5.2 → simple_carla-2.6.1}/simple_carla/scripts/__init__.py +0 -0
- {simple_carla-2.5.2 → simple_carla-2.6.1}/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.
|
22
|
+
current_version = "2.6.1"
|
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.
|
243
|
+
__version__ = "2.6.1"
|
244
244
|
|
245
245
|
|
246
246
|
# -------------------------------------------------------------------
|
@@ -373,7 +373,7 @@ class _SimpleCarla(CarlaHostDLL):
|
|
373
373
|
Make sure to call carla_engine_idle() at regular intervals afterwards.
|
374
374
|
driver_name: Driver to use
|
375
375
|
"""
|
376
|
-
self.__engine_idle_thread = threading.Thread(target=self.__engine_idle)
|
376
|
+
self.__engine_idle_thread = threading.Thread(target = self.__engine_idle)
|
377
377
|
if super().engine_init(driver_name, self.client_name):
|
378
378
|
self._run_idle_loop = True
|
379
379
|
self.__engine_idle_thread.start()
|
@@ -1514,7 +1514,6 @@ class _SimpleCarla(CarlaHostDLL):
|
|
1514
1514
|
# ================================================================================
|
1515
1515
|
|
1516
1516
|
def add_plugin(self, plugin):
|
1517
|
-
logging.debug('add_plugin %s', plugin.unique_name)
|
1518
1517
|
self._plugin_by_uuid[plugin.unique_name] = plugin
|
1519
1518
|
if not self._add_plugin( # Carla parameter
|
1520
1519
|
# ----------------------------------------- # ---------------
|
@@ -2085,7 +2084,7 @@ class Carla(_SimpleCarla):
|
|
2085
2084
|
logging.warning('Unhandled action %d', action)
|
2086
2085
|
|
2087
2086
|
except Exception as e:
|
2088
|
-
|
2087
|
+
logging.exception(e)
|
2089
2088
|
if self._cb_application_error is not None:
|
2090
2089
|
self._cb_application_error(exc_type.__name__, str(e), fname, exc_tb.tb_lineno)
|
2091
2090
|
|
@@ -2727,7 +2726,7 @@ class Plugin(PatchbayClient):
|
|
2727
2726
|
# -------------------------------------------------------------------
|
2728
2727
|
# Internal lifecycle events
|
2729
2728
|
|
2730
|
-
def __init__(self, plugin_def = None, saved_state = None):
|
2729
|
+
def __init__(self, plugin_def = None, *, saved_state = None):
|
2731
2730
|
if plugin_def is None:
|
2732
2731
|
if self.plugin_def is None:
|
2733
2732
|
raise RuntimeError("No definition for plugin")
|
@@ -2758,7 +2757,7 @@ class Plugin(PatchbayClient):
|
|
2758
2757
|
self._unmute_volume = 1.0
|
2759
2758
|
self._unbypass_wet = 1.0
|
2760
2759
|
self.parameters = {} # Parameter objects. Key is parameter_id.
|
2761
|
-
self._midi_notes = np_zeros((16, 128), dtype=bool) # array for determining whether midi active.
|
2760
|
+
self._midi_notes = np_zeros((16, 128), dtype = bool) # array for determining whether midi active.
|
2762
2761
|
|
2763
2762
|
self.unique_name = Carla.instance.get_unique_name(self)
|
2764
2763
|
self.moniker = self.unique_name if saved_state is None else saved_state["vars"]["moniker"]
|
@@ -278,7 +278,7 @@ class CarlaQt(_SimpleCarla, QObject):
|
|
278
278
|
logging.warning('Unhandled action %d', action)
|
279
279
|
|
280
280
|
except Exception as e:
|
281
|
-
|
281
|
+
logging.exception(e)
|
282
282
|
exc_type, _, exc_tb = sys.exc_info()
|
283
283
|
fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1]
|
284
284
|
self.sig_application_error.emit(exc_type.__name__, str(e), fname, exc_tb.tb_lineno)
|
@@ -341,7 +341,7 @@ class AbstractQtPlugin(Plugin):
|
|
341
341
|
|
342
342
|
plugin_def = {...}
|
343
343
|
|
344
|
-
def __init__(self, parent, plugin_def, saved_state = None):
|
344
|
+
def __init__(self, parent, plugin_def, *, saved_state = None):
|
345
345
|
QFrame.__init__(self, parent)
|
346
346
|
AbstractQtPlugin.__init__(self, plugin_def, saved_state)
|
347
347
|
|
@@ -437,9 +437,9 @@ class QtPlugin(AbstractQtPlugin, QObject):
|
|
437
437
|
sig_ctrl_channel_changed = pyqtSignal(Plugin, float)
|
438
438
|
|
439
439
|
|
440
|
-
def __init__(self, plugin_def=None, saved_state=None):
|
440
|
+
def __init__(self, plugin_def = None, *, saved_state = None):
|
441
441
|
QObject.__init__(self)
|
442
|
-
Plugin.__init__(self, plugin_def, saved_state)
|
442
|
+
Plugin.__init__(self, plugin_def, saved_state = saved_state)
|
443
443
|
|
444
444
|
|
445
445
|
# end simple_carla/qt.py
|
@@ -48,10 +48,10 @@ class MainWindow(QMainWindow):
|
|
48
48
|
def main():
|
49
49
|
p = argparse.ArgumentParser()
|
50
50
|
p.epilog = __doc__
|
51
|
-
p.add_argument("--full", "-f", action="store_true",
|
52
|
-
help="Spit out the full plugin definition.")
|
53
|
-
p.add_argument("--verbose", "-v", action="store_true",
|
54
|
-
help="Show detailed debug information")
|
51
|
+
p.add_argument("--full", "-f", action = "store_true",
|
52
|
+
help = "Spit out the full plugin definition.")
|
53
|
+
p.add_argument("--verbose", "-v", action = "store_true",
|
54
|
+
help = "Show detailed debug information")
|
55
55
|
options = p.parse_args()
|
56
56
|
logging.basicConfig(
|
57
57
|
level = logging.DEBUG if options.verbose else logging.ERROR,
|
@@ -100,6 +100,7 @@ Filename: {plugin.filename}
|
|
100
100
|
print(label, getattr(param, att));
|
101
101
|
except AttributeError:
|
102
102
|
pass
|
103
|
+
print()
|
103
104
|
self.carla.delete()
|
104
105
|
QApplication.instance().quit()
|
105
106
|
|
@@ -107,8 +108,8 @@ Filename: {plugin.filename}
|
|
107
108
|
def main():
|
108
109
|
p = argparse.ArgumentParser()
|
109
110
|
p.epilog = __doc__
|
110
|
-
p.add_argument("--verbose", "-v", action="store_true",
|
111
|
-
help="Show detailed debug information")
|
111
|
+
p.add_argument("--verbose", "-v", action = "store_true",
|
112
|
+
help = "Show detailed debug information")
|
112
113
|
options = p.parse_args()
|
113
114
|
logging.basicConfig(
|
114
115
|
level = logging.DEBUG if options.verbose else logging.ERROR,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|