From 582d82fe34d273287dcb667efc490b6881a425c3 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Mon, 25 Sep 2017 09:02:30 -0700 Subject: [PATCH] update 34 --- README.md | 4 ++-- autoupdate | 2 ++ lib/README.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 lib/README.md diff --git a/README.md b/README.md index dc3646f..800cdfb 100644 --- a/README.md +++ b/README.md @@ -40,11 +40,11 @@ don't expect commits, docs, or comments to be any verbose. [sweeps]: http://www.sound.sie.dendai.ac.jp/dsp/e-21.html [svf]: http://nbviewer.ipython.org/urls/music-synthesizer-for-android.googlecode.com/git/lab/Second%20order%20sections%20in%20matrix%20form.ipynb -all wrapped up in a inconveniently generic "lib" module! +all wrapped up in a inconveniently named "lib" module! ## dependencies -python 3.4+ +python 3.5+ numpy scipy sympy matplotlib ewave diff --git a/autoupdate b/autoupdate index 83bd402..a1346fe 100755 --- a/autoupdate +++ b/autoupdate @@ -4,6 +4,8 @@ set -e [ -d lib ] && rm -r lib dropbox_uploader -q download py/lib >/dev/null +cp lib/README.md . + if [ ! -d .git ]; then git -q init git add .gitignore '*' '**/*' diff --git a/lib/README.md b/lib/README.md new file mode 100644 index 0000000..800cdfb --- /dev/null +++ b/lib/README.md @@ -0,0 +1,51 @@ +# random dsp code + +it's a bunch of half-baked python code that's kinda handy. + +don't expect commits, docs, or comments to be any verbose. + +## the stuff + +* a basic BS.1770-3 normalization implementation +— [bs.py](/lib/bs.py) + +* biquad butterworth/chebyshev filters [(via DSPFilters)][dspf] +— [nsf.py](/lib/nsf.py) + +* bilinear transformation: s-plane to z-plane +— [planes.py](/lib/planes.py) + +* various functions for biquad filters +— [bq.py](/lib/bq.py) [\_\_init\_\_.py](/lib/__init__.py) + +* some functions for state-variable filters [(via Raph Levien)][svf] +— [svf.py](/lib/svf.py) + +* sine sweeps, and the Optimized Aoshima's Time-Stretched Pulse [(via here)][sweeps] +— [sweeps.py](/lib/sweeps.py) + +* a lot of stuff for magnitude plotting like tilting and smoothing +— [fft.py](/lib/fft.py) [smoothfft.py](/lib/smoothfft.py) [\_\_init\_\_.py](/lib/__init__.py) + +* rough experiments with psychoacoustic equalization ("neon pink" and other crap) +— [data.py](/lib/data.py) [\_\_init\_\_.py](/lib/__init__.py) + +* miscellaneous matplotlib stuff +— [plot.py](/lib/plot.py) + +* miscellaneous utility functions +— [util.py](/lib/util.py) [wav.py](/lib/wav.py) + +[dspf]: https://github.com/vinniefalco/DSPFilters/ +[sweeps]: http://www.sound.sie.dendai.ac.jp/dsp/e-21.html +[svf]: http://nbviewer.ipython.org/urls/music-synthesizer-for-android.googlecode.com/git/lab/Second%20order%20sections%20in%20matrix%20form.ipynb + +all wrapped up in a inconveniently named "lib" module! + +## dependencies + +python 3.5+ + +numpy scipy sympy matplotlib ewave + +usually run in an ipython environment.