nyanpasu64
6222ecf812
Expose PresentationModel.cfg to public
2018-12-18 20:53:23 -08:00
nyanpasu64
999546f094
Reorganize UI/config MainWindow.__init__()
2018-12-18 20:53:23 -08:00
nyanpasu64
1d5cdf8db0
[ui] Delete unused channel widget
2018-12-18 20:53:23 -08:00
nyanpasu64
1fc8b49ff9
[ui] Widen window, remove unfinished color swatches, add toolbar and stuff
2018-12-18 20:53:23 -08:00
nyanpasu64
80b9a3197f
Switch default per-channel trigger to empty dict
...
Don't write empty GUI dicts
2018-12-18 20:53:23 -08:00
nyanpasu64
73147bac39
Convert colors to hex, when loading config in GUI
2018-12-18 20:53:23 -08:00
nyanpasu64
201e6e3e78
Replace dunder with newline (table headers)
2018-12-18 20:53:23 -08:00
nyanpasu64
532aaef187
Add trigger table columns
2018-12-18 20:53:23 -08:00
nyanpasu64
93d65ee637
Change order of Column dataclass
2018-12-18 20:53:23 -08:00
nyanpasu64
04da8a3f27
Treat whitespace-only GUI inputs as default value
2018-12-18 20:53:23 -08:00
nyanpasu64
b49618cfbc
Add ability to edit existing data (as str)
...
Editing as int/float is bad,
since users cannot easily blank out a numeric field
(and setting =0 is unintuitive).
2018-12-18 20:53:23 -08:00
nyanpasu64
663015ad2c
Switch UI to use "Line Color" consistently
2018-12-18 20:53:23 -08:00
nyanpasu64
36c4f82071
Expand window by default
2018-12-18 20:53:23 -08:00
nyanpasu64
926b745652
Index table rows from 1
2018-12-18 20:53:23 -08:00
nyanpasu64
4b69fb2d06
[channels] Add column display_name
2018-12-18 20:53:23 -08:00
nyanpasu64
be1e9f6563
[channels] Replace __attrs_post_init__ with self-factory
2018-12-18 20:53:23 -08:00
nyanpasu64
be3d537500
Fix ChannelModel data() recursion error, implement setData
2018-12-18 20:53:23 -08:00
nyanpasu64
baad00a938
Squash branch "qt-gui"
2018-12-18 20:53:23 -08:00
nyanpasu64
f02883745d
Create README.md ( #19 )
2018-12-14 19:28:43 -08:00
nyanpasu64
86043f078d
Switch default line_width to 1.5, bg_color to #hex
...
Makes job easier for Qt GUI
2018-12-10 09:25:48 -08:00
nyanpasu64
cef21d7ab8
Allow per-channel triggers to inherit from global (if untyped dicts) ( #83 )
...
trigger:
edge_strength: -1
2018-12-08 18:56:34 -08:00
nyanpasu64
85a4163f8a
Merge pull request #85 from nyanpasu64/alter-config-defaults
...
Make always-dumped CorrelationTriggerConfig attributes required
- Move buffer_falloff to default_config().
- Edit test_trigger.py by adding a custom CorrelationTriggerConfig template.
- This template is *very different* from the previous
CorrelationTriggerConfig optional-defaults. The tests pass anyway.
2018-12-06 12:48:22 -08:00
nyanpasu64
89cec1e6b4
Improve yaml_sink description
2018-12-06 12:45:01 -08:00
nyanpasu64
8aa5a116b1
Remove CorrelationTriggerConfig.always_dump (they are now required)
2018-12-06 12:37:26 -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
cd0a998a66
Make always-dumped CorrelationTriggerConfig attributes required
...
- Update default_config() template to coincide with `always_dump`
(add buffer_falloff).
- Make `use_edge_trigger` required.
Breaks unit tests.
2018-12-06 12:33:07 -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
6d312f5de4
Improve config organization and defaults ( #84 )
...
`Config` defaults are optional attributes.
`default_config` defaults are template values.
2018-12-06 11:04:22 -08:00
nyanpasu64
78d4512fb9
Add `-h` command-line option which shows `--help`
2018-12-06 06:52:11 -08:00
nyanpasu64
53b4f64a87
Switch color types to str or Optional
2018-12-05 07:52:59 -08:00
nyanpasu64
d52f68a875
Appease Mypy (partly)
2018-12-05 05:14:04 -08:00
nyanpasu64
c9a57f84d2
Update metadata files (pycharm style, .gitignore qt creator)
2018-12-05 04:37:28 -08:00
nyanpasu64
f4add75049
Improve organization and commenting of CorrelationTrigger
2018-12-05 04:00:35 -08:00
nyanpasu64
d1d441884c
Reorganize setup.py
2018-11-26 18:29:08 -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
8cb921cb14
Pycharm 2018.3 encodings.xml: All files are utf-8
2018-11-26 17:57:45 -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
8c96719891
Mark Output base class as a context manager
...
Ovgen assumes all outputs are context managers. Up until now,
this assumption was true, since the only output used so far
(PipeOutput) is a context manager.
This change makes custom/dummy output types easier.
2018-11-25 04:37:42 -08:00
nyanpasu64
59931a3440
Workaround error when calling CLI with wildcards on Windows
2018-11-25 04:23:45 -08:00
nyanpasu64
7aacc5a387
Add renderer LineParam, prebake default line color
2018-11-21 21:39:34 -08:00
nyanpasu64
436d7c1a4e
Introduce outputs.PIXEL_FORMAT (for ffmpeg)
2018-11-21 03:35:29 -08:00
nyanpasu64
73bb8d3619
.gitattributes: Force eol=LF on Windows
...
Useful when syncing source between Windows and Unix via Dropbox.
2018-11-20 18:05:28 -08:00
nyanpasu64
6a30cfbc83
Make Config.channels mandatory
...
See #38
2018-11-17 22:35:59 -08:00
nyanpasu64
1bdcf7a127
Switch default init_line_color from list to hex
2018-11-17 22:32:34 -08:00
nyanpasu64
0cd1f5f304
Merge pull request #71 from nyanpasu64/fix-stereo-overflow
...
Fix stereo overflow
2018-11-17 22:13:48 -08:00
nyanpasu64
21c78fd7fc
Fix loud stereo overflow
2018-11-17 22:01:00 -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
6e2fed4a01
Close pipeline input when terminating process chain
...
Fixes TimeoutError when terminating Python parent (Ctrl+C)
2018-11-17 17:44:13 -08:00
nyanpasu64
55409ffc0c
Fix UnboundLocalError when outputs don't terminate quickly
2018-11-17 17:21:06 -08:00