Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
ca70e59
Replace lilvlib with own equivalent implementation based on current lilv
SpotlightKid Nov 5, 2019
bccd5b7
Make dependency on pyaudio optional
SpotlightKid Nov 5, 2019
3cf8a8d
Update classifiers in setup.py for current Python versions
SpotlightKid Nov 5, 2019
b300669
Variable renaming
SpotlightKid Nov 7, 2019
b4caa61
Add 'pyaudio' to tests_require
SpotlightKid Nov 8, 2019
73b0ae1
General improvements of `lv2_effect_builder`
SpotlightKid Nov 8, 2019
3fe7c08
Keep order of init arguments the same as base class
SpotlightKid Nov 9, 2019
1d245fb
Delegate LV2Effect item access to LV2Plugin instance
SpotlightKid Nov 9, 2019
8fbc54e
Optimize LV2Plugin property access
SpotlightKid Nov 9, 2019
4aaf1bf
Fix swapped logic in use of mod-host bypass command
SpotlightKid Nov 9, 2019
64e9af3
Less verbose logging
SpotlightKid Nov 9, 2019
dfda603
Comment out printing of messages send to mod-host
SpotlightKid Nov 9, 2019
1d3f5d8
Export JackError exception
SpotlightKid Nov 13, 2019
c6498c7
Docstring grammar fixes
SpotlightKid Nov 13, 2019
2b995ee
Set socket timeout before attempting connection
SpotlightKid Nov 13, 2019
1d0c8ca
Exception error message grammer and formatting fix
SpotlightKid Nov 13, 2019
b9989f3
Fix exception error message quoting
SpotlightKid Nov 13, 2019
ff4ada2
Don't try to close connection if it isn't open
SpotlightKid Nov 13, 2019
b8214de
Add implementation fo preset_load/save commands
SpotlightKid Nov 13, 2019
9323a22
Improve string representaton and repr() of Param class
SpotlightKid Nov 13, 2019
4f91295
Improve string representaton of LV2Effect class
SpotlightKid Nov 13, 2019
46c5446
Merge branch 'enhancement/remove-lilvlib' of github.com:SpotlightKid/…
SpotlightKid Nov 13, 2019
4701ca0
Add read/writeable properties to plugin info
SpotlightKid Nov 13, 2019
c7166dc
Provisionary support for setting LV2 plugin properties
SpotlightKid Nov 15, 2019
e783294
Minor docstring fixes
SpotlightKid Nov 15, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions pluginsmanager/jack/jack_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
# limitations under the License.

import logging
import jack


from jack import Client, JackError


class JackClient(object):
Expand All @@ -31,15 +33,16 @@ class JackClient(object):

>>> client.close()

:param bool no_start_server: False if starts a new JACK server
True if uses a already started jack (ex: using `jackdump`)
:param name: Jack client name. Default: `JackClient`
:param bool no_start_server: False if starts a new JACK server
True if uses a already started jack (ex: using `jackdbus`)

"""
def __init__(self, no_start_server=True, name=None):
def __init__(self, name=None, no_start_server=True):
if name is None:
name = self.__class__.__name__

self.client = jack.Client(name=name, no_start_server=no_start_server)
self.client = Client(name=name, no_start_server=no_start_server)

self.xrun_callback = lambda delay: ...
self.shutdown_callback = lambda status, reason: ...
Expand Down
8 changes: 8 additions & 0 deletions pluginsmanager/model/effect.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def __init__(self):
self._active = True

self._params = ()
self._properties = {}
self._inputs = DictTuple([], lambda: None)
self._outputs = DictTuple([], lambda: None)
self._midi_inputs = DictTuple([], lambda: None)
Expand All @@ -79,6 +80,13 @@ def params(self):
"""
return self._params

@property
def properties(self):
"""
:return list[dict]: Properties of effect
"""
return self._properties

@property
def inputs(self):
"""
Expand Down
Loading