Wykres commitów

884 Commity (5072301b4220710663bcfbd79b61d171c582fc0f)

Autor SHA1 Wiadomość Data
nyanpasu64 5072301b42
Merge pull request #398 from corrscope/fix-cli-absolute-wav 2022-03-09 00:45:06 -08:00
nyanpasu64 d0210f5d66 Fix passing absolute .wav paths into corrscope CLI 2022-03-08 23:35:25 -08:00
nyanpasu64 520a834da9 Add tests that CLI can handle absolute paths 2022-03-08 22:36:53 -08:00
nyanpasu64 3fd75fc139
Merge pull request #395 from corrscope/update-python-deps 2022-03-07 21:46:44 -08:00
nyanpasu64 0ee5b7c71a Update to PyInstaller 4.10, workaround version incompatibilities
See
https://github.com/python-poetry/poetry/blob/master/docs/faq.md#why-is-poetry-telling-me-that-the-current-projects-python-requirement-is-not-compatible-with-one-or-more-packages-python-requirements
and
https://github.com/python-poetry/poetry/blob/master/docs/dependency-specification.md/#multiple-constraints-dependencies.
2022-03-07 20:09:30 -08:00
nyanpasu64 bcdacb0fdc Update to black 22.1.0, reformat code (exponentiation) 2022-03-07 19:35:54 -08:00
nyanpasu64 01799541b7 Upgrade dependency major versions 2022-03-07 19:31:52 -08:00
nyanpasu64 a2709c5a9e Bump minimum Python version to 3.8, update dependencies 2022-03-07 19:26:12 -08:00
nyanpasu64 22fc267129
Merge pull request #388 from corrscope/tasteful 2021-11-25 17:17:09 -08:00
Sanqui a0b4776934 Add support for line outlines 2021-11-25 16:54:07 -08:00
Sanqui 5672b671a3 Add support for background images 2021-11-25 16:53:42 -08:00
nyanpasu64 bb980b2cb2
Add "Video/Audio Encoding" sections to docs (#387) 2021-07-19 21:20:19 -07:00
nyanpasu64 11743ed9d1
Merge pull request #386 from corrscope/colors
Change wave color based on pitch (synesthesia/chromesthesia)
2021-07-19 21:19:47 -07:00
nyanpasu64 558d4652ef Change renderer line color based on frequency 2021-07-14 15:30:28 -07:00
nyanpasu64 667c38f5b6 Add colorspacious as dev dependency 2021-07-13 17:48:21 -07:00
nyanpasu64 85aa6a6654 Pass per-frame frequency estimate from Trigger to Renderer 2021-07-13 17:48:21 -07:00
nyanpasu64 53b25f686d Alias RendererConfig.init_line_color as global_line_color 2021-07-13 17:48:21 -07:00
nyanpasu64 d40d1846dd
Fix running `pip install .` in a source checkout (#385)
corrscope uses poetry, while pip expects a setuptools project and will
create package name UNKNOWN if run without setup.py or pyproject.toml
[build-system]. This adds an up-to-date pyproject.toml [build-system]
tag.

"setuptools" is required to make `pip install .` work, due to
https://github.com/python-poetry/poetry/issues/3153#issuecomment-727196619

Right now, `pip install [--editable] .` and `pipx install .` work, but
`pipx install --editable .` fails with message "No apps associated with
package UNKNOWN or its dependencies."

I'm not aware of how to fix this.
2021-07-13 17:47:14 -07:00
nyanpasu64 f753a89d0e
Update README.md 2021-07-13 16:27:24 -07:00
nyanpasu64 66603b2558 0.8.0-pre 2021-07-12 17:26:03 -07:00
nyanpasu64 a3e779e13c 0.7.1 2021-07-12 16:36:43 -07:00
nyanpasu64 d93cca1c33
Render videos in BT.709 colorspace by default (#384)
This color space has a wider color range, and is recommended by YouTube:
https://support.google.com/youtube/answer/1722171?hl=en
2021-07-12 16:33:52 -07:00
nyanpasu64 6757d933cc
Add .mkv and .webm to GUI render dialog (#383) 2021-07-08 15:16:24 -07:00
nyanpasu64 a0dcca236d
Merge pull request #382 from corrscope/custom-render-path 2021-07-03 11:45:31 -07:00
nyanpasu64 ef79577cb0 Fix video location when rendering configs from CLI
This ensures the `-r/--render FILE` path is resolved relative to the
working directory, not the directory of the config file.
2021-06-30 08:02:25 -07:00
nyanpasu64 d63713fe6b Change -r/--render command line flag to take an output path 2021-06-30 08:02:25 -07:00
nyanpasu64 7af7680afe Reformat CLI main()
The bug causing me to turn off Black formatting for the Click main
function (https://github.com/ambv/black/issues/560) has been resolved.
2021-06-30 08:00:53 -07:00
nyanpasu64 27e5194204 Update screenshot on README 2021-06-19 18:35:54 -07:00
nyanpasu64 e6a206d62d
Merge pull request #381 from corrscope/update-ci 2021-06-18 16:04:12 -07:00
nyanpasu64 ac28552695 Add OS/bitness into version numbers and binary packages 2021-06-17 22:48:03 -07:00
nyanpasu64 7c8d63a26c Fix README 2021-06-17 19:40:34 -07:00
nyanpasu64 7fec7bae31 Build AppVeyor CI binaries on Python 3.8, enable 32-bit binaries
Python 3.8 is the last release of Python to support Windows 7,
which I want to keep supporting for the time being.
2021-06-17 19:40:34 -07:00
nyanpasu64 d5bc310938
Merge pull request #379 from corrscope/update-wavfile 2021-06-14 19:01:07 -07:00
nyanpasu64 2a9d038ed0 Restore basic wavfile type hints 2021-06-14 18:54:03 -07:00
nyanpasu64 c17e5f2b5c Update to upstream scipy.io.wavfile
Fixes issue where trying to render foobar2000 WAV files fails
with message "ValueError: Incomplete wav chunk."

File taken from
ac3b21908a/scipy/io/wavfile.py.
2021-06-14 18:54:03 -07:00
nyanpasu64 e3e414e28c
Merge pull request #377 from corrscope/fix-config-crash 2021-06-14 17:42:03 -07:00
nyanpasu64 2b0e9d5b69 Bump version to 0.7.1-pre 2021-06-14 16:24:33 -07:00
nyanpasu64 76499d8e60 Update CHANGELOG.md 2021-06-14 16:06:11 -07:00
nyanpasu64 50349d6eac Atomically save prefs.yaml to prevent file corruption
This adds a dependency on the atomicwrites package. Note that it was
already a transitive dev-dependency, but is now a direct dependency as
well.

On Linux, atomicwrites fsyncs the directory after saving. This is
unnecessary for consistency after a system crash, and slows down program
shutdown slightly. But I'm too lazy to vendor or rewrite the library to
not fsync the directory.
2021-06-14 15:45:41 -07:00
nyanpasu64 9b97221001 Fix longstanding crash when prefs.yaml is corrupted
Instead, warn the user with a popup dialog, and reset settings to
default.

Every few months, a user would report corrscope failing to open
due to a corrupted prefs.yaml.
This commit should stop all occurrences of that from now on.
The next commit will help ensure that we never save corrupted files
in the first place.
2021-06-14 15:45:41 -07:00
nyanpasu64 f80730ffd7
Merge pull request #375 from corrscope/update-deps 2021-06-14 15:26:21 -07:00
nyanpasu64 f60405ccb2 Fix deprecation warning discovered by unit tests 2021-06-14 15:12:33 -07:00
nyanpasu64 635f0f95e6 Update dependencies, fix unit tests on Python 3.9 2021-06-14 15:12:08 -07:00
nyanpasu64 a655f562f8
Switch to new Black version (21.6b0), reformat project (#374)
I also fixed pre-commit hooks on machines without Python 3.6 installed.

I don't like how Black now removes leading and trailing spaces in
doc comments, but it is what it is.
2021-06-14 15:09:24 -07:00
nyanpasu64 e89fd11325
Update pinned numpy, fix `poetry install` on Python 3.8+ (#371)
The previously pinned NumPy 1.16.4 was very old
and didn't come with a prebuilt binary wheel for Python 3.8+.
As a result, trying to install corrscope on Python 3.8+ with the pinned
dependency versions (through `poetry install`, not through
`pip install corrscope`) tries (and fails) to build NumPy from scratch.

This updates the pinned NumPy (but not other dependencies) to 1.19.5,
which has prebuilt wheels up to Python 3.9 (the current latest release).

Poetry wouldn't upgrade to NumPy 1.20, since it requires Python 3.7
and we specify a minimum version of 3.6.

NumPy 1.19 is packaged properly by old PyInstaller.
2021-06-14 14:57:29 -07:00
nyanpasu64 9d7da86019 0.7.0 2020-11-17 16:25:08 -08:00
nyanpasu64 ad9206fc7e
Add GitHub issue templates (#361) 2020-11-10 20:30:47 -08:00
nyanpasu64 f78bb5d28a
Merge pull request #360 from corrscope/fix-short-channel
Use longest channel for video duration, not first channel
2020-11-09 21:37:12 -08:00
nyanpasu64 9a1cabd617 Use longest channel for video duration, not first channel 2020-11-09 21:30:46 -08:00
nyanpasu64 36aacb204e Update changelog to mention #358 2020-11-09 21:23:58 -08:00