Administrateur

  • Profile picture of echeveste
  • Profile picture of Jean-Louis Giavitto
  • Profile picture of Philippe Cuvillier
  • Profile picture of arshiacont

Antescofo

Groupe Public active 2 days et 7 hours ago

The user group for Antescofo.

Problem with curve?

Auteur 2 Utilisateurs souscrits |
Profile photo of halg
halg

Hi all,

I’m using in my Antescofo score Curves.

On the bar 40 (label M40) i launch a curve like this :
Curve filtrage-harpe @Grain := 0.05 s, @Action :=
{
commandesfiltrage frequence-cut2 $x, Gain2 $y
}
{
$x
{
{ 150 }
4 { 250 }
…….
10 { 1600 }
13.5 { 3500 } ; The curve arrives here at my label M68
}
$y
{
{ 0.75 }
4 { 0.85 }
…….
9.5 { 7 } ;The curve arrives here at my label M68
3 { 7 }
5 { 0.75 }
}
}
Before the label M68 i launch two other curves connected to two different Max objects

curve SPEED2 @Grain := 0.005s, @Action := playbackspeed2 $x
{
$x
{
{ -1} ; 1.5 beat after the beginning of the curve is my label M68
2 { -0.2}
}
}
Curve player @Grain := 0.01 s, @Action :=
{
“input-loopmatrix2″ $x
}
{
$x
{
{ 0 } @type “linear”
1 { 0.9 }@type “linear”
1.1 { 0 } @type “linear”
}
}
Now, the problem is that the receive object in MAX named “r frequence-cut2” receives values from the curve SPEED2 at the label M68. Of course the two objects “playbackspeed2” and “frequence-cut2” are not connected !
Changing the name of the variable, in the curve speed2 resolves the problem ($e from example).

Did i make a mistake?
Can i launch different curves to different MAX objects with the same variable name?
A bug in Antescofo?

Thanks

Henri

Décembre 1, 2015 à 10:36 #16357
Profile photo of JuliaBlondeau
JuliaBlondeau

Hi Henri,

The problem is a classic problem ! 😉

You are using two curves on a same variable ($x) in the same time and if you don’t specify, $x is a global variable so it’s absolutely normal that “r frequence-cut2” receives values from the curve SPEED2 !

Try with different names for your variables.

If you want use the same name, you have to write a group for each curve where you write “@local $x”

Like :

Group toto
{
@local $x
curve mycurve @grain := 0.005, @action := receiver $x
………..

}

Best,

julia

  • Cette réponse a été modifiée 1 year et 11 months ago par Profile photo of JuliaBlondeau JuliaBlondeau.
Décembre 1, 2015 à 10:43 #16358
Profile photo of halg
halg

Thanks Julia, it’s clear now !

Henri

Décembre 1, 2015 à 10:57 #16361

Vous devez être connecté pour répondre à ce sujet.

Log in now