scriptTemplate(1).txt

(4 KB) Pobierz
			REM:Tokens need to be UPPER CASE so far 
	 		REM:Hexvalues need to be entered as xaaaa or x1234 not 0x22,0xaa	
		
  STARTSCRIPT:
  REM:if not found interpretation will be aborted
  REM: //////////////////start of global parameter settings //////////////////////////

  		
  DEVICENAME:testname
 			REM: this name will appear in the trackmixermap selection menu
 	DEVICESHORTNAME:test
 			REM: this name will appear in the trackmixermap identifier box
  NAMETABLE: testnames,"1","2","3"
    	REM: a name table identifier followed by names,names must be enclosed in Quotes if they
  		REM: cantain delimiter chars	"sound 3/4 + 22"
	
  MAPTABLE:testmap,50,100,150
  		REM: a name followed by numbers (32-Bit max.),is a translation table for the range 
  		REM: of max - min and will be used for extended Sysex normally,but may also be a 
 			REM: complete Patch.

  UNIQID:	xf8000003
    	REM: to identify this script with a given Trackmixermap
  		REM: a 32-Bit integer or Hexvalue
			REM: it is a good idea to use the sysex company identifier + device id?s here
			REM: the id really needs to be unique !!
  	
  GROUPID:
  			REM: not used so far
  REM: //////////////////end of global parameter settings //////////////////////////
  
  REM: //////////////////start settings for individual parameter objects /////////////////

  EFFECTVALUE: effectname
  			
		LONGNAME: longname
				REM: up to 32 character		
				 
		SHORTNAME: shortname
				REM: up to 16 character
		UNITNAME: " ms"
				REM: up to 16 character		
		MINVALUE:	0
		MAXVALUE: 2
				REM:32-Bit possible but normally 7 Bit for Midi
		VALUEPOSITION:	2
				REM: position where the variable will be inserted in the Midistring
	  SCALER: 4.0
	  		REM needs to be floating point for string conversion only
	  ZEROVALUE: 1
	  		REM for string conversion only 
		DEFAULTVALUE:	0	
				REM: the value that will be used,if the user presses "reset" on the Trackmixer panel
  
		DISABLEDVALUE:	-1
				REM:the value that will be used,on opening up first

		VALUEFLAGS: NO_CHASE
				REM:  one of the following tags:
				REM:  IS_MULTI_MESSAGE (contains more than one Midistatus)
				REM:	NO_RESET_ON_OFF (if the user adjusts a value to off,the default state is not sent)
				REM:	NO_CHASE (the value will not be chased,i.e. GM-Reset)
				REM:  flags must be seperated by ","

		VALUECLASS:		CBYTE
				REM: one of the following types
				REM: CBYTE (normally used - default type)
				REM: CUBYTE,CWORD,CUWORD,CLONG,CSTRING,CPITCH,CVELOCITY,CINSTR,CCHANNEL 

		RESETVALUE:	0
				REM: the value that will be used,if the user presses "off" on the Trackmixer panel

		MIDISTRING:	b0,10,xx
				REM: the midistring in Hex-Format like: b0,00,xx
				REM: if "xx" is found the valueposition will be set automatically

		VALUECONVERSION: wordToMsbLsb
				REM: one of the following standard Types
				REM: byteTo4BitUnipolar,byteTo4BitBipolar,byteTo4Bit,255to4Bit,KorgBipolar,byteTo255MSBsecond (from Cubase Mixermaps)
				REM: wordToMsbLsb (normally used with maptables)
				REM: LongToPatch  (for preset names)

		CONTROLLTYPE:	POPUP_TYPE
				REM: one of the following standard Types
				REM: KNOB_TYPE,FADER_TYPE,POPUP_TYPE,BUTTON_TYPE
				REM: will select the Controller Type in the Trackmixer for this parameter
		NAMELIST:	testname
				REM:needs a name,that is an identifier for a NAMETABLE (see above)
				REM:is optional
		MAPLIST: testmap
				REM:needs a name,that is an identifier for a MAPARRAY (see above)
				REM:is optional
 REM: //////////////////more EFFECT_VALUES may be placed below....     /////////////////
 REM: //////////////////..........................................     /////////////////


 REM: //////////////////end settings for individual parameter objects /////////////////
 
MAPARRAY:testidentifier,effectname
		REM: needs an identifier and all Effectvalues,that should appear in this Mixermap
		REM: 12 entries allowed for Trackmixer			

	
MAPARRAYMAP:
	REM: MAPARRAYMAP unused so far (will use a list of MAPARRAY - identifiers in the future)
	
ENDSCRIPT:
	REM: if not found the script is not used
	
Zgłoś jeśli naruszono regulamin