nyanpasu64
fade930f64
Rename trigger subsampling to stride
2018-11-17 16:10:00 -08:00
nyanpasu64
3beaee923c
[wip] Add PostTrigger and LocalPostTrigger
...
A post-processing trigger should have subsampling=1,
and no more post triggers.
LocalPostTrigger uses a parabolic cost function for shifting to find
edges. It doesn't work well and needs tweaking.
2018-10-30 18:01:38 -07:00
nyanpasu64
cc7b9b35ac
Add ITriggerConfig.post and Trigger.post for trigger chaining
...
One would think `use_edge_trigger` should be an InitVar.
But it breaks test_trigger_subsampling() which is parameterized on
`cfg.use_edge_trigger` (and I want to keep it that way, not peek at
`cfg.post`).
I also copied test_trigger_subsampling to test_post_trigger_subsampling,
to test `cfg.post`.
2018-10-30 18:01:38 -07:00
nyanpasu64
6c4e128031
Add PerFrameCache class to cache period over multiple triggers
2018-10-30 18:01:38 -07:00
nyanpasu64
29798e7343
Increase trigger performance, cache and reuse data window
...
Reuses data window if period is within 1 semitone of saved window.
2018-08-26 19:33:34 -07:00
nyanpasu64
494ce2bf69
Add ability to load legacy YAML files
...
Add Ignored and Alias fields to Config and CorrelationTriggerConfig.
2018-08-25 22:44:42 -07:00
nyanpasu64
acffc1a55e
Fix unit tests
2018-08-25 18:51:01 -07:00
nyanpasu64
ae9aa862e2
Fix unit tests
2018-08-25 16:35:09 -07:00
nyanpasu64
8cce1d1414
Add support for subsampling in CorrelationTrigger and Wave
2018-07-29 06:35:47 -07:00
nyanpasu64
be57d5765f
Add unified ITrigger constructor, [wip] trigger subsampling
2018-07-29 06:35:39 -07:00
nyanpasu64
65655b2645
[wip] Make config classes dumpable via YAML, rename base configs
2018-07-25 05:19:45 -07:00
nyanpasu64
26e3f36375
Optimize imports
2018-07-20 01:11:56 -07:00
nyanpasu64
0bb26a1c20
Fix unit tests, add CorrelationTrigger.Config.use_edge_trigger
2018-07-15 06:04:50 -07:00
nyanpasu64
0e575d9792
Fix CorrelationTrigger
2018-07-14 15:42:10 -07:00
nyanpasu64
cd33fcee6e
Add unit tests (interactive for now)
2018-07-14 03:36:49 -07:00