nyanpasu64
47be5452f5
Add partial tests for renderer color bars
2024-06-06 00:02:49 -07:00
nyanpasu64
9f925470ba
Auto-calculate layout column count by default
...
If both row and column count are set to 0, pick 2 columns when rendering
5 or more tracks.
2024-02-05 13:27:22 -08:00
nyanpasu64
12983a657a
Remove empty rows/columns from oscilloscope layout
...
This allows remaining tracks to fill the screen if you remove most
tracks from a multi-column layout.
2024-02-05 13:27:22 -08:00
nyanpasu64
e9f88d9ee9
Implement parallel renderer, set as default
2023-12-17 23:57:14 -08:00
kitten
cb215cdb1c
Improve error messages for 24-bit WAV files ( #443 )
2023-11-27 19:32:15 -08:00
nyanpasu64
7a9fbe374b
Update test_trigger.py parameter space
2022-03-19 12:37:37 -07:00
nyanpasu64
f03a8be4fc
Use regular trigger's smoothed mean for post triggering ( #420 )
2022-03-18 15:03:42 -07:00
nyanpasu64
55cd73fca8
Remove slope strength (reuse edge strength), always enable slope
2022-03-17 09:11:10 -07:00
nyanpasu64
dbfd884347
Replace PyQt5 with qtpy (doesn't work)
2022-03-15 11:35:45 -07:00
nyanpasu64
3f9869d3d8
Rewrite debug plotting system around absolute timestamps
2022-03-11 21:08:08 -08:00
nyanpasu64
7b4910fd1e
Rewrite test_post_stride()
2022-03-11 21:08:08 -08:00
nyanpasu64
ef2a6b9b98
Rewrite correlation trigger using overlap-save on unwindowed data
...
The data read from the input _wave (length A+B+_trigger_diameter) is
longer than the correlation buffer (length A+B), to ensure that when
sliding the buffer across the wave, no edge effects are encountered.
This is inspired by overlap-save convolution, but adapted to
cross-correlation.
2022-03-11 21:08:08 -08:00
nyanpasu64
850030f3f7
Organize imports
2022-03-09 03:09:35 -08:00
nyanpasu64
520a834da9
Add tests that CLI can handle absolute paths
2022-03-08 22:36:53 -08:00
nyanpasu64
bcdacb0fdc
Update to black 22.1.0, reformat code (exponentiation)
2022-03-07 19:35:54 -08:00
nyanpasu64
85aa6a6654
Pass per-frame frequency estimate from Trigger to Renderer
2021-07-13 17:48:21 -07:00
nyanpasu64
ef79577cb0
Fix video location when rendering configs from CLI
...
This ensures the `-r/--render FILE` path is resolved relative to the
working directory, not the directory of the config file.
2021-06-30 08:02:25 -07:00
nyanpasu64
c17e5f2b5c
Update to upstream scipy.io.wavfile
...
Fixes issue where trying to render foobar2000 WAV files fails
with message "ValueError: Incomplete wav chunk."
File taken from
ac3b21908a/scipy/io/wavfile.py
.
2021-06-14 18:54:03 -07:00
nyanpasu64
635f0f95e6
Update dependencies, fix unit tests on Python 3.9
2021-06-14 15:12:08 -07:00
nyanpasu64
a655f562f8
Switch to new Black version (21.6b0), reformat project ( #374 )
...
I also fixed pre-commit hooks on machines without Python 3.6 installed.
I don't like how Black now removes leading and trailing spaces in
doc comments, but it is what it is.
2021-06-14 15:09:24 -07:00
nyanpasu64
734afb2658
new username uwu
2020-03-20 07:44:07 -07:00
nyanpasu64
dfb0ee3702
Fix Windows-only crash when opening a non-ASCII path and restarting corrscope ( #311 )
2019-08-29 02:30:50 -07:00
nyanpasu64
500609e40b
Fix unit test bug exposed by updating pytest
2019-08-10 13:25:27 -07:00
nyanpasu64
48410d5ecb
Add hack to make pycharm recognize fixture
2019-06-16 22:57:40 -07:00
nyanpasu64
4668eeafca
[test_trigger.py] Improve name of trigger-cfg template
2019-06-16 22:57:40 -07:00
nyanpasu64
8f2c334c16
Rename default_config to template_config, to avoid confusion
2019-06-16 22:57:40 -07:00
nyanpasu64
e99c1d3c99
Improve period calculation, add maximum frequency cap ( #294 )
2019-06-16 22:15:46 -07:00
nyanpasu64
40ccba0f72
Ensure CustomLine.xdata is always ndarray
2019-06-09 16:04:15 -07:00
nyanpasu64
8fb107fec1
Flatten Renderer hierarchy using multiple inheritance
...
Ensure backend implementations do not inherit from RendererFrontend,
since they don't need to know.
2019-06-09 15:58:07 -07:00
nyanpasu64
267209963b
Improve render test "pytest parameterize" names ( #289 )
2019-06-01 22:04:03 -07:00
nyanpasu64
86e55b006c
Disable unreliable parabolic interpolation when pitch tracking ( #286 )
2019-05-09 03:21:42 -07:00
nyanpasu64
83de4bcaec
Improve output tests ( #285 )
2019-05-08 04:57:17 -07:00
nyanpasu64
fa105f1bf5
Improve GUI dialog path defaults ( #277 )
...
- Use Channel 0 for render/save file name, if available.
- Otherwise use empty string instead of suggesting corrscope.yaml/mp4.
- Set save dir when loading .wav from CLI.
2019-04-18 12:20:42 -07:00
nyanpasu64
356aebedfb
Properly remove mean from data, when sign triggering disabled ( #276 )
...
Fixes regression from #239 .
2019-04-15 17:52:42 -07:00
nyanpasu64
d9c856e94c
Merge pull request #274 from nyanpasu64/rewrite-pitch-tracking
...
Rewrite pitch tracking
2019-04-14 07:41:16 -07:00
nyanpasu64
ee4ad5e3ae
Rewrite pitch tracking based on buffer, not history
2019-04-13 12:01:52 -07:00
nyanpasu64
a12196e333
Add support for excluding fields from always_dump="*" ( #268 )
2019-04-13 11:35:29 -07:00
nyanpasu64
283952d588
Add sign triggering
2019-04-12 14:15:36 -07:00
nyanpasu64
457e50c88a
Add debug visualizations
2019-04-12 14:15:07 -07:00
nyanpasu64
f187e53d55
Add test for using Renderer without drawing main line, modularize
2019-04-12 14:09:28 -07:00
nyanpasu64
0bcb6df3d6
Make subsampled wave.get_around(x, N) centered around x
2019-04-12 14:09:28 -07:00
nyanpasu64
9f68bff952
Make renderer backends pluggable, store constants inside ( #267 )
2019-04-11 07:57:05 -07:00
nyanpasu64
59965cc789
Eliminate print() from test_trigger.py
2019-04-10 03:39:38 -07:00
nyanpasu64
fa8b77794d
Add configurable grid line width
2019-04-08 12:07:20 -07:00
nyanpasu64
10142f5bb4
Fix label scaling, rewrite resolution divisor ( #264 )
...
- Alter DPI (pixel/inch) instead of scaling each UI element individually
- Fix matplotlib output dimension mismatches with nonstandard DPIs
(which may not have occurred at 96dpi).
2019-04-08 05:23:01 -07:00
nyanpasu64
8300ec3682
Add support for per-channel labels ( #256 )
...
Known issue: matplotlib's font weight handling is often wrong.
2019-04-08 03:42:46 -07:00
nyanpasu64
ba4326fc4a
Replace output/renderer RGB_DEPTH with BYTES_PER_PIXEL ( #262 )
...
The new name expresses the semantic meaning of this constant.
The old name is tied to its current value (RGB 3-byte color depth).
2019-04-07 09:10:15 -07:00
nyanpasu64
c0acffb32f
model_bind: Allow both underscores and dots in rgetattr ( #258 )
2019-04-05 19:46:54 -07:00
nyanpasu64
5ec7b463aa
Dump underscore-prefixed fields, refactor config dumping ( #255 )
...
If I decide to revert to not dumping _fields:
keep the tests and refactorings, and manually rewrite the changes.
2019-04-04 19:08:59 -07:00
nyanpasu64
3849f7fe85
Refactor renderer API
2019-04-04 18:12:43 -07:00