plotwave 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {plotwave-0.1.0 → plotwave-0.1.1}/.gitignore +1 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/PKG-INFO +7 -3
- {plotwave-0.1.0 → plotwave-0.1.1}/README.md +5 -2
- {plotwave-0.1.0 → plotwave-0.1.1}/docs/demo.html +37 -37
- {plotwave-0.1.0 → plotwave-0.1.1}/docs/index.html +2 -2
- {plotwave-0.1.0 → plotwave-0.1.1}/pyproject.toml +3 -1
- {plotwave-0.1.0 → plotwave-0.1.1}/src/plotwave/__init__.py +1 -1
- {plotwave-0.1.0 → plotwave-0.1.1}/src/plotwave/_core.py +59 -70
- {plotwave-0.1.0 → plotwave-0.1.1}/src/plotwave/_render.py +122 -31
- {plotwave-0.1.0 → plotwave-0.1.1}/tests/test_api.py +26 -12
- {plotwave-0.1.0 → plotwave-0.1.1}/uv.lock +67 -2
- plotwave-0.1.0/docs/favicon/apple-touch-icon.png +0 -0
- plotwave-0.1.0/docs/favicon/favicon-96x96.png +0 -0
- plotwave-0.1.0/docs/favicon/favicon.ico +0 -0
- plotwave-0.1.0/docs/favicon/favicon.svg +0 -1
- plotwave-0.1.0/docs/site.webmanifest +0 -21
- plotwave-0.1.0/docs/web-app-manifest-192x192.png +0 -0
- plotwave-0.1.0/docs/web-app-manifest-512x512.png +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/.github/workflows/pages.yml +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/DEVELOPERS.md +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/LICENSE +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/assets/logo_name.png +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/assets/logo_name_black.png +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/assets/logo_name_transparent.png +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/assets/logo_name_white.png +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/assets/logo_simple.png +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/assets/logo_simple_transparent.png +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/docs/assets/logo_name_black.png +0 -0
- {plotwave-0.1.0/docs → plotwave-0.1.1/docs/favicon}/apple-touch-icon.png +0 -0
- {plotwave-0.1.0/docs → plotwave-0.1.1/docs/favicon}/favicon-96x96.png +0 -0
- {plotwave-0.1.0/docs → plotwave-0.1.1/docs/favicon}/favicon.ico +0 -0
- {plotwave-0.1.0/docs → plotwave-0.1.1/docs/favicon}/favicon.svg +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/docs/favicon/site.webmanifest +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/docs/favicon/web-app-manifest-192x192.png +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/docs/favicon/web-app-manifest-512x512.png +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/examples/__init__.py +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/examples/getting_started.ipynb +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/examples/progression_pred_vs_label.html +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/examples/signal_helpers.py +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/scripts/build_pages_demo.py +0 -0
- {plotwave-0.1.0 → plotwave-0.1.1}/src/plotwave/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: plotwave
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Interactive audio and waveform plotting for notebooks and browsers.
|
|
5
5
|
Project-URL: Homepage, https://github.com/camilziane/plotwave
|
|
6
6
|
Project-URL: Repository, https://github.com/camilziane/plotwave
|
|
@@ -18,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
18
18
|
Classifier: Topic :: Multimedia :: Sound/Audio :: Analysis
|
|
19
19
|
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
20
20
|
Requires-Python: >=3.11
|
|
21
|
+
Requires-Dist: lameenc>=1.8.2
|
|
21
22
|
Requires-Dist: numpy>=1.26
|
|
22
23
|
Description-Content-Type: text/markdown
|
|
23
24
|
|
|
@@ -72,13 +73,16 @@ env = np.abs(wav)
|
|
|
72
73
|
plotwave.plot(
|
|
73
74
|
[
|
|
74
75
|
plotwave.audio(wav, sr, name="audio", color="#2563eb"),
|
|
75
|
-
plotwave.series(env, name="envelope", color="#f97316", fill="tozeroy"),
|
|
76
|
+
plotwave.series(env, sr=sr, name="envelope", color="#f97316", fill="tozeroy"),
|
|
76
77
|
],
|
|
77
78
|
layout={"title": {"text": "Audio + envelope"}, "height": 520},
|
|
78
79
|
)
|
|
79
80
|
```
|
|
80
81
|
|
|
81
|
-
|
|
82
|
+
For `series(...)`, use:
|
|
83
|
+
|
|
84
|
+
- `sr=...` when your values are evenly sampled
|
|
85
|
+
- `time=...` when you already have an explicit time axis
|
|
82
86
|
|
|
83
87
|
## Segments
|
|
84
88
|
|
|
@@ -49,13 +49,16 @@ env = np.abs(wav)
|
|
|
49
49
|
plotwave.plot(
|
|
50
50
|
[
|
|
51
51
|
plotwave.audio(wav, sr, name="audio", color="#2563eb"),
|
|
52
|
-
plotwave.series(env, name="envelope", color="#f97316", fill="tozeroy"),
|
|
52
|
+
plotwave.series(env, sr=sr, name="envelope", color="#f97316", fill="tozeroy"),
|
|
53
53
|
],
|
|
54
54
|
layout={"title": {"text": "Audio + envelope"}, "height": 520},
|
|
55
55
|
)
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
For `series(...)`, use:
|
|
59
|
+
|
|
60
|
+
- `sr=...` when your values are evenly sampled
|
|
61
|
+
- `time=...` when you already have an explicit time axis
|
|
59
62
|
|
|
60
63
|
## Segments
|
|
61
64
|
|