simple-carla 1.5.0__py2.py3-none-any.whl → 1.5.1__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -234,7 +234,7 @@ from carla_backend import (
234
234
  )
235
235
 
236
236
 
237
- __version__ = "1.5.0"
237
+ __version__ = "1.5.1"
238
238
 
239
239
 
240
240
  # -------------------------------------------------------------------
@@ -2972,6 +2972,27 @@ class Plugin(PatchbayClient):
2972
2972
  """
2973
2973
  return len(self.output_parameters())
2974
2974
 
2975
+ @property
2976
+ def peak_mono(self):
2977
+ """
2978
+ Returns (float) an estimated volume peak for mono plugins
2979
+ """
2980
+ return Carla.instance.get_input_peak_value(self.plugin_id, True)
2981
+
2982
+ @property
2983
+ def peak_left(self):
2984
+ """
2985
+ Returns (float) an estimated volume peak for the left channel
2986
+ """
2987
+ return Carla.instance.get_input_peak_value(self.plugin_id, True)
2988
+
2989
+ @property
2990
+ def peak_right(self):
2991
+ """
2992
+ Returns (float) an estimated volume peak for the left channel
2993
+ """
2994
+ return Carla.instance.get_input_peak_value(self.plugin_id, False)
2995
+
2975
2996
  def input_parameters(self):
2976
2997
  """
2977
2998
  Returns a list of Parameter objects.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: simple_carla
3
- Version: 1.5.0
3
+ Version: 1.5.1
4
4
  Summary: An easy-to-use, object-oriented interface to the carla plugin host.
5
5
  Author-email: Leon Dionne <ldionne@dridesign.sh.cn>
6
6
  Description-Content-Type: text/markdown
@@ -1,10 +1,10 @@
1
- simple_carla/__init__.py,sha256=r6NMfF2BzCKUzI900DJUjfzt9khbvsiq09vJDv92ruM,108435
1
+ simple_carla/__init__.py,sha256=2udXvsd98xWn9eGHnCLN-hIjG2GCLWOLWd-lrUdm6fg,108964
2
2
  simple_carla/plugin_dialog.py,sha256=uof7YSqVEjgUrWqF-bo76hegsecIOtu6aZr03kdNrKQ,1498
3
3
  simple_carla/qt.py,sha256=ufN7PHHjFB_IXyoJnuG_JcY2p-5CyuOcEDFYG4BHF-g,13957
4
4
  simple_carla/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  simple_carla/scripts/sc_plugin_def.py,sha256=CVseichHuDCmGeD8v7CfHweeyHHXI60-RcvzU8OILqo,2214
6
- simple_carla-1.5.0.dist-info/entry_points.txt,sha256=oqJRVQXTCIUOmspGNnqDWq9mhz397uoRMQQOhBFbIcs,73
7
- simple_carla-1.5.0.dist-info/LICENSE,sha256=ljOS4DjXvqEo5VzGfdaRwgRZPbNScGBmfwyC8PChvmQ,32422
8
- simple_carla-1.5.0.dist-info/WHEEL,sha256=j3d_2VkBU36k09xOc4O9RZyJJ8uFqn4BR2AtKD7MOp8,99
9
- simple_carla-1.5.0.dist-info/METADATA,sha256=CjmnVnsvEJfe492I1KMD0xTe1VeRApEDveDdHpSzEsQ,1717
10
- simple_carla-1.5.0.dist-info/RECORD,,
6
+ simple_carla-1.5.1.dist-info/entry_points.txt,sha256=oqJRVQXTCIUOmspGNnqDWq9mhz397uoRMQQOhBFbIcs,73
7
+ simple_carla-1.5.1.dist-info/LICENSE,sha256=ljOS4DjXvqEo5VzGfdaRwgRZPbNScGBmfwyC8PChvmQ,32422
8
+ simple_carla-1.5.1.dist-info/WHEEL,sha256=j3d_2VkBU36k09xOc4O9RZyJJ8uFqn4BR2AtKD7MOp8,99
9
+ simple_carla-1.5.1.dist-info/METADATA,sha256=A2lhwJT6cRt4B4J5WEmb0pNt6pZeJtfgQKqLaUKwqy0,1717
10
+ simple_carla-1.5.1.dist-info/RECORD,,