Naming Parameters differently based on track number

Post Reply
User avatar
UNZ
Posts: 749
Joined: Mon Nov 21, 2011 9:42 pm
Contact:

Naming Parameters differently based on track number

Post 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"

User avatar
Joachip
Posts: 329
Joined: Mon Nov 21, 2011 7:21 pm
Contact:

Re: Naming Parameters differently based on track number

Post 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?)

oskari
Site Admin
Posts: 285
Joined: Mon Nov 21, 2011 2:04 pm

Re: Naming Parameters differently based on track number

Post by oskari »

First function in CMachineInterfaceEx but it doesn't support multiple tracks.

User avatar
UNZ
Posts: 749
Joined: Mon Nov 21, 2011 9:42 pm
Contact:

Re: Naming Parameters differently based on track number

Post 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.

Post Reply