Exemple #1
0
 def __init__(self):
     fakeserv.start()
     self.lv2db = lv2.LV2DB()
     self.parser = LV2GraphParser()
     self.cgraph = conndiagram.ConnectionGraphEditor(self, self.parser)
Exemple #2
0
#!/usr/bin/env python
import os
import sys
import fakeserv
import lv2
import client

fakeserv.start()

db = lv2.LV2DB()
plugins = db.getPluginList()

for uri in plugins:
    plugin = db.getPluginInfo(uri)
    if plugin == None:
        continue
    print "Plugin: %s" % plugin.name
    if plugin.microname != None: print "Tiny name: %s" % plugin.microname
    print "License: %s" % plugin.license
    print "Classes: %s" % plugin.classes
    print "Required features: %s" % list(plugin.requiredFeatures)
    print "Optional features: %s" % list(plugin.optionalFeatures)
    print "Ports:"
    types = ["Audio", "Control", "Event", "Input", "Output", "String", "LarslMidi"]
    for port in plugin.ports:
        extra = []
        for type in types:
            if port.__dict__["is" + type]:
                extra.append(type)
        for sp in ["defaultValue", "minimum", "maximum", "microname"]:
            if port.__dict__[sp] != None:
Exemple #3
0
#!/usr/bin/env python
import os
import sys
import fakeserv
import lv2
import client

fakeserv.start()

db = lv2.LV2DB()
plugins = db.getPluginList()

for uri in plugins:
    plugin = db.getPluginInfo(uri)
    if plugin == None:
        continue
    print "Plugin: %s" % plugin.name
    if plugin.microname != None: print "Tiny name: %s" % plugin.microname
    print "License: %s" % plugin.license
    print "Classes: %s" % plugin.classes
    print "Required features: %s" % list(plugin.requiredFeatures)
    print "Optional features: %s" % list(plugin.optionalFeatures)
    print "Ports:"
    types = [
        "Audio", "Control", "Event", "Input", "Output", "String", "LarslMidi"
    ]
    for port in plugin.ports:
        extra = []
        for type in types:
            if port.__dict__["is" + type]:
                extra.append(type)
Exemple #4
0
 def __init__(self):
     fakeserv.start()
     self.lv2db = lv2.LV2DB()
     self.parser = LV2GraphParser()
     self.cgraph = conndiagram.ConnectionGraphEditor(self, self.parser)