Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
761883a
add nbstripout pre-commit rule
thomas-hermann Oct 25, 2025
f01c495
Add ChainableArray class, 28 new mapping functions and numpy ufunc re…
thomas-hermann Oct 25, 2025
9561533
add pyamapping example notebook
thomas-hermann Oct 25, 2025
e3f866c
add linlin() examples
thomas-hermann Oct 27, 2025
dae8f72
improve linlin example
thomas-hermann Oct 27, 2025
f87bb01
add linexp() example
thomas-hermann Oct 27, 2025
6b3637a
refactor linlog to explin
thomas-hermann Oct 27, 2025
09851be
add explin() example
thomas-hermann Oct 27, 2025
c0482aa
improve lincurve mapping function
thomas-hermann Oct 30, 2025
30e7c9d
add lincurve example
thomas-hermann Oct 30, 2025
5b9306e
improve curvelin mapping function
thomas-hermann Oct 30, 2025
5f24f5e
add curvelin() example
thomas-hermann Oct 30, 2025
241b14c
add linpoly() example
thomas-hermann Oct 30, 2025
59aa1fc
improve structure and explanations
thomas-hermann Oct 30, 2025
a433b15
forward kwargs for interp_spline()
thomas-hermann Oct 30, 2025
02cbbcb
add bilin() example
thomas-hermann Oct 30, 2025
9592b2d
add interp_spline() example
thomas-hermann Oct 30, 2025
19d3942
add interp() example
thomas-hermann Oct 30, 2025
1d058a2
add clip() example
thomas-hermann Oct 31, 2025
ccb5286
add method shortcuts for midicps and cpsmidi
thomas-hermann Oct 31, 2025
131c5c3
add example for midi_to_cps()
thomas-hermann Oct 31, 2025
43fb224
add example for cps_to_midi()
thomas-hermann Oct 31, 2025
178edbd
add chain fn shortcuts midiratio and ratiomidi
thomas-hermann Oct 31, 2025
f57e2c6
add midi_to_ratio() example
thomas-hermann Oct 31, 2025
e8677ef
add ratio_to_midi() example
thomas-hermann Oct 31, 2025
9461c7e
register chain fn for cpsoct and octcps
thomas-hermann Oct 31, 2025
348504b
add octave_to_cps() and cps_to_octave() examples
thomas-hermann Oct 31, 2025
499ef14
register chain fn for ampdb and dbamp
thomas-hermann Oct 31, 2025
de86068
add db_to_amp() and amp_to_db() examples
thomas-hermann Oct 31, 2025
959efcb
update hz_to_mel(), mel_to_hz() docstring
thomas-hermann Nov 1, 2025
7af3570
add mel_to_hz() and hz_to_mel() examples
thomas-hermann Nov 1, 2025
7493c86
add Slaney mel scale to mel_to_hz() and hz_to_mel()
thomas-hermann Nov 1, 2025
db1a25e
improve mel_to_hz and hz_to_mel examples
thomas-hermann Nov 1, 2025
f691c09
add distort() example
thomas-hermann Nov 1, 2025
3cddd5b
improve softclip() code and docstring
thomas-hermann Nov 1, 2025
ae451d3
add softclip() example
thomas-hermann Nov 1, 2025
2eb1fc1
fix dtype bug in softclip(), improve scurve()
thomas-hermann Nov 1, 2025
ce80c0c
add scurve() example
thomas-hermann Nov 1, 2025
d9dc433
fix error in lcurve() docstring
thomas-hermann Nov 1, 2025
0a1050f
add lcurve() example
thomas-hermann Nov 1, 2025
080ddc1
fixed bug in wrap()
thomas-hermann Nov 1, 2025
992ba82
add wrap() example
thomas-hermann Nov 1, 2025
f0817f3
add fold() example
thomas-hermann Nov 1, 2025
24bb5c0
improve/correct fermi() docstring
thomas-hermann Nov 3, 2025
ce45ea8
add fermi() example
thomas-hermann Nov 3, 2025
558303c
fix normalize() input type
thomas-hermann Nov 3, 2025
9b50b9f
add normalize() example
thomas-hermann Nov 3, 2025
148ad03
fixed norm_peak() type definition
thomas-hermann Nov 3, 2025
4a7a42e
add norm_peak() example
thomas-hermann Nov 3, 2025
763c2cb
fix norm_rms() type definiton
thomas-hermann Nov 3, 2025
d97d533
add norm_rms() example
thomas-hermann Nov 3, 2025
c667391
fix remove_dc() type hints
thomas-hermann Nov 3, 2025
c869f41
add remove_dc() example
thomas-hermann Nov 3, 2025
fbeb49f
fix gain() type hints
thomas-hermann Nov 3, 2025
703ebd2
add gain() example
thomas-hermann Nov 3, 2025
ee852c4
fix remove_dc() type hint error
thomas-hermann Nov 4, 2025
e54692f
remove obsolete linspace()
thomas-hermann Nov 4, 2025
39f4aba
remove linspace(), fix lin_ecdf() extrapolation
thomas-hermann Nov 4, 2025
d72f1e5
add ecdf(), lin_to_ecdf(), ecdf_to_lin() examples
thomas-hermann Nov 4, 2025
e36bb85
update .plot() for mapping with xs arg
thomas-hermann Nov 4, 2025
0278178
fix linspace removal bug
thomas-hermann Nov 4, 2025
76c7ac4
Updated maximum python version for testing matrix in github workflow.
sherlockhommel Nov 5, 2025
bf3b982
correct wrap() example plot title
thomas-hermann Nov 5, 2025
d57f6cb
move ChainableArray to separate module
thomas-hermann Nov 5, 2025
a4b0d82
Added a few tests for mappings, also added scipy as a dependency to t…
sherlockhommel Nov 6, 2025
49b8cdb
add tests and update test function names
thomas-hermann Nov 6, 2025
417f0e9
add more tests
thomas-hermann Nov 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
matrix:
python:
- "3.7" # oldest Python supported by PSF
- "3.11" # newest Python that is stable
- "3.13" # newest Python that is stable
platform:
- ubuntu-latest
- macos-latest
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with: {python-version: "3.11"}
with: {python-version: "3.12"}
- name: Retrieve pre-built distribution files
uses: actions/download-artifact@v3
with: {name: python-distribution-files, path: dist/}
Expand Down
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,9 @@ repos:
# rev: v2.2.5
# hooks:
# - id: codespell

- repo: https://github.com/kynan/nbstripout
rev: 0.8.1
hooks:
- id: nbstripout
args: [--extra-keys=metadata.kernelspec metadata.language_info]
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2023 Dennis Reinsch
Copyright (c) 2023-2025 Thomas Hermann and Dennis Reinsch

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading