Skip to content

Commit

Permalink
docs: update all readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jan 3, 2020
1 parent 228a81e commit 44bcbdc
Show file tree
Hide file tree
Showing 112 changed files with 276 additions and 164 deletions.
2 changes: 1 addition & 1 deletion packages/adjacency/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ Karsten Schmidt

## License

© 2018 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ Karsten Schmidt

## License

© 2016 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/arrays/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ Karsten Schmidt

## License

© 2018 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/associative/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,4 +310,4 @@ Karsten Schmidt

## License

© 2017 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2017 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/atom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -530,4 +530,4 @@ Karsten Schmidt

## License

© 2016 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/bench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,4 @@ Karsten Schmidt

## License

© 2018 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/bencode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ Karsten Schmidt

## License

© 2016 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/binary/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ Karsten Schmidt

## License

© 2016 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/bitfield/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ Karsten Schmidt

## License

© 2016 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/bitstream/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,4 @@ Karsten Schmidt

## License

© 2016 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/cache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,4 @@ Karsten Schmidt

## License

© 2018 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/checks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ TODO

## License

© 2016 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/compare/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ Karsten Schmidt

## License

© 2016 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ Karsten Schmidt

## License

© 2016 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/csp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,4 +231,4 @@ Karsten Schmidt

## License

© 2016 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/dcons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ Karsten Schmidt

## License

© 2017 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2017 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/defmulti/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,4 +320,4 @@ Karsten Schmidt

## License

© 2018 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/dgraph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ Karsten Schmidt

## License

© 2015 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2015 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/diff/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ Karsten Schmidt

## License

© 2016 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/dlogic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ Karsten Schmidt

## License

© 2017 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2017 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/dot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@ Karsten Schmidt

## License

