shithub: leaf

ref: 3ae7064aeb7485aed70048f8dc622282a5012a0c
dir: /TestPlugin/Source/LEAFTest.h/

View raw version
/*
  ==============================================================================

    OOPSTest.h
    Created: 4 Dec 2016 9:14:16pm
    Author:  Michael R Mulshine

  ==============================================================================
*/

#ifndef LEAFTEST1_H_INCLUDED
#define LEAFTEST1_H_INCLUDED

#include "LEAFLink.h"

#include "Yin.h"
#include "../../leaf/leaf.h"

// LEAFTest API
float   LEAFTest_tick            (float input);
void    LEAFTest_init            (float sampleRate, int blocksize);
void    LEAFTest_end             (void);
void    LEAFTest_block           (void);

void    LEAFTest_noteOn          (int midiNoteNumber, float velocity);
void    LEAFTest_noteOff         (int midiNoteNumber);

#endif  // LEAFTEST1_H_INCLUDED