shithub: leaf

ref: 9dffd7c97f0263f5207db0a08dd4ab2d6af5b21d
dir: /LEAF_JUCEPlugin/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 "../../LEAF/leaf.h"

#include "Yin.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