© 2018 - 2019 Karsten Schmidt // Apache Software License 2.0
© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
107 changes: 79 additions & 28 deletions packages/dsp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,17 @@ This project is part of the
- [Dependencies](#dependencies)
- [Usage examples](#usage-examples)
- [API](#api)
- [Oscillators](#oscillators)
- [LFO](#lfo)
- [DelayLine](#delayline)
- [FFT](#fft)
- [Window functions](#window-functions)
- [Authors](#authors)
- [License](#license)

## About

Assorted oscillators / waveform generators & DSP utils.
Assorted oscillators / wave gens, FFT, windowing functions & DSP utils.

Partially ported from other thi.ng projects (e.g.
[thi.ng/synstack](https://github.com/thi-ng/synstack)). Currently only
Expand All @@ -42,6 +47,7 @@ yarn add @thi.ng/dsp
## Dependencies

- [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/master/packages/api)
- [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/master/packages/checks)
- [@thi.ng/math](https://github.com/thi-ng/umbrella/tree/master/packages/math)

## Usage examples
Expand All @@ -52,6 +58,14 @@ directory are using this package.

A selection:

### fft-synth <!-- NOTOC -->

![screenshot](https://raw.githubusercontent.com/thi-ng/umbrella/master/assets/examples/fft-synth.png)

Interactive inverse FFT toy synth

[Live demo](https://demo.thi.ng/umbrella/fft-synth/) | [Source](https://github.com/thi-ng/umbrella/tree/master/examples/fft-synth)

### poly-spline <!-- NOTOC -->

[Live demo](https://demo.thi.ng/umbrella/poly-spline/) | [Source](https://github.com/thi-ng/umbrella/tree/master/examples/poly-spline)
Expand All @@ -66,37 +80,74 @@ A selection:

[Generated API docs](https://docs.thi.ng/umbrella/dsp/)

```ts
import * as dsp from "@thi.ng/dsp";
import { take } from "@thi.ng/transducers";

[...take(20, new dsp.Oscillator(dsp.mix(dsp.sin, dsp.rect), 1/20)]
// [ 0.5,
// 0.6545084971874737,
// 0.7938926261462366,
// 0.9045084971874737,
// 0.9755282581475768,
// 1,
// 0.9755282581475768,
// 0.9045084971874737,
// 0.7938926261462367,
// 0.654508497187474,
// 0.5000000000000003,
// -0.6545084971874735,
// -0.7938926261462365,
// -0.9045084971874737,
// -0.9755282581475768,
// -1,
// -0.9755282581475766,
// -0.9045084971874735,
// -0.793892626146236,
// -0.6545084971874731 ]
```
### Oscillators

[Source](https://github.com/thi-ng/umbrella/blob/master/packages/dsp/src/osc.ts)

Stateless & not band-limited:

- sin()
- tri()
- triConcave()
- rect()
- saw()
- wavetable()
- mix()
- additive() (bandlimited)
- squareAdditive()
- sawAdditive()

Stateful:

- Oscillator
- AMFMOscillator

### LFO

Trigonometry free sin/cos oscillator / iterator based on a state-variable filter. Only useable for freq < ~2Hz.

- lfo()

### DelayLine

Ringbuffer / delay line for arbitrary values and support for tapping at any relative position.

- DelayLine

### FFT

- fft()
- ifft()
- normalizeFFT()
- denormalizeFFT()
- scaleFFT()
- conjugate()
- spectrumMag()
- spectrumPow() (optionally as dBFS)
- spectrumPhase()
- binFreq()
- freqBin()
- fftFreq()

### Window functions

- window()
- windowRect()
- windowSin()
- windowSinPow()
- windowLanczos()
- windowHann()
- windowHamming()
- windowBlackman()
- windowBlackmanHarris()
- windowNuttal()
- windowBlackmanNuttal()
- windowGauss()

## Authors

Karsten Schmidt

## License

&copy; 2015 - 2019 Karsten Schmidt // Apache Software License 2.0
&copy; 2015 - 2020 Karsten Schmidt // Apache Software License 2.0
89 changes: 63 additions & 26 deletions packages/dsp/README.tpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,32 +44,69 @@ ${examples}

${docLink}

```ts
import * as dsp from "@thi.ng/dsp";
import { take } from "@thi.ng/transducers";

[...take(20, new dsp.Oscillator(dsp.mix(dsp.sin, dsp.rect), 1/20)]
// [ 0.5,
// 0.6545084971874737,
// 0.7938926261462366,
// 0.9045084971874737,
// 0.9755282581475768,
// 1,
// 0.9755282581475768,
// 0.9045084971874737,
// 0.7938926261462367,
// 0.654508497187474,
// 0.5000000000000003,
// -0.6545084971874735,
// -0.7938926261462365,
// -0.9045084971874737,
// -0.9755282581475768,
// -1,
// -0.9755282581475766,
// -0.9045084971874735,
// -0.793892626146236,
// -0.6545084971874731 ]
```
### Oscillators

[Source](https://github.com/thi-ng/umbrella/blob/master/packages/dsp/src/osc.ts)

Stateless & not band-limited:

- sin()
- tri()
- triConcave()
- rect()
- saw()
- wavetable()
- mix()
- additive() (bandlimited)
- squareAdditive()
- sawAdditive()

Stateful:

- Oscillator
- AMFMOscillator

### LFO

Trigonometry free sin/cos oscillator / iterator based on a state-variable filter. Only useable for freq < ~2Hz.

- lfo()

### DelayLine

Ringbuffer / delay line for arbitrary values and support for tapping at any relative position.

- DelayLine

### FFT

- fft()
- ifft()
- normalizeFFT()
- denormalizeFFT()
- scaleFFT()
- conjugate()
- spectrumMag()
- spectrumPow() (optionally as dBFS)
- spectrumPhase()
- binFreq()
- freqBin()
- fftFreq()

### Window functions

- window()
- windowRect()
- windowSin()
- windowSinPow()
- windowLanczos()
- windowHann()
- windowHamming()
- windowBlackman()
- windowBlackmanHarris()
- windowNuttal()
- windowBlackmanNuttal()
- windowGauss()

## Authors

Expand Down
2 changes: 1 addition & 1 deletion packages/ecs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ Karsten Schmidt

## License

&copy; 2019 Karsten Schmidt // Apache Software License 2.0
&copy; 2019 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/equiv/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ Karsten Schmidt

## License

&copy; 2016 - 2019 Karsten Schmidt // Apache Software License 2.0
&copy; 2016 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/errors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ Karsten Schmidt

## License

&copy; 2018 - 2019 Karsten Schmidt // Apache Software License 2.0
&copy; 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/fsm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,4 @@ Karsten Schmidt

## License

&copy; 2018 - 2019 Karsten Schmidt // Apache Software License 2.0
&copy; 2018 - 2020 Karsten Schmidt // Apache Software License 2.0
2 changes: 1 addition & 1 deletion packages/geom-accel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ Karsten Schmidt

## License

&copy; 2013 - 2019 Karsten Schmidt // Apache Software License 2.0
&copy; 2013 - 2020 Karsten Schmidt // Apache Software License 2.0
Loading

0 comments on commit 44bcbdc

Please sign in to comment.