def testOnGuitarWithDataFlow(self): "runs on guitar and load Yaafe dataflow from file" self.source = os.path.join (os.path.dirname(__file__), "samples", "guitar.wav") # Setup Yaafe Analyzer # Load DataFlow from file df = DataFlow() df_file = os.path.join (os.path.dirname(__file__), "yaafe_config", "yaafeDataFlow") df.load(df_file) # Setup a new Yaafe TimeSide analyzer # from DataFlow self.analyzer = Yaafe(df) # Expected Results self.result_length = 5
def get_dataflow(cls, params, samplerate): df = DataFlow() df.createNode('SlopeIntegrator',params) return df
def get_dataflow(cls, params, samplerate): df = DataFlow() df.createNode('Derivate',params) return df
def get_dataflow(cls,params,samplerate): df = DataFlow() df.createNode('FrameTokenizer',params) return df
def get_dataflow(cls, params, samplerate): df = DataFlow() df.createNode('SlopeIntegrator', params) return df
def get_dataflow(cls, params, samplerate): df = DataFlow() df.createNode('Derivate', params) return df
def get_dataflow(cls, params, samplerate): df = DataFlow() df.createNode('FrameTokenizer', params) return df
def get_dataflow(cls, params, samplerate): df = DataFlow() dataflow_safe_append(df, 'Cepstrum', params) return df
def get_dataflow(cls, params, samplerate): df = DataFlow() dataflow_safe_append(df, 'AutoCorrelationPeaksIntegrator', params) return df