
| 項目 | 説明 |
|---|---|
| a/b/c | これらのノブは、数式で変数として使用できるパラメータです。 これらを a、b、c 変数として数式に入力します (以下の演算子と関数のリストを参照してください) |
| Formula | ここに数式を入力します。 数式をコンパイルするには、ENTER キーまたは [Compile] をクリックします。 数式が有効な数式である場合、Formulaの下に「Compiled ok」というメッセージが表示されます。 そうでない場合は、エラーメッセージが表示されます。 注: 有効な制御データとして適格となるためには、数式の出力は0~1の範囲でなければなりません。 この範囲外の値は切り捨てられます (以下を参照) |
| ? | 構文、オブジェクト、関数の表を開きます (下記参照) |
| Compile | Formulaをコンパイルします。Formula編集ボックスを使用する場合は、ENTER キーを押します |
| Comments | ここにコメントを入力します。 テキストがウィンドウの高さを超えると、右側にスクロール バーが表示されます。 WordPad からの RTF テキストをサポートします。 便宜上、Formulaモニターグラフもテキストの背後に表示されます |
| Monitor | Formulaからの出力をリアルタイムで表示します。 注: 多くのFormulaは、FL Studio のトランスポート パネルで [Play] をクリックするまで、 移動トレースとして表示されません |
| 演算子 | 説明 | 例 | 補足 |
|---|---|---|---|
| + | 加算 | a+b | |
| * | 乗算 | a*b | |
| - | 減算 | a-b | |
| / | 除算 | a/b | |
| ^ | Power(階乗) | a^b | Pow(a, b) や Power(a, b)と同じ |
| = | 等値 | a=b | aとbが一致していればtrue |
| in | a in b | a=bと同じ | |
| <> | 不等 | a<>b | aとbが一致していない場合true |
| > | 大なり | a>b | aがbより大きい場合true |
| >= | 以上 | a>=b | aがb以上ならtrue |
| < | 小なり | a<b | aがbより小さい場合true |
| <= | 以下 | a<=b | aがb以下ならtrue |
| % | パーセンテージを小数値に変換 | Value% | ※剰余演算子ではありません |
| ! | 階乗は、スカラー部分を返します | a!*b | ※否定演算子ではありません |
| div | 整数除算 | [分子] div [分母] | |
| mod | 剰余。a/bの余りを返します | a mod b | 値が float の場合は fmod を使います |
| fmod | floatの剰余を求めます | a fmod b | |
| not | 論理否定 | not a | a <= 0.5 の場合は 1 を返し、a > 0.5 の場合は 0 を返します (小数点以下は四捨五入) |
| or | 論理和 | a or b | a または b のどちらか、あるいは両方が 0.5 より大きい場合に 1 を返します |
| and | 論理積 | a and b | a と b の両方が 0.5 より大きい場合に 1 を返します |
| xor | 論理排他的論理和 | a xor b | a または b が 0.5 より大きい場合は 1 を返します |
| shr | 整数ビットを右にシフト(除算) | Value shr Amount | x/2^yに相当 |
| shl | 整数ビットを左にシフト(乗算) | Value shl Amount | x*2^yに相当 |
| 関数 | 説明 | 例 | 補足 |
|---|---|---|---|
| Abs | 絶対値。出力の負の部分を正の部分に反転します | Abs(a) | |
| ArcCos | 逆余弦 | ArcCos(a) | |
| ArcCosh | 逆双曲余弦 | ArcCos(a) | |
| ArcSin | inverse sine | ArcSin(a) | |
| ArcTg | antitangent | ArcTg(a) | |
| ATan2 | arctangent angle/quadrant of a given number | Atan2(a,b) | |
| Case | returns b if a=1, else returns c | Case(a,b,c) | |
| Cos | cosine | Cos(a) | |
| Cosh | hyperbolic cosine | Cosh(a) | |
| CoSec | cosecant | CoSec(a) | |
| DegToRad | convert degree value to radian | DegToRad(a) | |
| Ceil | rounds up to nearest integer | Ceil(a | |
| Ctg | cotangent | Ctg(a) | |
| Exp | exponential | Exp(a) | |
| Floor | rounds down to nearest integer, same as Int | Floor(a) | |
| Fold | wave folding operation | Fold(a) | |
| Frac | fractional part | Frac(a) | |
| GetTempo | returns current project tempo | GetTempo | |
| If | if a > 0.5 then b, else c | if(a,b,c) | |
| IfE | returns 1 if a=b | IfE(a,b) | |
| IfG | returns 1 if a>b | IfG(a,b) | |
| IfGE | returns 1 if a>=b | IfGE(a,b) | |
| IfL | returns 1 if a<b | IfL(a,b) | |
| IfLE | returns 1 if a<=b | IfLE(a,b) | |
| Int | integral part | Int(a) | |
| Inter | returns 1 if a > b and a < c. If c < b, b & c values will be swapped | Inter(a,b,c) | |
| Internoswap | as Inter but doesn't swap a & b | Internoswap(a,b,c) | |
| Intpower | integer power, Value^Power | Intpower(Value, Power) | |
| Ln | logarithm base e | Ln(a) | |
| Log10 | logarithm base 10 | Log10(a) | |
| Log2 | logarithm base 2 | Log2(a) | |
| LogN | logarithm a is the base, b is the number to calculate from | LogN(a,b) | |
| Map | maps the value a into the range b..c, equivalent to x * (z - y) + y | Map(a,b,c) | |
| Max | maximum, returns the greater input | Max(a,b) | |
| Min | minimum, returns the lesser input | Min(a,b) | |
| Neg | negative | Neg(a) | |
| Pi | returns the value of pi | Pi | |
| Power | floating point power, a^b | Power(a,b) | |
| Pow | floating point power, a^b | Pow(a,b) | |
| RadToDeg | convert radian value to degrees | RadToDeg(a) | |
| Rand | outputs continuous random values (0..1) | Rand | |
| Round | round to nearest integer | Round(a) | |
| Sec | secant | Sec(a) | |
| SeededRand | static random value (0..1), changes when seed is changed | SeededRand(Seed) | |
| Sin | sine | Sin(a) | |
| Sinh | hyperbolic sine | Sinh(a) | |
| Sqrt | square root | Sqrt(a) | |
| Sqr | square (same as a^2) | Sqr(a) | |
| Sum | sum of arguments | Sum(a,b) | |
| Tg | tangent | Tg(a) | |
| Tan | tangent | Tan(a) | |
| Tanh | hyperbolic tangent | Tanh(a) | |
| Trunc | truncate, limits the number of digits right of the decimal point | Trunc(Value) | |
| Warp | warps signal a around to warp point b | Warp(a,b) |
| 項目 | 説明 | 例 | 補足 |
|---|---|---|---|
| a | |||
| b | |||
| c | |||
| SongTime | |||
| Time | |||
| Tension | |||
| Date | |||
| MouseX | |||
| MouseY |