nyanpasu64
992702f317
misc
2018-07-29 06:35:31 -07:00
nyanpasu64
a096f0ffe9
wat
...
# wave_folder must not be used, except to to initialize wave_prefix and channels.
# When exporting YAML, this is exported as a comment.
wave_folder: str = ''
# Remove this field, create @classmethod constructors for loading from
# [glob/wave]... wave_folder will not be present in saved yaml files.
2018-07-29 06:35:29 -07:00
nyanpasu64
e66d3cb58c
Switch to custom keyword_dataclasses.py
...
Whenever non-default arguments follow default arguments, they are marked
as keyword-only: f(a=1, *, b)
2018-07-29 06:35:27 -07:00
nyanpasu64
965ba169de
Fix and update ChannelConfig
2018-07-29 06:35:25 -07:00
nyanpasu64
18140572f6
Rename Wave(wcfg) to cfg
2018-07-29 06:35:23 -07:00
nyanpasu64
be0aa5791c
Rename Config.wave_dir to wave_folder
2018-07-29 06:35:21 -07:00
nyanpasu64
201b05cc30
Rename WaveConfig to _WaveConfig, don't expose via YAML
2018-07-29 06:35:19 -07:00
nyanpasu64
7f0e1ccaba
(Config YAML) Add support for always dumping default fields
...
@register_config(always_dump='field names || *')
2018-07-29 06:35:17 -07:00
nyanpasu64
1124c46f1e
Type-check fields, when loading config dataclasses from YAML
2018-07-29 06:35:15 -07:00
nyanpasu64
960770fec0
Merge branch 'channel' into yaml
2018-07-29 06:35:02 -07:00
nyanpasu64
ceb673dcf1
Remove main() command line, add YAML dumping test
2018-07-29 06:33:52 -07:00
nyanpasu64
3bc7fdf81d
Rename cfg.audio_path to master_audio
2018-07-25 05:25:53 -07:00
nyanpasu64
648829b4d9
Exclude default fields from YAML dumping. Add dumping unit tests.
2018-07-25 05:19:46 -07:00
nyanpasu64
a87642b38c
Rename register_dataclass to register_config
2018-07-25 05:19:45 -07:00
nyanpasu64
65655b2645
[wip] Make config classes dumpable via YAML, rename base configs
2018-07-25 05:19:45 -07:00
nyanpasu64
e1dfdd13da
Fix benchmark_trigger.py
2018-07-25 05:19:23 -07:00
nyanpasu64
34921d5699
[cleanup] Add KDE Dolphin .directory to .gitignore
2018-07-25 05:19:12 -07:00
nyanpasu64
f5cf52d606
[cleanup] Update PyCharm files
2018-07-25 05:18:45 -07:00
nyanpasu64
4fa9cbb615
Fix test_renderer.py
2018-07-24 04:52:12 -07:00
nyanpasu64
63d1cb0352
Change Config values. Reorganize Config variable order for usability.
2018-07-23 20:44:24 -07:00
nyanpasu64
2928af9b01
Print current time once a second (to check progress)
2018-07-23 20:39:15 -07:00
nyanpasu64
19c0909752
Add amplification to WaveConfig
2018-07-23 20:38:15 -07:00
nyanpasu64
81c19aff2e
Fix loading stereo files
2018-07-23 20:27:35 -07:00
nyanpasu64
5dcbaa544e
Sort audio files, when loading from wave_dir
2018-07-23 20:27:06 -07:00
nyanpasu64
c27749f0e0
Reorganize outputs.py
2018-07-23 20:25:53 -07:00
nyanpasu64
d62d1203a0
Add --audio alias
2018-07-23 19:21:04 -07:00
nyanpasu64
47343bd4da
Merge branch 'video-export'
2018-07-23 19:20:34 -07:00
nyanpasu64
586baa1d59
Fix Linux support (force Agg backend without GUI) (hack)
2018-07-23 03:49:29 -07:00
nyanpasu64
55f45d68c9
Fix Linux support (calling subprocess.Popen)
2018-07-23 02:43:05 -07:00
nyanpasu64
10bad44513
reformatting
2018-07-22 05:35:32 -07:00
nyanpasu64
0abe8968fa
Restore ability to set create_window=True
2018-07-22 05:11:34 -07:00
nyanpasu64
366cffda04
Use ffmpeg to mux video and audio for ffplay
2018-07-22 05:06:46 -07:00
nyanpasu64
de36194085
Switch command-line options from --audio_path to --audio-path
2018-07-22 04:55:07 -07:00
nyanpasu64
56f98c4823
Implement FFplayOutput. Factor out ProcessOutput and _FFmpegCommand.
2018-07-22 03:51:38 -07:00
nyanpasu64
e4399640bc
whatever
2018-07-22 03:51:29 -07:00
nyanpasu64
0a3ffe118c
Change FFmpeg command to overwrite existing videos
2018-07-22 03:18:32 -07:00
nyanpasu64
b14d60fd75
Render to video using raw image data. Hide GUI.
...
Hide GUI since it changes window size, breaking the rendering process.
2018-07-22 03:17:31 -07:00
nyanpasu64
9816001f9d
[wip] Frame capture and FFmpeg video output
2018-07-22 02:06:10 -07:00
nyanpasu64
46df1b8adc
Rename master_wave to audio_path [ovgenpy.py]
2018-07-22 00:42:24 -07:00
nyanpasu64
4b91be9120
WIP code for piping images into ffmpeg (subprocess.Popen)
2018-07-22 00:38:20 -07:00
nyanpasu64
054ba642eb
Test to ensure no FutureWarning when determining Wave type
2018-07-20 15:30:24 -07:00
nyanpasu64
206294f5c2
Check np.floating instead of np.float (fixes FutureWarning)
2018-07-20 14:26:02 -07:00
nyanpasu64
8729e46cdf
wip
2018-07-20 14:19:43 -07:00
nyanpasu64
bf30acefc0
Trigger references Wave using weakref
2018-07-20 12:53:31 -07:00
nyanpasu64
1d7f29b943
Remove TODO message from Wave
2018-07-20 02:22:53 -07:00
nyanpasu64
1baf405166
Merge branch 'single-precision'
2018-07-20 02:07:41 -07:00
nyanpasu64
980d375b34
Add trigger speed benchmark.
...
Results: single takes .77 ms, double takes .99 ms (with some variability).
So single precision float is significantly faster.
2018-07-20 02:07:07 -07:00
nyanpasu64
c50ed2853e
Perform most CorrelationTrigger calculations using FLOAT
2018-07-20 02:04:37 -07:00
nyanpasu64
34c660b55a
Switch internal calculations to single-precision FLOAT
2018-07-20 01:29:49 -07:00
nyanpasu64
4f8496682b
Merge branch 'refactor-wave'
2018-07-20 01:29:07 -07:00