Hi
I am attempting to create a curve three file with a particular tuning using the sunvox_curve_generator.pixi file and uncommenting/modifying the "Custom Tuning" portion:
//Custom tuning (you can set the offset in cents):
/*
$y = note0 + semitone * tuning_cents_offset( $x,
//example: Standard Just (1529)
15.64, //C
-13.69, //c
-1.95, //D
31.28, //d
1.96, //E
13.69, //F
-15.64, //f
17.6, //G
-11.73, //g
0, //A
11.73, //a
3.91 //B
)
*/
what I came up with is this:
//Custom tuning (you can set the offset in cents):
$y = note0 + semitone * tuning_cents_offset
($x,0,+4.96,+51.34,-2.49,-13.69,+51.32,+28.27,+1.96,+40.53,+68.83,+29.58,+45.04)
but when I try to compile it I get "syntax error". If someone could help me with this I would be eternally grateful! (PS I am a complete newbie when it comes to programming!)
thanks
Dante
need help with curve 3 tuning settings
- NightRadio
- Site Admin
- Posts: 3954
- Joined: Fri Jan 23, 2004 12:28 am
- Location: Ekaterinburg. Russia
- Contact:
Re: need help with curve 3 tuning settings
Hi!
Please don't use the "+" character for the positive numbers.
Please don't use the "+" character for the positive numbers.
Re: need help with curve 3 tuning settings
it worked! thanx a googleplex!