Wykres commitów

117 Commity (e3cddd7e69c939f9fcec6768c1ab02a0d1927af6)

Autor SHA1 Wiadomość Data
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
nyanpasu64 027ba504bd When loading invalid config, wrap exceptions with OvgenError
Fix unit test (switching to OvgenError)
2018-12-18 20:53:23 -08:00
nyanpasu64 1b63f66d47 Add Ovgen progress callbacks, switch to Arguments parameter 2018-12-18 20:53:23 -08:00
nyanpasu64 baad00a938 Squash branch "qt-gui" 2018-12-18 20:53:23 -08:00
nyanpasu64 89cec1e6b4 Improve yaml_sink description 2018-12-06 12:45:01 -08:00
nyanpasu64 2aa919b7b7 Fix test_trigger by adding CorrelationTriggerConfig template
This template is *very different* from the previous
CorrelationTriggerConfig optional-defaults.
The tests pass anyway.
2018-12-06 12:36:13 -08:00
nyanpasu64 ffd92f4622 Split trigger/render_ms (#79)
Keep Config.trigger/render_width, but raise warning if encountered.
2018-12-06 12:11:39 -08:00
nyanpasu64 a78c3712c9 Switch from keyword_dataclasses to attrs, fix Python 3.7
keyword_dataclasses works on 3.6 and 3.6 only. attrs works everywhere.

Validators and converters are not used yet.
2018-11-26 18:00:30 -08:00
nyanpasu64 7da8de91a7 Add Config.render_subfps parameter to reduce CPU usage (#77)
- All frames are triggered, but only 1 in `render_subfps` frames are rendered.
- When subsampling FPS, render frames from the future to alleviate lag.
- Reorder Config, move `fps` and `render_subfps` closer to
  `render_subsampling` (easier to use for me).
- Simplify output-related test code.
2018-11-25 04:43:43 -08:00
nyanpasu64 30a59c8e07 Add delayed_assert, to stereo overflow test 2018-11-17 22:01:00 -08:00
nyanpasu64 3bbb30d97e Add test for loud stereo overflowing 2018-11-17 21:49:41 -08:00
nyanpasu64 fade930f64 Rename trigger subsampling to stride 2018-11-17 16:10:00 -08:00
nyanpasu64 dcc705f0c2 Rename Wave.get_around() subsampling to stride 2018-11-17 16:10:00 -08:00
nyanpasu64 0acea45908 Add separate trigger and render_subsampling configs 2018-11-17 16:10:00 -08:00
nyanpasu64 7ce15a7f89 Merge branch 'render-refactor' 2018-11-16 17:11:52 -08:00
nyanpasu64 f794728a99 Update comments and TODO 2018-11-12 00:46:56 -08:00
nyanpasu64 88a79a97e8 Remove Renderer.set_colors(), move into constructor
Makes it simpler to create an impl which constructs all canvases
within __init__, not on first frame.
2018-11-05 15:45:38 -08:00
nyanpasu64 5c7db27862 Improve error message of test_renderer
If the foreground color is 136 instead of the right color,
this corresponds to the global foreground color #888888,
which means the per-channel foreground color wasn't applied.
2018-11-05 15:30:06 -08:00
nyanpasu64 342752febf Move LayoutConfig and RendererLayout to new file 2018-11-03 22:53:47 -07:00
nyanpasu64 62e8c800f4 Fix passing tuples/lists into RendererLayout 2018-11-03 22:51:42 -07:00