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

    This file was generated by user!

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

#ifndef _JAYSYNTHMONOPHONICMGR_H_
#define _JAYSYNTHMONOPHONICMGR_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_
