Newbie want to know about pp, qq,ss,tt and so on.

JayHH

2009-04-15 10:28:12

hey folks,
i dont know how to handle the stuff.

any documentary about the issue?

thanks

JayHH

2009-04-15 11:11:06

..and by the way....
where do you guys know so much about this??
in the manual i cannot see, e.g. how to use the pp, ss....and so on. global variables?? h4, gd???? what is this?

hmm

thanks

JayHH

2009-04-16 07:41:13

good morning;)

does nobody wants to help me?

so...some more specific questions:

1 . local variable: what is the difference between pp, qq, oo, xx?
2. when using e.g. pp, and when using e.g. qq?
3. what differences between global variables? why ga, g0, ha and so on?
4. when using e.g. ga and when using e.g. ha?

i really don't get it.

could somebody please give simple samples when using local and global variables?

thanks a lot to everybody that helps

ruediger

2009-04-20 10:04:50

Hi JayHH,

>1 . local variable: what is the difference between pp, qq, oo, xx?
>2. when using e.g. pp, and when using e.g. qq?

There is no difference., but you can use this local variables in ONE Midi Message.

Example:

Incoming: oo qq pp

>3. what differences between global variables? why ga, g0, ha and so on?

No differcence. The global variables are remembering there values. There is a button in the Log Window where you can display them. We have many of these variables, because there are very huge presets out there, where the users wants to "save"/remember many states.

>4. when using e.g. ga and when using e.g. ha?

You can use all as you want. No difference.

Hope that makes sense.

Best regards,
Rüdi

JayHH

2009-04-20 18:27:43

thanks for reply.

i guess i understand that:

but if i set the incoming of an absoulte faders (0-127):

1: xx=pp -> 0-127
2: pp=xx -> 2089944429


to 1: is now the variable pp set to the variable xx???? (means every pp coming in is assigned to xx?)

to 2: what happened????


thanks a lot.

Jay

JayHH

2009-04-20 18:48:36

by the way.......another question.......


what if i want the incoming of a translator should be e.g. ga of any channels?
(maybee used for a trigger that uses ga)

then incoming should look like this for example?

xx pp ga

or

cc ga?

ruediger

2009-04-20 20:57:42

Hi JayHH,

what version are you using? Mac 1.6 or Win 1.7?

That´s my output in Win 1.7:

Code: Select all

IN 1.1: MIDI B0 10 7F,  pp=0x7F
assignment: (xx=pp) = 127
assignment: (pp=xx) = 127
To your other question:

xx pp ga

is not defined. You can use only local varibles here. You have to assign the value of a local variable in the rules to a global variable.

Cheers,
Rüdi

JayHH

2009-04-21 07:23:05

i also use 1.7.

when i set a rule like u did then i get the same outgoings.

but when u use only one of the rules in one translator then i get these outgoings.


1. translator

Translator 1: New Translator
Options: stop=false
Incoming: MIDI B0 00 pp
Rules:
xx=pp
Outgoing: (none)


2. translator

Translator 1: New Translator
Options: stop=false
Incoming: MIDI B0 00 pp
Rules:
pp=xx
Outgoing: (none)


do i something wrong?


in my understanding the variable pp is set to the variable xx in both cases, right? means pp coming in....xx going out.

lock at the logs.

other questions:

1:is there a difference if i change the equation? (e.g. pp=xx; xx=pp)
2:is the left site of the equation the "input" and the right site the "output"?

JayHH

2009-04-21 07:29:25

ruediger wrote:
To your other question:

xx pp ga

is not defined. You can use only local varibles here. You have to assign the value of a local variable in the rules to a global variable.

Cheers,
Rüdi
anywhere in the forum i've seen a post where the outgoing action was set to cc ga.
i understand that as only the global variable is going out independent from any midi chanels or midi values.

what if i want to use THAT incoming as trigger?

would it work like this?:

xx qq pp -> pp=ga

would that be wright?

ruediger

2009-04-21 09:01:03

Hi,

your second translators makes no sense. xx is undefinded. Not set. So the variable has an undefinded value. Only pp is set by the engine, as you see in the incoming trigger.

The left hand variable gets the value of the right one. If it is not set, the value is undefined.

The second question:
ga is undefined as incoming trigger. As outgoing trigger it is correct.

>xx qq pp -> pp=ga

That's not right, you have to do it like this:

ga=pp

Then the ga gets the value of the velocity.

Cheers,
Rüdi