Skip to content

Commit

Permalink
Correct URL, typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Dec 12, 2020
1 parent 27ad2f6 commit 6b05b02
Show file tree
Hide file tree
Showing 11 changed files with 61 additions and 57 deletions.
4 changes: 2 additions & 2 deletions analyzers.lib
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ zcr(period, x) = ma.zc(x) : fi.lptau(period);
// * "Tree-structured complementary filter banks using all-pass sections",
// Regalia et al., IEEE Trans. Circuits & Systems, CAS-34:1470-1484, Dec. 1987
// * "Multirate Systems and Filter Banks", P. Vaidyanathan, Prentice-Hall, 1993
// * Elementary filter theory: https://ccrma.stanford.edu/~jos/filters/
// * Elementary filter theory: <https://ccrma.stanford.edu/~jos/filters/>
//========================================================================================


Expand Down Expand Up @@ -548,7 +548,7 @@ third_octave_filterbank(N) = mth_octave_filterbank_default(3,10000,N);
// See, e.g.,
// Acoustics [the book], by L. L. Beranek
// Amer. Inst. Physics for the Acoustical Soc. America,
// http://asa.aip.org/publications.html, 1986 (1st ed.1954)
// <http://asa.aip.org/publications.html, 1986 (1st ed.1954)>

// Third-octave bands across the audio spectrum are too wide for current
// typical computer screens, so half-octave bands are the default:
Expand Down
26 changes: 13 additions & 13 deletions compressors.lib
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ declare version "0.1";

