/*
 * GLIB - a Generic LIBrarian and editor for synths
 *
 * Kawai K-5 Librarian - handles (SINGLE and) MULTI patches.
 * Functions are annotated if they work for SINGLE, MULTI, or both kinds.
 * Full editing not implemented - there are zillions of parameters,
 * and the huge LCD on the K-5 is actually quite easy to read and use.
 *
 * Alan Bland - att!druwy!mab
 */

#define OVERLAY2

#include "glib.h"

#define K5SINGLE	0
#define K5MULTI		1
#define K5MAGIC		0x5a3c

#define NERRS		5
#define RESERVESIZE	0

extern char *visnum();


/* This array contains arbitrary screen labels (MULTI) */
struct labelinfo Lk5mul[] = {
#MENU



          Sorry, no edit capability implemented for the K-5 yet.











  +-------------------------+--------------+
  |Space = Play Note        | Auto-Note    |
  |                         |              |
  |h = left   q = quit      |Pitch    %    |
  |j = down   N = Set Name  |Volume   %    |
  |k = up     J = Decrement |Duration %    |
  |l = right  K = Increment |Channel  %    |
  |                         |              |
  +-------------------------+--------------+
#END
-1,-1,NULL
};

struct paraminfo  Pk5mul[] =  {
/*
NAME		TYPE	POS	MAX	OFFSET	MASK	SHIFT	ADHOC
 */
#O autopitch	num	%%	127	-60
#O autovol	num	%%	127	-63
#O autodur	num	%%	20	-5	*5
#O autochan	num	%%	16	-1	*5
NULL,NULL,-1,-1,-1,-1,visnum,0,0,0,0
};

