Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Apr 13, 2020
1 parent 3f4809e commit 32c530f
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 15 deletions.
1 change: 0 additions & 1 deletion embedded/platform.lib
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ declare version "0.1";
//-----------------------------------------------------------------------------
SR = 48000;


//---------------------------------`(pl.)tablesize`---------------------------------------
// Oscillator table size
//-----------------------------------------------------------------------------
Expand Down
5 changes: 0 additions & 5 deletions interpolators.lib
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,3 @@ with {
interpolator_cubic(gen, idv),
interpolator_null(gen, idv));
};

/*


*/
2 changes: 1 addition & 1 deletion mi.lib
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ with{
// x0: initial position
ground(x0) = equation
with{
// could this term be removed or simlified? Need "unused" input force signal for routing scheme
// could this term be removed or simplified? Need "unused" input force signal for routing scheme
C = 0;
equation = x
letrec{
Expand Down
2 changes: 0 additions & 2 deletions platform.lib
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ closed source license or any other license if you decide so.
************************************************************************
************************************************************************/


declare name "Generic Platform Library";
declare version "0.1";

Expand All @@ -46,7 +45,6 @@ declare version "0.1";
//-----------------------------------------------------------------------------
SR = min(192000.0, max(1.0, fconstant(int fSamplingFreq, <math.h>)));


//---------------------------------`(pl.)tablesize`----------------------------
// Oscillator table size
//-----------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions routes.lib
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ si = library("signals.lib");
sp = library("spats.lib");

declare name "Faust Signal Routing Library";
declare version "0.1";
declare version "0.2";

//=============================Functions Reference========================================
//========================================================================================
Expand Down Expand Up @@ -68,7 +68,7 @@ declare version "0.1";
// ```
//-----------------------------------------------------------------------------
// cross n cables : (x1,x2,..,xn) -> (xn,..,x2,x1)
cross(n) = route(n,n, par(i, n, (i+1, n-i)));
cross(n) = route(n, n, par(i, n, (i+1, n-i)));
cross2 = _,cross(2),_; // for compatibility with some old misceffects.lib functions


Expand Down
5 changes: 1 addition & 4 deletions signals.lib
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ declare version "0.0";
bus(2) = _,_; // avoids a lot of "bus(1)" labels in block diagrams
bus(n) = par(i, n, _);


//--------------`(si.)block`--------------
// Block - terminate n signals.
// `block` is a standard Faust function.
Expand All @@ -83,8 +82,7 @@ bus(n) = par(i, n, _);
//
// * `n`: the number of signals to be blocked
//--------------------------------------
block(n) = par(i,n,!);

block(n) = par(i, n, !);

//-----------------------------`(si.)interpolate`-------------------------------
// Linear interpolation between two signals.
Expand Down Expand Up @@ -114,7 +112,6 @@ interpolate(i) = *(1.0-i),*(i) : +;
//---------------------------------------------------------------------
smoo = si.smooth(0.999);


//-----------------------`(si.)polySmooth`--------------------------------
// A smoothing function based on `smooth` that doesn't smooth when a
// trigger signal is given. This is very useful when making
Expand Down

0 comments on commit 32c530f

Please sign in to comment.