update 34

This commit is contained in:
Connor Olding 2017-09-25 09:02:30 -07:00
parent d41df7f132
commit 582d82fe34
3 changed files with 55 additions and 2 deletions

View File

@ -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

View File

@ -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 '*' '**/*'

51
lib/README.md Normal file
View File

@ -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.