Skip to content
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

All the pull requests combined in one plus more stuff #86

Closed
wants to merge 8 commits into from

Conversation

CorvusCorax
Copy link

@CorvusCorax CorvusCorax commented Apr 9, 2017

It got to the point where features in the pull request depend on features in other pull requests which haven't been merged yet. This Pull Request includes:

PR #81 for issue #80 - improve the "change sign" filter. The ability to flip a sample is required to turn the waves generated by the generators into useful envelopes for the modulation filters, so this is a prerequirement

PR #83 for issue #82 - improve the equalizer band configuration. Code changes in this branch depend on these fixes.

PR #85 (no issue created) - Introduce AM + FM modulation filters. This branch fixes a bug in the FM modulation filter. Also these filters are now moved to a new submenu.

This PullRequest introduces the following features on top:

  • Introduce a new Selective Equalizer filter.
    This works like the 10 Band Equalizer, but the Equalizer is selectively applied based on the contents of the clipboard. The clipboard contains an envelope which is mapped over the entire selection (or to be filtered sample) the same way the MixPaste filter does, but instead of being simply added to the sample it instead controls the equalizer bands. A zero in the envelope means no filtering, a +1 means the equalizer is fully applied. A -1 means the equalizers filter result is substracted from the sample, so negative values have different semantics than positive. You would normally use only positive values.

  • Introduce a Phase Modulation filter.
    This filter does what has been asked for in the forum here:
    https://modarchive.org/forums/index.php?topic=3407.0
    The current selection/sample is treated as an envelope, the clipboard is inserted (repeatedly if necessary) but distorted based on the envelope. A 0 value means the clipboard is inserted as is, values !=0 change the ratio of positive and negative halfwaves and as such change the waveform

  • New menu structure
    All the extended "Paste" filters, including the MixPaste, FM-Paste AM-Paste, Phase modulation and the Selective Equalizer have been put into an "Ext Paste" Submenu to reduce clutter in the menu,

If this is merged, PR #81 #83 & #85 can in turn be rejected.

@CorvusCorax
Copy link
Author

The Phase Modulation filter is quite slow. The reason is that it needs to do excessive oversampling to prevent the distorted sample from changing its base frequency, especially at high shifts

Analyzes the waveform in clipboard first to minimize frequency shift
during distortion
@CorvusCorax
Copy link
Author

CorvusCorax commented Apr 10, 2017

I made a demo video on how to use these features (except selective equalizer, I forgot about that one ;)

https://www.youtube.com/watch?v=F3UBzaLVFZc

@Deltafire
Copy link
Member

Merged into the testing branch.

@Deltafire Deltafire closed this Apr 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants