- initial import
git-svn-id: http://moon:8086/svn/software/trunk/projects/JaySynth@37 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
==============================================================================
|
||||
|
||||
This file was generated by user!
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
|
||||
#ifndef _JAYSYNTHMONOPHONICMGR_H_
|
||||
#define _JAYSYNTHMONOPHONICMGR_H_
|
||||
|
||||
//#include "../JuceLibraryCode/JuceHeader.h"
|
||||
#include "synth_defs.h"
|
||||
|
||||
class JaySynthMonophonicMGR
|
||||
{
|
||||
public:
|
||||
JaySynthMonophonicMGR();
|
||||
~JaySynthMonophonicMGR();
|
||||
void init(void);
|
||||
void add(int note, float vel);
|
||||
void del(int note);
|
||||
int getNumNotes(void);
|
||||
int getLatestNote(void);
|
||||
int getHighestNote(void);
|
||||
float getVel(int note);
|
||||
|
||||
private:
|
||||
|
||||
typedef struct _skey_linkedlist_t
|
||||
{
|
||||
int note;
|
||||
float vel;
|
||||
struct _skey_linkedlist_t *pPrev, *pNext;
|
||||
|
||||
} key_linkedlist_t;
|
||||
|
||||
key_linkedlist_t keys[128];
|
||||
key_linkedlist_t *pLatest;
|
||||
};
|
||||
#endif // _JAYSYNTHMONOPHONICMGR_H_
|
||||
Reference in New Issue
Block a user