#ifndef FMIDI_H__
#define FMIDI_H__
enum
{
	FMIDI,
	
	MIDIFIELD_NAME = 1200, // Field Name
	MIDIFIELD_MAIN_GROUP = 1201,
	
		// Input Type
		MIDIFIELD_INPUTTYPE = 1202,
			MIDIFIELD_ISINPUTPORT = 0,
			MIDIFIELD_ISINPUTFILE = 1,
			
		// File Section
		MIDIFIELD_FILENAME= 1203,
	
		// Input Section
		MIDIFIELD_INPORT_GROUP = 1204,
			MIDIFIELD_INPUTPORTS = 1205,
				MIDIFIELD_PORT_NONE = 123,
				MIDIFIELD_PORT_0 = 0,
				MIDIFIELD_PORT_1 = 1,
				MIDIFIELD_PORT_2 = 2,
				MIDIFIELD_PORT_3 = 3,
				MIDIFIELD_PORT_4 = 4,
				MIDIFIELD_PORT_5 = 5,
				MIDIFIELD_PORT_6 = 6,
				MIDIFIELD_PORT_7 = 7,
				MIDIFIELD_PORT_8 = 8,
				MIDIFIELD_PORT_9 = 9,
				MIDIFIELD_PORT_10 = 10,
				MIDIFIELD_PORT_11 = 11,
				MIDIFIELD_PORT_12 = 12,
				MIDIFIELD_PORT_13 = 13,
				MIDIFIELD_PORT_14 = 14,
				MIDIFIELD_PORT_15 = 15,
				MIDIFIELD_PORT_16 = 16,
				MIDIFIELD_PORT_18 = 18,
				MIDIFIELD_PORT_19 = 19,
				MIDIFIELD_PORT_20 = 20,
				MIDIFIELD_PORT_21 = 21,
				MIDIFIELD_PORT_22 = 22,
				MIDIFIELD_PORT_23 = 23,
				MIDIFIELD_PORT_24 = 24,
				MIDIFIELD_PORT_25 = 25,
			MIDIFIELD_LISTINPORT = 1206,
			
		MIDIFIELD_INPUTSTATUS = 1207,
		MIDIFIELD_CHANNEL = 1208,	
			MIDIFIELD_CHANNEL_ALL = 123, 
			MIDIFIELD_CHANNEL_0 = 0,
			MIDIFIELD_CHANNEL_1 = 1,
			MIDIFIELD_CHANNEL_2 = 2,
			MIDIFIELD_CHANNEL_3 = 3,
			MIDIFIELD_CHANNEL_4 = 4,
			MIDIFIELD_CHANNEL_5 = 5,
			MIDIFIELD_CHANNEL_6 = 6,
			MIDIFIELD_CHANNEL_7 = 7,
			MIDIFIELD_CHANNEL_8 = 8,
			MIDIFIELD_CHANNEL_9 = 9,
			MIDIFIELD_CHANNEL_10 = 10,
			MIDIFIELD_CHANNEL_11 = 11,
			MIDIFIELD_CHANNEL_12 = 12,
			MIDIFIELD_CHANNEL_13 = 13,
			MIDIFIELD_CHANNEL_14 = 14,
			MIDIFIELD_CHANNEL_15 = 15,
		MIDIFIELD_DISTRIBUTION = 1209,
			MIDIFIELD_DISTRIBUTION_ABSOLUTE = 0,
			MIDIFIELD_DISTRIBUTION_RANGE = 1,
			MIDIFIELD_DISTRIBUTION_SUB_FIELD = 2,
		
		MIDIFIELD_PITCH_GROUP = 1210,
			MIDIFIELD_PITCHRANGE_MINVALUE = 1211,
			MIDIFIELD_PITCHRANGE_MAXVALUE = 1212,
			
		MIDIFIELD_VELOCITY_MULTIPLIER = 1213,
		MIDIFIELD_VELOCITY_MULTIPLIER_TEXT = 1214,
	
		// Title inside of our main group.
		MIDIFIELD_TITLE_GROUP = 1215,
		MIDIFIELD_TITLE = 1216,
	
		// Output Section
		MIDIFIELD_OUTPUTSECTION = 1217,
			MIDIFIELD_OUTPUTSTATUS = 1218,
			MIDIFIELD_OUTPUTPORTS = 1219,
				/*MIDIFIELD_PORT_NONE = 123,
				MIDIFIELD_PORT_0 = 0,
				MIDIFIELD_PORT_1 = 1,
				MIDIFIELD_PORT_2 = 2,
				MIDIFIELD_PORT_3 = 3,
				MIDIFIELD_PORT_4 = 4,
				MIDIFIELD_PORT_5 = 5,
				MIDIFIELD_PORT_6 = 6,
				MIDIFIELD_PORT_7 = 7,
				MIDIFIELD_PORT_8 = 8,
				MIDIFIELD_PORT_9 = 9,
				MIDIFIELD_PORT_10 = 10,
				MIDIFIELD_PORT_11 = 11,
				MIDIFIELD_PORT_12 = 12,
				MIDIFIELD_PORT_13 = 13,
				MIDIFIELD_PORT_14 = 14,
				MIDIFIELD_PORT_15 = 15,
				MIDIFIELD_PORT_16 = 16,
				MIDIFIELD_PORT_18 = 18,
				MIDIFIELD_PORT_19 = 19,
				MIDIFIELD_PORT_20 = 20,
				MIDIFIELD_PORT_21 = 21,
				MIDIFIELD_PORT_22 = 22,
				MIDIFIELD_PORT_23 = 23,
				MIDIFIELD_PORT_24 = 24,
				MIDIFIELD_PORT_25 = 25,*/
			MIDIFIELD_LISTOUTPORT = 1220,
		
	// subField section
	MIDIFIELD_FIELD_GRPS = 1221,
		MIDIFIELD_FIELD_GRPS_NAME = 1222,
		MIDIFIELD_FIELDS = 1223,
		
	// Test Section
	MIDIFIELD_TEST_GRP = 1224,
		MIDIFIELD_READ_DATA_SAVE = 1225,
		MIDIFIELD_READ_DATA_RESET = 1226,
		MIDIFIELD_TEST_JUMP = 1227,
		MIDIFIELD_RESET_ALL_OUT_PORT = 1228,
};
#endif // FMIDI_H__