Mercurial > hg > vampy-host
view test/test_process.py @ 61:f7ee26ca5304
Start on the main process stuff
author | Chris Cannam |
---|---|
date | Wed, 14 Jan 2015 10:36:55 +0000 |
parents | |
children | ee7542afa98e |
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(1024) results = vamp.process(buf, rate, testPluginKey, {}, []) print("results = " + str(list(results))) return True