Permalink
Browse files

Add a few more built-in wavetables, tweaks to graph module

  • Loading branch information...
hecanjog committed Aug 29, 2018
1 parent 9db36e3 commit 6a282b2ebf9a8f7a1488564f7a924ee27b59caf1
Showing with 26,075 additions and 2,279 deletions.
  1. +2 −0 README.md
  2. +568 −496 pippi/dsp.c
  3. +4 −0 pippi/dsp.pyx
  4. +15 −3 pippi/filters.c
  5. +15 −3 pippi/fx.c
  6. +16 −4 pippi/grains.c
  7. +22,992 −0 pippi/graph.c
  8. +13 −4 pippi/{graph.py → graph.pyx}
  9. +14 −2 pippi/oscs.c
  10. +12 −0 pippi/soundbuffer.c
  11. +1 −1 pippi/tune/__init__.py
  12. +2,382 −1,757 pippi/wavetables.c
  13. +4 −0 pippi/wavetables.pxd
  14. +26 −0 pippi/wavetables.pyx
  15. +10 −8 setup.py
  16. +1 −1 tests/test_wavetables.py
View
@@ -93,6 +93,8 @@ There are more examples, give em a whirl, and try your own.
- SoundBuffer normalization with `fx.norm`
- Get SoundBuffer magnitude with `dsp.mag`
- Single and multitap delays with `fx.delay` and `fx.mdelay`
- Some new built-in `wavetable.window` types: `dsp.SINEIN` / `dsp.SINEOUT`, `dsp.HANNIN` / `dsp.HANNOUT` for fades
- More flexible frequency table creation from arbitrary scales, tunings and scale bitmasks with `tune.tofreqs`
#### Bugfixes
View
1,064 pippi/dsp.c

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -14,12 +14,16 @@ cimport wavetables as wts
# Expose some C flags / constants to python
# FIXME might be faster to use newish cpdef enum defs? donno
SINE = wts.SINE
SINEIN = wts.SINEIN
SINEOUT = wts.SINEOUT
COS = wts.COS
TRI = wts.TRI
SAW = wts.SAW
PHASOR = wts.PHASOR
RSAW = wts.RSAW
HANN = wts.HANN
HANNIN = wts.HANNIN
HANNOUT = wts.HANNOUT
HAMM = wts.HAMM
BLACK = wts.BLACK
BLACKMAN = wts.BLACK
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 6a282b2

Please sign in to comment.