-
Notifications
You must be signed in to change notification settings - Fork 9
WIP: Convert CV2 <-> CV1 #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Rahzael
wants to merge
22
commits into
midi2-dev:develop
Choose a base branch
from
Rahzael:develop
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+669
−0
Open
Changes from 4 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
be3eead
chore: Added nix flake for starting a development shell.
Rahzael f92f690
feat: Implemented conversion from CV2 note on to CV1.
Rahzael 25f85f3
fix: Fixes issue with CV1 velocity calculation when converting from CV2.
Rahzael 422fe59
test: Added test to ensure that CV2 -> CV1 velocity is always > 0 so …
Rahzael b3edac4
Revert "chore: Added nix flake for starting a development shell."
Rahzael 5e7f877
fix: Remove CV1 NotOn alias in CV2 -> CV1 trait implementation.
Rahzael d3d1e84
docs: Add comment that 0 Vel CV2 will produce 1 Vel CV1.
Rahzael 153a832
refactor: Makes CV2 Note On -> CV1 Note On generic over Buffer<Unit =…
Rahzael f437cf5
feat: Added direct CV2 -> CV1 Note On for resizable buffers.
Rahzael 485c405
refactor: Moved Channeled and Grouped trait import to function body o…
Rahzael 50fcc15
Feat: Added upscaling for all ranges but upper range and downscaling …
Rahzael f52c651
fix: Fixed center implementation to round up instead of down.
Rahzael 0156ba2
feat: Implemented mincentermax upscaling for upper range.
Rahzael 9217b38
refactor: Removed dbg! output in upscale() and unnesecary mut in CV2 …
Rahzael d7c12a6
style: Resolve clippy errors.
Rahzael 5df1533
refactor: Moved From<CV2> note on to CV1 note on file.
Rahzael c9f8984
refactor: Move conversion module to its own file.
Rahzael 9ff2e85
test: Added downscaling test for center values.
Rahzael dc5309b
test: Added min, max, and example downscaling tests.
Rahzael 97e65e2
style: Removed unnesecary module nesting in conversion.rs.
Rahzael 234feae
feat: Implemented zero extension upscaling.
Rahzael 0793172
feat: Added Zero-Extension downscaling.
Rahzael File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,2 @@ | ||
| /target | ||
| /Cargo.lock | ||
| midi2_proc/target | ||
| midi2_proc/Cargo.lock | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.