//--------------------`(co.)peak_compression_gain_mono`-------------------
// Mono dynamic range compressor gain computer.
// `peak_compression_gain_mono` is a standard Faust function
// `peak_compression_gain_mono` is a standard Faust function.
//
// #### Usage
//
Expand Down Expand Up @@ -105,7 +105,7 @@ with {

//--------------------`(co.)peak_compression_gain_N_chan`-------------------
// N channel dynamic range compressor gain computer.
// `peak_compression_gain_N_chan` is a standard Faust function
// `peak_compression_gain_N_chan` is a standard Faust function.
//
// #### Usage
//
Expand Down Expand Up @@ -164,7 +164,7 @@ peak_compression_gain_N_chan(strength,thresh,att,rel,knee,prePost,link,N) =

//--------------------`(co.)FFcompressor_N_chan`-------------------
// feed forward N channel dynamic range compressor.
// `FFcompressor_N_chan` is a standard Faust function
// `FFcompressor_N_chan` is a standard Faust function.
//
// #### Usage
//
Expand Down Expand Up @@ -218,7 +218,7 @@ FFcompressor_N_chan(strength,thresh,att,rel,knee,prePost,link,meter,N) =

//--------------------`(co.)FBcompressor_N_chan`-------------------
// feed back N channel dynamic range compressor.
// `FBcompressor_N_chan` is a standard Faust function
// `FBcompressor_N_chan` is a standard Faust function.
//
// #### Usage
//
Expand Down Expand Up @@ -273,7 +273,7 @@ FBcompressor_N_chan(strength,thresh,att,rel,knee,prePost,link,meter,N) =
//--------------------`(co.)FFFBcompressor_N_chan`-------------------
// feed forward / feed back N channel dynamic range compressor.
// the feedback part has a much higher strength, so they end up sounding similar
// `FFFBcompressor_N_chan` is a standard Faust function
// `FFFBcompressor_N_chan` is a standard Faust function.
//
// #### Usage
//
Expand Down Expand Up @@ -387,7 +387,7 @@ with {

//--------------------`(co.)RMS_compression_gain_N_chan`-------------------
// RMS N channel dynamic range compressor gain computer.
// `RMS_compression_gain_N_chan` is a standard Faust function
// `RMS_compression_gain_N_chan` is a standard Faust function.
//
// #### Usage
//
Expand Down Expand Up @@ -441,7 +441,7 @@ RMS_compression_gain_N_chan(strength,thresh,att,rel,knee,prePost,link,N) =
//--------------------`(co.)RMS_FFFBcompressor_N_chan`-------------------
// RMS feed forward / feed back N channel dynamic range compressor.
// the feedback part has a much higher strength, so they end up sounding similar
// `RMS_FFFBcompressor_N_chan` is a standard Faust function
// `RMS_FFFBcompressor_N_chan` is a standard Faust function.
//
// #### Usage
//
Expand Down Expand Up @@ -512,7 +512,7 @@ RMS_FBFFcompressor_N_chan(strength,thresh,att,rel,knee,prePost,link,FBFF,meter,N
// The RMS compressor doesn't have to deal with the peaks,
// and the peak limiter get's spared from the steady state signal.
// the feedback part has a much higher strength, so they end up sounding similar
// `RMS_FBcompressor_peak_limiter_N_chan` is a standard Faust function
// `RMS_FBcompressor_peak_limiter_N_chan` is a standard Faust function.
//
// #### Usage
//
Expand Down Expand Up @@ -838,7 +838,7 @@ limiter_1176_R4_stereo = compressor_stereo(4,-6,0.0008,0.5);
//
// #### Reference:
//
// http://iem.at/~zmoelnig/publications/limiter/.
// <http://iem.at/~zmoelnig/publications/limiter/>.
//------------------------------------------------------------------------------
declare limiter_lad_N author "Dario Sanfilippo";
declare limiter_lad_N copyright "Copyright (C) 2020 Dario Sanfilippo
Expand Down Expand Up @@ -878,7 +878,7 @@ limiter_lad_N(N, LD, ceiling, attack, hold, release) =
//
// #### Reference:
//
// http://iem.at/~zmoelnig/publications/limiter/.
// <http://iem.at/~zmoelnig/publications/limiter/>.
declare limiter_lad_mono author "Dario Sanfilippo";
declare limiter_lad_mono copyright "Copyright (C) 2020 Dario Sanfilippo
<[email protected]>";
Expand All @@ -905,7 +905,7 @@ limiter_lad_mono(LD) = limiter_lad_N(1, LD);
//
// #### Reference:
//
// http://iem.at/~zmoelnig/publications/limiter/.
// <http://iem.at/~zmoelnig/publications/limiter/>.
declare limiter_lad_stereo author "Dario Sanfilippo";
declare limiter_lad_stereo copyright "Copyright (C) 2020 Dario Sanfilippo
<[email protected]>";
Expand Down Expand Up @@ -933,7 +933,7 @@ limiter_lad_stereo(LD) = limiter_lad_N(2, LD);
//
// #### Reference:
//
// http://iem.at/~zmoelnig/publications/limiter/.
// <http://iem.at/~zmoelnig/publications/limiter/>.
declare limiter_lad_quad author "Dario Sanfilippo";
declare limiter_lad_quad copyright "Copyright (C) 2020 Dario Sanfilippo
<[email protected]>";
Expand All @@ -960,7 +960,7 @@ limiter_lad_quad(LD) = limiter_lad_N(4, LD);
//
// #### Reference:
//
// http://iem.at/~zmoelnig/publications/limiter/.
// <http://iem.at/~zmoelnig/publications/limiter/>.
declare limiter_lad_bw author "Dario Sanfilippo";
declare limiter_lad_bw copyright "Copyright (C) 2020 Dario Sanfilippo
<[email protected]>";
Expand Down
22 changes: 11 additions & 11 deletions filters.lib
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ with { s = ba.take(n,sv); cross = _,_ <: !,_,_,!; };
//-------------------------`(fi.)tf2s` and `(fi.)tf2snp`--------------------------------
// Second-order direct-form digital filter,
// specified by ANALOG transfer-function polynomials B(s)/A(s),
// and a frequency-scaling parameter. Digitization via the
// and a frequency-scaling parameter. Digitization via the
// bilinear transform is built in.
//
// #### Usage
Expand All @@ -1247,8 +1247,8 @@ with { s = ba.take(n,sv); cross = _,_ <: !,_,_,!; };
// #### Example
//
// A second-order ANALOG Butterworth lowpass filter,
// normalized to have cutoff frequency at 1 rad/sec,
// has transfer function
// normalized to have cutoff frequency at 1 rad/sec,
// has transfer function:
//
// ```
// 1
Expand Down Expand Up @@ -1345,8 +1345,8 @@ tf3slf(b3,b2,b1,b0,a3,a2,a1,a0) = tf3(b0d,b1d,b2d,b3d,a1d,a2d,a3d) with {
//
// #### Example
// A first-order ANALOG Butterworth lowpass filter,
// normalized to have cutoff frequency at 1 rad/sec,
// has transfer function
// normalized to have cutoff frequency at 1 rad/sec,
// has transfer function:
//
// 1
// H(s) = -------
Expand Down Expand Up @@ -1671,8 +1671,8 @@ highpass_minus_lowpass_odd(N,fc) = highpass(N,fc) - lowpass(N,fc);
// Elliptic (Cauer) Lowpass Filters
//
// #### References
// * <http://en.wikipedia.org/wiki/Elliptic_filter
// * functions `ncauer` and `ellip` in Octave
// * <http://en.wikipedia.org/wiki/Elliptic_filter>
// * functions `ncauer` and `ellip` in Octave.
//========================================================================================

//-----------------------------`(fi.)lowpass3e`-----------------------------
Expand Down Expand Up @@ -2070,8 +2070,8 @@ pospass0(lpf) = unmodulate : lpf, lpf : modulate with {
// * <http://en.wikipedia.org/wiki/Equalization>
// * <https://webaudio.github.io/Audio-EQ-Cookbook/Audio-EQ-Cookbook.txt>
// * Digital Audio Signal Processing, Udo Zolzer, Wiley, 1999, p. 124
// * https://ccrma.stanford.edu/~jos/filters/Low_High_Shelving_Filters.html>
// * https://ccrma.stanford.edu/~jos/filters/Peaking_Equalizers.html>
// * <https://ccrma.stanford.edu/~jos/filters/Low_High_Shelving_Filters.html>
// * <https://ccrma.stanford.edu/~jos/filters/Peaking_Equalizers.html>
// * maxmsp.lib in the Faust distribution
// * bandfilter.dsp in the faust2pd distribution
//========================================================================================
Expand Down Expand Up @@ -2301,7 +2301,7 @@ peak_eq_rm(Lfx,fx,tanPiBT) = _ <: _,A,_ : +,- : *(0.5),*(K/2.0) : + with {
// J.O. Smith and H.F. Smith,
// "Closed Form Fractional Integration and Differentiation via Real Exponentially Spaced Pole-Zero Pairs",
// arXiv.org publication arXiv:1606.06154 [cs.CE], June 7, 2016,
// http://arxiv.org/abs/1606.06154
// <http://arxiv.org/abs/1606.06154>
//------------------------------------------------------------
declare spectral_tilt author "Julius O. Smith III";
declare spectral_tilt copyright "Copyright (C) 2003-2019 by Julius O. Smith III <[email protected]>";
Expand Down Expand Up @@ -2424,7 +2424,7 @@ levelfilterN(N,freq,L) = seq(i,N,levelfilter((L/N),freq));
// * "Tree-structured complementary filter banks using all-pass sections",
// Regalia et al., IEEE Trans. Circuits & Systems, CAS-34:1470-1484, Dec. 1987
// * "Multirate Systems and Filter Banks", P. Vaidyanathan, Prentice-Hall, 1993
// * Elementary filter theory: https://ccrma.stanford.edu/~jos/filters/
// * Elementary filter theory: <https://ccrma.stanford.edu/~jos/filters/>
//========================================================================================

//------------------------`(fi.)mth_octave_filterbank[n]`-------------------------
Expand Down
6 changes: 3 additions & 3 deletions instruments.lib
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ bow(offset,slope) = pow(abs(sample) + 0.75, -4) : saturationPos
// offset = offset between 0 and 1
// slope = slope between 0 and 1
// REFERENCE:
// https://ccrma.stanford.edu/~jos/pasp/View_Single_Reed_Oscillation.html
// <https://ccrma.stanford.edu/~jos/pasp/View_Single_Reed_Oscillation.html>

reed(offset,slope) = reedTable : saturationPos : saturationNeg
with {
Expand Down Expand Up @@ -138,7 +138,7 @@ poleZero(b0,b1,a1,x) = (b0*x + b1*x' - a1*_)~_;
// _ : oneZero0(b0,b1) : _
// _ : oneZero1(b0,b1) : _
// REFERENCE:
// https://ccrma.stanford.edu/~jos/fp2/One_Zero.html
// <https://ccrma.stanford.edu/~jos/fp2/One_Zero.html>

oneZero0(b0,b1,x) = (*(b1) + x*b0)~_;
oneZero1(b0,b1,x) = (x'*b1 + x*b0);
Expand Down Expand Up @@ -232,7 +232,7 @@ nonLinearModulator(nonlinearity,env,freq,typeMod,freqMod,order) =
// where
// periodDuration = period duration of the tone being played in number of samples
// REFERENCE:
// https://ccrma.stanford.edu/realsimple/faust_strings/
// <https://ccrma.stanford.edu/realsimple/faust_strings/>

stereoizer(periodDuration) = _ <: _,widthdelay : stereopanner
with {
Expand Down
6 changes: 5 additions & 1 deletion maths.lib
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ quadprecision INFINITY = 1.7976931348623158e+308;
// _ : FTZ : _
// ```
//
// See : <http://docs.oracle.com/cd/E19957-01/806-3568/ncg_math.html>
// #### Reference
//
// <http://docs.oracle.com/cd/E19957-01/806-3568/ncg_math.html>
//-----------------------------------------------------------------------------
FTZ(x) = x * (abs(x) > MIN);

Expand Down Expand Up @@ -768,6 +770,7 @@ avg_rect(period, x) = x : ba.slidingMean(rint(period * ma.SR));
// or to reach 1-1/e of its final value.
//
// #### Reference
//
// <https://ccrma.stanford.edu/~jos/mdft/Exponentials.html>
//-----------------------------------------------------------------------------
declare avg_tau author "Dario Sanfilippo and Julius O. Smith III";
Expand Down Expand Up @@ -795,6 +798,7 @@ avg_tau(period, x) = fi.lptau(period, x);
// or to reach 1-1/1000 of its final value.
//
// #### Reference
//
// <https://ccrma.stanford.edu/~jos/mdft/Audio_Decay_Time_T60.html>
//-----------------------------------------------------------------------------
declare avg_t60 author "Dario Sanfilippo and Julius O. Smith III";
Expand Down
2 changes: 1 addition & 1 deletion maxmsp.lib
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ atodb = db2lin;
//
// from : Cookbook formulae for audio EQ biquad filter coefficients
// by : Robert Bristow-Johnson <[email protected]>
// URL : http://www.musicdsp.org/files/Audio-EQ-Cookbook.txt
// URL : <http://www.musicdsp.org/files/Audio-EQ-Cookbook.txt>
//
//-------------------------------------------------------------------------

Expand Down
26 changes: 13 additions & 13 deletions oscillators.lib
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ released under LGPL, STK-4.3, MIT, BSD, or a similar FOSS license.
// Author: Bart Brouns
// License: GPLv3
// CZ oscillators by Mike Moser-Booth:
// https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators
// <https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators>
// Ported from pd to Faust by Bart Brouns

CZsaw(fund, index) = CZ.sawChooseP(fund, index, 0);
Expand All @@ -1084,7 +1084,7 @@ CZsaw(fund, index) = CZ.sawChooseP(fund, index, 0);
// Author: Bart Brouns
// License: GPLv3
// CZ oscillators by Mike Moser-Booth:
// https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators
// <https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators>
// Ported from pd to Faust by Bart Brouns

CZsawP(fund, index) = CZ.sawChooseP(fund, index, 1);
Expand All @@ -1107,7 +1107,7 @@ CZsawP(fund, index) = CZ.sawChooseP(fund, index, 1);
// Author: Bart Brouns
// License: GPLv3
// CZ oscillators by Mike Moser-Booth:
// https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators
// <https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators>
// Ported from pd to Faust by Bart Brouns

CZsquare(fund, index) = CZ.squareChooseP(fund, index, 0);
Expand All @@ -1131,7 +1131,7 @@ CZsquare(fund, index) = CZ.squareChooseP(fund, index, 0);
// Author: Bart Brouns
// License: GPLv3
// CZ oscillators by Mike Moser-Booth:
// https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators
// <https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators>
// Ported from pd to Faust by Bart Brouns

CZsquareP(fund, index) = CZ.squareChooseP(fund, index, 1);
Expand All @@ -1154,7 +1154,7 @@ CZsquareP(fund, index) = CZ.squareChooseP(fund, index, 1);
// Author: Bart Brouns
// License: GPLv3
// CZ oscillators by Mike Moser-Booth:
// https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators
// <https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators>
// Ported from pd to Faust by Bart Brouns

CZpulse(fund, index) = CZ.pulseChooseP(fund, index, 0);
Expand All @@ -1178,7 +1178,7 @@ CZpulse(fund, index) = CZ.pulseChooseP(fund, index, 0);
// Author: Bart Brouns
// License: GPLv3
// CZ oscillators by Mike Moser-Booth:
// https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators
// <https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators>
// Ported from pd to Faust by Bart Brouns

CZpulseP(fund, index) = CZ.pulseChooseP(fund, index, 1);
Expand All @@ -1201,7 +1201,7 @@ CZpulseP(fund, index) = CZ.pulseChooseP(fund, index, 1);
// Author: Bart Brouns
// License: GPLv3
// CZ oscillators by Mike Moser-Booth:
// https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators
// <https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators>
// Ported from pd to Faust by Bart Brouns

CZsinePulse(fund, index) = CZ.sinePulseChooseP(fund, index, 0);
Expand All @@ -1225,7 +1225,7 @@ CZsinePulse(fund, index) = CZ.sinePulseChooseP(fund, index, 0);
// Author: Bart Brouns
// License: GPLv3
// CZ oscillators by Mike Moser-Booth:
// https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators
// <https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators>
// Ported from pd to Faust by Bart Brouns

CZsinePulseP(fund, index) = CZ.sinePulseChooseP(fund, index, 1);
Expand All @@ -1248,7 +1248,7 @@ CZsinePulseP(fund, index) = CZ.sinePulseChooseP(fund, index, 1);
// Author: Bart Brouns
// License: GPLv3
// CZ oscillators by Mike Moser-Booth:
// https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators
// <https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators>
// Ported from pd to Faust by Bart Brouns

CZhalfSine(fund, index) = CZ.halfSineChooseP(fund, index, 0);
Expand All @@ -1272,7 +1272,7 @@ CZhalfSine(fund, index) = CZ.halfSineChooseP(fund, index, 0);
// Author: Bart Brouns
// License: GPLv3
// CZ oscillators by Mike Moser-Booth:
// https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators
// <https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators>
// Ported from pd to Faust by Bart Brouns

CZhalfSineP(fund, index) = CZ.halfSineChooseP(fund, index, 1);
Expand All @@ -1295,7 +1295,7 @@ CZhalfSineP(fund, index) = CZ.halfSineChooseP(fund, index, 1);
// Author: Bart Brouns
// License: GPLv3
// CZ oscillators by Mike Moser-Booth:
// https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators
// <https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators>
// Ported from pd to Faust by Bart Brouns

CZresSaw(fund,res) = CZ.resSaw(fund,res);
Expand All @@ -1318,7 +1318,7 @@ CZresSaw(fund,res) = CZ.resSaw(fund,res);
// Author: Bart Brouns
// License: GPLv3
// CZ oscillators by Mike Moser-Booth:
// https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators
// <https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators>
// Ported from pd to Faust by Bart Brouns

CZresTriangle(fund,res) = CZ.resTriangle(fund,res);
Expand All @@ -1341,7 +1341,7 @@ CZresTriangle(fund,res) = CZ.resTriangle(fund,res);
// Author: Bart Brouns
// License: GPLv3
// CZ oscillators by Mike Moser-Booth:
// https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators
// <https://forum.pdpatchrepo.info/topic/5992/casio-cz-oscillators>
// Ported from pd to Faust by Bart Brouns

CZresTrap(fund, res) = CZ.resTrap(fund, res);
Expand Down
2 changes: 1 addition & 1 deletion reverbs.lib
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ with {
allpasstuningL(3) = adaptSR(225);

// Lowpass Feedback Combfilter:
// https://ccrma.stanford.edu/~jos/pasp/Lowpass_Feedback_Comb_Filter.html
// <https://ccrma.stanford.edu/~jos/pasp/Lowpass_Feedback_Comb_Filter.html>
lbcf(dt, fb, damp) = (+:@(dt)) ~ (*(1-damp) : (+ ~ *(damp)) : *(fb));

origSR = 44100;
Expand Down
Loading

0 comments on commit 6b05b02

Please sign in to comment.