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
nyanpasu64
949baead3e
Clarify Wave class "center"
2018-07-20 01:23:41 -07:00
nyanpasu64
332413e8ef
Refactor Wave class and add support for float waves
2018-07-20 01:23:41 -07:00
nyanpasu64
7a818c0cd3
Add unit tests for Wave
2018-07-20 01:23:41 -07:00
nyanpasu64
26e3f36375
Optimize imports
2018-07-20 01:11:56 -07:00
nyanpasu64
fd4f8a8645
Clarify CorrelationTrigger get_trigger(index)
2018-07-19 22:37:40 -07:00
nyanpasu64
194ce67e0f
Remove trailing whitespace
2018-07-19 22:31:15 -07:00
nyanpasu64
fb7932b952
Read WAV files using mmap=True
2018-07-16 18:23:53 -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
cb3e7265ca
Fix misspelled setup.py dependency (dataclasses)
2018-07-15 19:59:50 -07:00
nyanpasu64
0bb26a1c20
Fix unit tests, add CorrelationTrigger.Config.use_edge_trigger
2018-07-15 06:04:50 -07:00
nyanpasu64
56502d876f
Reorganize and cleanup imports
2018-07-15 05:55:00 -07:00
nyanpasu64
7a5e0b11f1
Mark Wave(wcfg: WaveConfig) as Optional
2018-07-15 05:54:45 -07:00
nyanpasu64
20cbdab20f
Add use_edge_trigger flag to CorrelationTrigger, tweak config parameters
2018-07-15 04:26:54 -07:00
nyanpasu64
e23145e193
Fix ZeroCrossingTrigger slowdown by removing `idx in range(...)`
2018-07-15 04:05:41 -07:00
nyanpasu64
709661dd93
Add Renderer.nwaves, refactor CorrelationTrigger and Wave
2018-07-15 04:04:53 -07:00
nyanpasu64
7a615c6d2a
Removed unused utils/fourier.py
2018-07-15 04:01:13 -07:00
nyanpasu64
d7f15b233b
Add ZeroCrossingTrigger and call it from CorrelationTrigger
2018-07-15 03:11:58 -07:00
nyanpasu64
9b9288f7ad
Rename Trigger.get_trigger(offset) to index
2018-07-15 03:11:17 -07:00
nyanpasu64
90b2dc5afd
Add type hints to Wave.__getitem__
2018-07-15 03:09:48 -07:00
nyanpasu64
b01251fd21
Fix CorrelationTrigger and remove debugging code
2018-07-14 16:07:06 -07:00
nyanpasu64
1b50590ecc
Remove debugging code (SHOW_TRIGGER)
2018-07-14 15:45:07 -07:00
nyanpasu64
0e575d9792
Fix CorrelationTrigger
2018-07-14 15:42:10 -07:00