Page 1 of 1
					
				Naming Parameters differently based on track number
				Posted: Tue Dec 27, 2011 3:38 am
				by UNZ
				Is it somehow possible to override the name of a parameter for a given track in the standard parameter window ?
what i'd like to do is:
 
parameter 0 in track 0 name: "Master Volume"
parameter 0 in track 1 name: "Track 1 Volume"
			 
			
					
				Re: Naming Parameters differently based on track number
				Posted: Tue Dec 27, 2011 12:30 pm
				by Joachip
				I've had a similar need (and still do, in some way) for Mars:
Parameter 1: Mode
Parameter 2: Name should be different depending on mode.
Parameter 3: Name should be different depending on mode.
Right now 2 and 3 are just called "Treble" and "Bass", but that's because I can't change them. (I guess this would be a similar situation / solution as UNZ describe?)
			 
			
					
				Re: Naming Parameters differently based on track number
				Posted: Tue Dec 27, 2011 2:21 pm
				by oskari
				First function in CMachineInterfaceEx but it doesn't support multiple tracks.
			 
			
					
				Re: Naming Parameters differently based on track number
				Posted: Tue Dec 27, 2011 3:57 pm
				by UNZ
				oskari wrote:First function in CMachineInterfaceEx but it doesn't support multiple tracks.
Code: Select all
virtual char const *DescribeParam(int const param) { return NULL; }		// use this to dynamically change name of parameter
yep thats the one i was looking at, would it be hard to extend it for example like this?
Code: Select all
virtual char const *DescribeParam(int const param, int const track) { return NULL; }		// use this to dynamically change name of parameter
same for DescribeValue i guess.