Esempio n. 1
0
def main():

    print vh.list_plugins()

    #segmentino:segmentino
    #qm-vamp-plugins:qm-segmenter

    #vh.load_plugin('qm-vamp-plugins:qm-segmenter', 44100, 0)
    x = vp.process_audio('Julian.mp3', 44100, 'qm-vamp-plugins:qm-segmenter',
                         'Julian.txt')

    #collect function
    #librosa and vamp collect
    vp.c
Esempio n. 2
0
def test_plugin_exists():
    assert plugin_key in vh.list_plugins()
    plug = vh.load_plugin(plugin_key, rate, vh.ADAPT_NONE)
    assert "pluginVersion" in plug.info
    if plug.info["pluginVersion"] != expectedVersion:
        print("Test plugin version " + str(plug.info["pluginVersion"]) + " does not match expected version " + str(expectedVersion))
    assert plug.info["pluginVersion"] == expectedVersion
Esempio n. 3
0
def test_plugin_exists():
    assert plugin_key in vh.list_plugins()
    plug = vh.load_plugin(plugin_key, rate, vh.ADAPT_NONE)
    assert "pluginVersion" in plug.info
    if plug.info["pluginVersion"] != expectedVersion:
        print("Test plugin version " + str(plug.info["pluginVersion"]) +
              " does not match expected version " + str(expectedVersion))
    assert plug.info["pluginVersion"] == expectedVersion
Esempio n. 4
0
def test_list():
    plugins = vh.list_plugins()
    if plugin_key not in plugins:
        print(
            "Test plugin " + plugin_key +
            " not installed or not returned by enumerate: can't run any tests without it"
        )
    assert plugin_key in plugins
Esempio n. 5
0
def list_plugins():
    """Obtain a list of plugin keys for all currently installed Vamp plugins.

    The returned value is a list of strings, each of which is the key
    for one plugin. (Note that a plugin may have multiple outputs, if
    it computes more than one type of feature.)

    To query the available outputs and category of a plugin, you may
    use vamp.get_outputs_of() and vamp.get_category_of(). Further
    information may be retrieved by loading the plugin and querying
    its info dictionary using the low-level functions in the
    vamp.vampyhost extension module.

    To make use of a plugin to extract features from audio data, pass
    the plugin key and optionally an output identifier to
    vamp.process() or vamp.collect().
    """
    return vampyhost.list_plugins()
Esempio n. 6
0
def test_plugin_exists_in_freq_version():
    assert plugin_key_freq in vh.list_plugins()
Esempio n. 7
0
def test_list():
    plugins = vh.list_plugins()
    if plugin_key not in plugins:
        print("Test plugin " + plugin_key + " not installed or not returned by enumerate: can't run any tests without it")
    assert plugin_key in plugins
Esempio n. 8
0
def test_plugin_exists_in_freq_version():
    assert plugin_key_freq in vh.list_plugins()