Wykres commitów

171 Commity (df54a6e986aa0bcde1af40541c07d5acba4e8479)

Autor SHA1 Wiadomość Data
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
nyanpasu64 ca01b8c422 Always draw vertical midline between <0 and >0 samples (#243)
- Add comments on Wave.get_around() even/odd conventions
2019-03-26 16:17:08 -07:00
nyanpasu64 030e769413 Mark Channel.render_samp, *_stride as private 2019-03-25 04:37:17 -07:00
nyanpasu64 1ce1e77fb7 Add Channel.get_render_around(trigger_sample) 2019-03-25 04:37:17 -07:00
nyanpasu64 0ed61ff7a4 Add custom stereo downmixing and GUI 2019-03-25 02:16:55 -07:00
nyanpasu64 407454a126 Add slope-detection triggering (#228) 2019-03-14 05:26:41 -07:00
nyanpasu64 e2144f3689 Fix trigger bugs, fix post trigger width, add tests (#231)
- Fix CorrelationTrigger off-by-one on odd buffer widths
- Fix bug where `post_radius` was *2 to become diameter, then treated as radius
- Fix errors in ZeroCrossingTrigger
- Cleanup test_trigger.py
2019-03-13 02:07:45 -07:00
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