nyanpasu64
adaa629828
Rename MainTriggerConfig.post to post_trigger ( #223 )
2019-03-08 23:58:59 -08:00
nyanpasu64
c3bebf6f14
Add basic test to ensure initializing GUI doesn't crash ( #220 )
2019-03-08 05:43:50 -08:00
nyanpasu64
3ff37355e3
Rename files to model/view/etc.
2019-03-08 05:24:25 -08:00
nyanpasu64
37a289f38d
Improve post triggers so they're useful, add separate edge_direction ( #214 )
2019-03-06 21:39:17 -08:00
nyanpasu64
1d6b309017
Make DumpableAttrs's subclasses inherit/merge always_dump ( #216 )
2019-03-05 22:35:53 -08:00
nyanpasu64
e21aeef072
Improve handling of init=False or _fields, fix crashes
...
- Don't dump init=False fields
- Don't crash when loading init=False fields
- Pass field to __init__(field), if internally named _field
Fixes crash when playing PostTriggerConfig from GUI.
2019-03-05 21:10:00 -08:00
nyanpasu64
7e73737ee0
Rename "pitch invariance" to "pitch tracking"
2019-03-02 23:57:44 -08:00
nyanpasu64
3260104df2
Add pitch invariant trigger, set trigger_diameter=None (improves bass)
2019-03-02 23:57:44 -08:00
nyanpasu64
15617b8123
Prevent YAML dump from line-breaking long paths ( #207 )
...
Add test to ensure YAML-dumping long paths does not line-break.
2019-02-24 12:59:46 -08:00
nyanpasu64
0dbba8ac09
Add backend for stereo rendering ( #196 )
...
GUI support will be added in a separate PR.
2019-02-18 02:10:17 -08:00
nyanpasu64
d1bdf0cb34
Run test_output.py on CI, even if ffmpeg missing ( #203 )
2019-02-17 20:17:15 -08:00
nyanpasu64
3e21dd4c0e
disable antialiasing for tests
2019-02-16 08:06:03 -08:00
nyanpasu64
2aaf1452ac
Fix pytest working dir in Pycharm ( #199 )
...
My unit tests assume cwd = /, in order to locate wav files.
But Pycharm uses the wrong working dir whenever you "rerun failed tests" or "run tests in file".
This runs `chdir(correct dir)`.
2019-02-16 03:09:56 -08:00
nyanpasu64
3835421a09
Add unit suffix metadata to config classes
2019-02-10 23:31:07 -08:00
nyanpasu64
73912f74fd
Factor out flatten_attr()
2019-02-09 21:40:53 -08:00
nyanpasu64
144f159f41
Fix rgetattr() with default
2019-02-09 21:36:41 -08:00
nyanpasu64
e865e1c803
[renderer] Treat line_width as pixels, not points ( #186 )
...
Convert line_width from pixels to points (96dpi)
- Why not switch to 72dpi, where 1pt = 1px?
- Gridlines become too thin, and change from white to gray.
This is bad for users, and causes unit tests to fail.
Fixes #178 .
2019-02-05 21:57:22 -08:00
nyanpasu64
c9e2585604
Add test for per-channel amplification
2019-02-01 21:14:25 -08:00
nyanpasu64
e90ccd853a
Make unrecognized fields yield warning, not exception ( #160 )
2019-01-27 20:38:23 -08:00
nyanpasu64
e3cddd7e69
Move scipy-imported files to scipy/ subdir ( #153 )
...
So I can exclude it from mypy.
2019-01-25 19:27:46 -08:00
nyanpasu64
dbd1f7c4ec
[gui] Document broken rgetattr(default) behavior
2019-01-24 22:47:09 -08:00
nyanpasu64
de285317f8
Remove unneeded Wave validation, switch from Flag to Enum
2019-01-24 22:27:36 -08:00
nyanpasu64
d5a1479751
Improve stereo unit test
2019-01-24 22:15:57 -08:00
nyanpasu64
d8eb93ef07
Remove Flatten modes: "sum/diff without averaging"
2019-01-23 23:55:17 -08:00
nyanpasu64
c9a62e12bb
Add test to ensure `end_time: null` is not dumped
2019-01-23 23:46:11 -08:00
nyanpasu64
40b2b31d76
Split CorrScope.waves into trigger/render_waves
2019-01-23 23:46:11 -08:00
nyanpasu64
269f9b2acc
Remove class _WaveConfig, replace with kwargs
2019-01-23 23:46:10 -08:00
nyanpasu64
15252948b3
Add stereo flatten tests [wip]
2019-01-23 23:44:48 -08:00
nyanpasu64
67653ee6b3
Appease mypy, create empty __init__.py
2019-01-21 21:07:43 -08:00
nyanpasu64
1082be3b97
Speed up rendering tests using smaller image dimensions
2019-01-20 16:47:59 -08:00
nyanpasu64
7d2fe9eace
Reorganize output tests and remove duplicate
2019-01-20 16:47:57 -08:00
nyanpasu64
80ec450dc9
Add test for cfg round-trip dump+load
2019-01-20 16:21:36 -08:00
nyanpasu64
b0da03cc47
Refactor config system to use inheritance, not decorator
...
Validate DumpableAttrs always_dump strings
2019-01-20 16:21:36 -08:00
nyanpasu64
2e316d46d1
Add test to ensure FFplayOutput returns Stop if window closed
2019-01-18 15:42:43 -08:00
nyanpasu64
d059cf4303
Add test to ensure corrscope closes output using context manager
2019-01-18 15:42:43 -08:00
nyanpasu64
e2218f29b4
Remove mysterious TODO
2019-01-18 15:40:42 -08:00
nyanpasu64
c86cd8dc03
Add tests for output-specific performance tweaks
2019-01-13 14:59:51 -08:00
nyanpasu64
1f727ce53d
Add test for launching corrscope with master audio disabled
2019-01-13 14:55:33 -08:00
nyanpasu64
61be820ab2
Add test for layout.EdgeFinder class
2019-01-12 04:12:27 -08:00
nyanpasu64
25ae1c803d
Add tests for Renderer grid lines
2019-01-12 04:12:27 -08:00
nyanpasu64
80741ccebb
Simplify channel config ( #128 )
...
Breaks compatibility with pre-0.1.0 configs.
2019-01-08 14:06:06 -08:00
nyanpasu64
fbb6bf0883
Improve Wave.get_around() parameter naming
...
return_nsamp is unambiguous. region_nsamp was ambiguous.
2019-01-08 13:22:58 -08:00
nyanpasu64
70d6cfc1a2
Run black on code
2019-01-03 13:00:18 -08:00
nyanpasu64
89f534c4d6
Add test to accept .wav with header metadata larger than filesize
2019-01-03 00:39:25 -08:00
nyanpasu64
91a570d960
Wave: Enable stereo mmap, disable mmap for intermediate computations ( #21 )
...
Eliminate stereo startup delay, speed up mono Wave[].
2018-12-29 18:43:11 -05:00
nyanpasu64
222426d0df
Skip output (ffmpeg) tests if ffmpeg missing
...
Prevents failures from showing on CI, until I add ffmpeg downloader
2018-12-23 13:19:20 -08:00
nyanpasu64
063f677e80
[pytest] Cleanup fixture-related warnings in test_cli.py
2018-12-23 00:33:12 -08:00
nyanpasu64
5c47c293cb
Rename ovgenpy to corrscope
2018-12-22 18:39:03 -08:00
nyanpasu64
9aceabb2b7
Delete unused tests/images/
2018-12-20 22:30:40 -08:00
nyanpasu64
021e157894
Update ruamel.yaml to 0.15.70, add behavior tests
2018-12-18 20:53:23 -08:00