Mercurial > hg > vampy-host
view test/test_process.py @ 64:ee7542afa98e
Toward getting the results out in a nice form
author | Chris Cannam |
---|---|
date | Wed, 14 Jan 2015 11:33:01 +0000 |
parents | f7ee26ca5304 |
children | c5106210370e |
line wrap: on
line source
import vamp import numpy as np testPluginKey = "vamp-test-plugin:vamp-test-plugin" rate = 44100 def test_process(): buf = np.zeros(10240) results = vamp.process(buf, rate, testPluginKey, {}, ["instants","curve-fsr"]) print("results = " + str(list(results))) return True