Wykres commitów

65 Commity (2a19afce5f31a5083a5d443e55c77d20823cf73d)

Autor SHA1 Wiadomość Data
nyanpasu64 b4104185f4 Make begin_time optional, defaulting to 0 2018-08-19 15:33:47 -07:00
nyanpasu64 716f799c42 Add `begin_time` parameter, to skip ahead in rendering.
CorrelationTrigger starts with zeroed-out buffer, so triggering will
differ from not seeking.
2018-08-18 15:58:36 -07:00
nyanpasu64 3cec61a2ac Ensure that Ovgen.outputs are closed upon exceptions
channels and outputs are loaded upon Ovgen.play(), not __init__ creation
2018-08-18 02:57:03 -07:00
nyanpasu64 4289ff2d81 Merge pull request #27 from nyanpasu64/benchmark
Add benchmarking support
2018-08-17 14:54:42 -07:00
nyanpasu64 f6b554fe86 Fix dumping benchmark_mode to YAML 2018-08-17 14:50:28 -07:00
nyanpasu64 c58fb527cc Add config parameter for benchmarking 2018-08-17 01:56:34 -07:00
nyanpasu64 b648f9755b Add background/line color support to renderer 2018-08-16 22:21:18 -07:00
nyanpasu64 d669e37044 Always get frame from renderer, even without outputs
Enables more realistic render benchmarking.
2018-08-15 18:36:18 -07:00
nyanpasu64 21d739cd4f Move layout rows/columns to class LayoutConfig 2018-08-14 21:24:09 -07:00
nyanpasu64 4a25b41d22 Move MatplotlibRenderer.create_window parameter into cfg 2018-08-14 21:23:19 -07:00
nyanpasu64 45bdf96391 Add support for render_subsampling 2018-07-29 06:35:49 -07:00
nyanpasu64 88361bab7b cleanup imports 2018-07-29 06:35:37 -07:00
nyanpasu64 7304464560 Rewrite CLI and Ovgenpy() using Channel class 2018-07-29 06:35:33 -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 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 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 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 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 5dcbaa544e Sort audio files, when loading from wave_dir 2018-07-23 20:27:06 -07:00
nyanpasu64 d62d1203a0 Add --audio alias 2018-07-23 19:21:04 -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 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 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 8729e46cdf wip 2018-07-20 14:19:43 -07:00
nyanpasu64 af41500266 Add scan_ratio parameter (scan time = time_visible_ms * scan_ratio)
Remove hardcoded scanning distance
2018-07-16 18:23:31 -07:00
nyanpasu64 2ad624be03 RendererConfig calculates orientation based on nrows or ncols.
- Ensure either nrows or ncols is set.
- If neither, set ncols=1 (single column).
- Remove rows_first flag.

Add test_renderer.py
2018-07-15 23:42:17 -07:00
nyanpasu64 8b71df0bbb Replace samples_visible with time_visible_ms
Factor out wave-reading code from MatplotlibRenderer backend.
MatplotlibRenderer backend hopefully plots arbitrary data, and can be
swapped with other backends.
2018-07-15 23:42:17 -07:00
nyanpasu64 56502d876f Reorganize and cleanup imports 2018-07-15 05:55:00 -07:00
nyanpasu64 20cbdab20f Add use_edge_trigger flag to CorrelationTrigger, tweak config parameters 2018-07-15 04:26:54 -07:00
nyanpasu64 0e575d9792 Fix CorrelationTrigger 2018-07-14 15:42:10 -07:00
nyanpasu64 6ccf84ff2d Replace TriggerConfig with CorrelationTrigger.Config. Add responsiveness. 2018-07-14 02:06:07 -07:00
nyanpasu64 c7ca023163 [wip] Half-working trigger 2018-07-13 23:54:14 -07:00
nyanpasu64 a35c3fc9bc Move renderer, triggers, wave to separate file 2018-07-13 20:58:00 -07:00
nyanpasu64 18c5720c54 Extract Wave.get(begin, end) from Wave.get_around 2018-07-13 20:57:19 -07:00
nyanpasu64 0e7f15ffbc [wip] Add buffer to CorrelationTrigger 2018-07-13 20:57:12 -07:00
nyanpasu64 df53a09328 Load waveform data from .wav. Rescale and zero-pad data. 2018-07-13 06:57:00 -07:00
nyanpasu64 48c4b14f5d Rename RendererCfg, TriggerCfg to RendererConfig, TriggerConfig 2018-07-13 06:55:17 -07:00
nyanpasu64 1a3aa5b3cb Rename Trigger to CorrelationTrigger with base class Trigger 2018-07-13 05:43:33 -07:00
nyanpasu64 013488a168 Use TriggerCfg as factory 2018-07-13 05:37:22 -07:00