Wykres commitów

1037 Commity (40f08d86bad406c69f5b98341aa01fef87b842cd)

Autor SHA1 Wiadomość Data
nyanpasu64 40f08d86ba
Fix doubled file extension when saving as .yaml file (#500) 2025-03-15 00:01:33 -07:00
nyanpasu64 8c4e604db7
When opening missing file via CLI, show dialog rather than crashing (#499) 2025-03-13 23:16:57 -07:00
demize a3cff4cd91
Restrict appnope dependency to darwin (#497)
This helps linux distro packagers, as distro
packaging needs to include -all- dependencies.
Restricting appnope to only be required on darwin
means that downstream packagers no longer have to
patch out the dependency and calls to appnope.

This should have no effect on macOS, and should be
basically unnoticeable to anyone who isn't doing
distro packaging.
2025-02-28 19:36:23 -08:00
nyanpasu64 b71bc120ed Improve README and docs 2025-01-01 22:44:47 -08:00
nyanpasu64 6803fa1a11
Remember most recently selected filetype in Render dialog (#493)
* Remember most recently selected filetype in Render dialog

Some users prefer to always render their files as .mkv or another
filetype. This commit changes corrscope's render dialog to remember the
most recently selected filetype, and default to it on next render.

* Don't move render filetype dropdown if user types a different extension

The render dialog has a selected filetype ("filter") dropdown to pick
what format to save to by default. This PR changes the code to remember
the selected filetype between renders.

Previously we changed the selected filetype if the user types an
extension belonging to a different type in the list, even if they didn't
pick an extension in the list. This can be confusing, so I removed the
code responsible (instead only remembering the most recently selected
list item).
2024-12-20 14:41:12 -08:00
nyanpasu64 6243148685
Add "Reload Font List" menu item to fix missing fonts (#492)
Matplotlib stores a cache of installed fonts, and does not reload it
when the user installs a new font and tries to use it. We workaround
this by adding a menu item which clears the font cache
(causing Matplotlib to reload its font list). This is easier than
telling users to find and delete a folder on their system.

Also change Trigger tab accelerator so users can use Alt+T to access
Tools -> Reload Font List.
2024-12-13 13:12:33 -08:00
nyanpasu64 9eca6510a8
Merge pull request #491 from corrscope/split-stereo-bars
Implement split stereo bar colors
2024-12-01 21:22:33 -08:00
nyanpasu64 b0d95658fb Add default stereo right color to GUI 2024-11-27 14:49:40 -08:00
nyanpasu64 c7b9c8a64b Move "Color Lines By Pitch" to the right 2024-11-27 14:49:40 -08:00
nyanpasu64 4509e9b69d Implement split stereo bar colors 2024-11-27 14:49:40 -08:00
nyanpasu64 cecd875278
Fix loss of volume when using a mono track as master audio (#488)
By default, when converting or playing mono audio tracks as stereo,
ffmpeg halves the power of the left/right audio channels. This is
undesirable since it makes mono tracks quieter than intended.

This commit makes corrscope detect mono master audio, and tell ffmpeg to
play audio at full volume in both channels. We cannot enable this for
stereo master audio, since it will discard the right input channel.
2024-11-25 13:49:07 -08:00
nyanpasu64 310d014b2e
Upgrade dependencies to fix compatibility with outside libraries (#490) 2024-11-24 17:13:58 -08:00
nyanpasu64 4c52cee81c
Encode audio using libopus instead of aac (#487)
opus in mp4 is supported by modern versions of ffmpeg, as well as
YouTube upload. libopus is known to have good audio quality, while
FFmpeg's built-in AAC encoder is slow and low-quality (especially on
older ffmpeg versions)
2024-11-10 19:46:45 -08:00
nyanpasu64 458442f7c1 Update CLI message 2024-11-08 23:19:03 -08:00
nyanpasu64 0d1d0303ba Update dependencies to avoid yanked Matplotlib 3.9.1 2024-09-22 18:52:50 -07:00
nyanpasu64 0f53885afa 0.11.0-pre 2024-09-22 18:52:39 -07:00
nyanpasu64 c19dad152f Merge remote-tracking branch 'origin/master' 2024-09-22 18:34:54 -07:00
nyanpasu64 017003c97e fix 0.10.1 version 2024-09-14 01:12:58 -07:00
nyanpasu64 769e2ed64f
Fix YouTube channel link 2024-07-21 01:56:51 -07:00
nyanpasu64 b9ad8c3773 0.10.1 2024-07-14 23:01:28 -07:00
nyanpasu64 d89afdf99e
Merge pull request #480 from corrscope/update-python-numpy
Raise minimum Python version to 3.10, fix NumPy 2.0 support
2024-07-13 20:54:59 -07:00
nyanpasu64 6bddb53054 Workaround compatibility issue with NumPy 2.0
This patches a vendored dependency. Eventually we should pull upstream
changes instead.
2024-07-13 15:38:27 -07:00
nyanpasu64 b8283f42de Allow installing with NumPy 2.x
This allows testing for compatibility with the library version now
installed on Arch Linux.
2024-07-13 15:38:27 -07:00
nyanpasu64 cb9ffc10b9 Raise minimum Python version to 3.10
Poetry sets the pinned NumPy version based on the minimum allowed Python
version. Previously we set the minimum Python version to 3.8 (the last
version with Windows 7 binaries), so Poetry pinned NumPy to the last
version to support 3.8, which lacks wheels for modern Python. As a
result you could not install corrscope on modern Python through Poetry.

This commit sets the minimum Python version to 3.10. This breaks Windows
7 support (unless you use a custom newer Python build or override the
minimum Python version), but fixes corrscope Poetry installation on
newer Python versions. (corrscope wheel installation does not pin the
numpy version, so is exempt.) This also enables testing corrscope on
NumPy 2.0, which has incompatible changes.
2024-07-13 15:38:27 -07:00
nyanpasu64 892688e6ed 0.10.1-pre 2024-07-08 23:31:11 -07:00
nyanpasu64 e83493d44b 0.10.0 2024-07-08 23:29:55 -07:00
nyanpasu64 6e0c3f9815
Add warning when rendering partial video (#478)
This prevents accidentally rendering part of a video when you expected
to render and encode the full project.
2024-06-22 23:41:19 -07:00
nyanpasu64 05070c006d
Switch default track orientation to horizontal (#477)
This may make the resulting oscilloscope views less confusing (adjacent
tracks are horizontally nearby rather than vertically).
2024-06-17 21:02:25 -07:00
nyanpasu64 9b20d05f4a
Add external triggering support (#476) 2024-06-17 00:26:27 -07:00
nyanpasu64 8dbba65c9c
Merge pull request #475 from corrscope/plot-stereo-bars
Add support for showing stereo balance as bars
2024-06-10 17:07:20 -07:00
nyanpasu64 47be5452f5 Add partial tests for renderer color bars 2024-06-06 00:02:49 -07:00
nyanpasu64 aefe040f90 Add GUI for stereo bars
Currently does not allow toggling them per-channel. (I don't think it's
worth the added horizontal width.)
2024-06-06 00:02:49 -07:00
nyanpasu64 2a4f0f6c49 Implement stereo bars 2024-06-06 00:02:49 -07:00
nyanpasu64 3e502d8bba Refactor Renderer module 2024-06-05 21:59:00 -07:00
nyanpasu64 4e4b19387b 0.10.0-pre 2024-06-04 16:49:27 -07:00
nyanpasu64 3315a2f40a 0.9.1 2024-06-04 15:45:29 -07:00
nyanpasu64 ecffcfa076
Fix stray triggering results in areas with no rising edges (#474)
When buffer_strength = 0 and no rising edges were in range (based on the
estimated period), corrscope would erroneously return the leftmost
point in its view (based on the estimated period). This would often
result in triggering in the *middle* of a positive segment.

Instead return the center point. In NES oscilloscopes, this returns a
value past the falling edge and in a near-silent region (which is more
visually appealing).
2024-05-04 22:28:04 -07:00
s0m3guy 591ab8c191
Update installation guides for FreeBSD (#469)
* Update installation guides for FreeBSD

* Clarify pip installation guide

* Finalize the PR

* oops forgot to add a comma

* Atomicwrites now compiles just fine via pip on FreeBSD.
2024-04-11 16:26:38 -07:00
fluffy kittem 69717c1d59
When debugging, print custom line names and colors to console (#473) 2024-04-09 11:59:55 -07:00
fluffy kittem 68c82a016b
Merge pull request #471 from corrscope/fix-trigger-corr-kernel
Fix bug which would add correlation buffers to slope finder
2024-04-07 21:43:09 -07:00
nyanpasu64 eb69ef6426 Reduce slope finder multiplier to 2 to prevent trigger jumps
This is necessary because fixing the correlation bug makes history
comparisons weaker relative to the slope finder. This would result in
waveforms with multiple edges per cycle jumping between rising edges
mid-note even at reasonable settings (edge strength = buffer strength).
2024-04-04 20:40:19 -07:00
nyanpasu64 0ac1e63c7d Fix bug which would add correlation buffers to slope finder
This would hurt triggering accuracy of long evolving notes by comparing
the latest wave to stale buffers.

Bug was discovered by Tachometer in the Discord server.
2024-04-03 21:13:12 -07:00
fluffy kittem 0f5ff9ce4f
Merge pull request #470 from corrscope/update-docs
Improve GitHub Pages docs and README.md
2024-04-01 00:39:14 -07:00
nyanpasu64 2c8bed3070 Update README.md with usage information 2024-03-31 20:02:23 -07:00
nyanpasu64 af06f73a6d Improve docs on trigger algorithm 2024-03-31 19:53:55 -07:00
nyanpasu64 16c5f250fc Update GitHub Pages documentation 2024-03-31 19:53:55 -07:00
nyanpasu64 f66457a3a4 0.9.1-pre 2024-02-09 20:38:29 -08:00
nyanpasu64 97e2ab020a 0.9.0 2024-02-09 14:31:57 -08:00
fluffy kittem 52a395c0cc
Merge pull request #464 from corrscope/fix-background-image-size
Fix bug where background images had 1px black borders on top/left and were shown 1px too big
2024-02-08 18:10:08 -08:00
nyanpasu64 fc8fa8c021 Fix background images being shown 1 pixel too large
Matplotlib is a meme.
2024-02-07 17:20:57 -08:00