예제 #1
0
    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
예제 #2
0
    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
예제 #3
0
 def get_dataflow(cls, params, samplerate):
     df = DataFlow()
     df.createNode('SlopeIntegrator',params)
     return df
예제 #4
0
 def get_dataflow(cls, params, samplerate):
     df = DataFlow()
     df.createNode('Derivate',params)
     return df
예제 #5
0
 def get_dataflow(cls,params,samplerate):
     df = DataFlow()
     df.createNode('FrameTokenizer',params)
     return df
예제 #6
0
 def get_dataflow(cls, params, samplerate):
     df = DataFlow()
     df.createNode('SlopeIntegrator', params)
     return df
예제 #7
0
 def get_dataflow(cls, params, samplerate):
     df = DataFlow()
     df.createNode('Derivate', params)
     return df
예제 #8
0
 def get_dataflow(cls, params, samplerate):
     df = DataFlow()
     df.createNode('FrameTokenizer', params)
     return df
예제 #9
0
 def get_dataflow(cls, params, samplerate):
     df = DataFlow()
     dataflow_safe_append(df, 'Cepstrum', params)
     return df
예제 #10
0
 def get_dataflow(cls, params, samplerate):
     df = DataFlow()
     dataflow_safe_append(df, 'AutoCorrelationPeaksIntegrator', params)
     return df