Skip to content

Commit

Permalink
Cleanup bsmooth and correct documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Jan 10, 2020
1 parent 934a159 commit 6ef22bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions signals.lib
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ closed source license or any other license if you decide so.

ba = library("basics.lib");
ro = library("routes.lib");
ma = library("maths.lib");
si = library("signals.lib");

declare name "Faust Signal Routing Library";
Expand Down Expand Up @@ -123,7 +124,7 @@ smoo = si.smooth(0.999);
// #### Usage
//
// ```
// hslider(...) : polysmooth(g,s,d) : _
// hslider(...) : polySmooth(g,s,d) : _
// ```
//
// Where:
Expand Down Expand Up @@ -166,7 +167,7 @@ smoothAndH(t,s) = smooth(s*t) : ba.sAndH(t);
bsmooth(c) = +(i) ~ _
with {
i = (c-c@n)/n;
n = min(4096, max(1, fvariable(int count, <math.h>)));
n = min(4096, max(1, ma.BS));
};

//-------------------------------`(si.)dot`--------------------------------------
Expand Down Expand Up @@ -302,7 +303,7 @@ released under LGPL, STK-4.3, MIT, BSD, or a similar FOSS license.
// #### Usage
//
// ```
// _ : lag_ud(up, dn, signal) : _;
// _ : lag_ud(up, dn) : _;
// ```
//----------------------------------------------------
// Author: Jonatan Liljedahl
Expand Down
1 change: 0 additions & 1 deletion spats.lib
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ with {
//
// * `p`: the arbitrary processor
//----------------------------------------
// NOTE: where are inputs and outputs declared?
stereoize(p) = S(inputs(p), outputs(p))
with {
// degenerated processor with no outputs
Expand Down

0 comments on commit 6ef22bf

Please sign in to comment.