Skip to content

Remove glitching from the Flanger and Delay plugins#3524

Merged
zonkmachine merged 1 commit into
LMMS:stable-1.2from
curlymorphic:flangerGlitch
May 17, 2017
Merged

Remove glitching from the Flanger and Delay plugins#3524
zonkmachine merged 1 commit into
LMMS:stable-1.2from
curlymorphic:flangerGlitch

Conversation

@curlymorphic

Copy link
Copy Markdown
Contributor

The previous delay code was incorrectly not utalising the whole buffer, causing glitches when
incressing the delay time, due to outputting incorrect data, This was apparent when using the
lfo in the Delay and Flanger plugins.

This has been rectified. The read index is now offset from the write index. and the complete buffer
is used in a circular fashon.

@zonkmachine

Copy link
Copy Markdown
Contributor

It looks like there still are some glitches in there. In the example there are glitches and occasional beeps, like a buffer replaying the bitinbader sine once in a while.
flangernoise2.mmp.zip

@Umcaruje Umcaruje added this to the 1.2.0 milestone May 14, 2017
The previous delay code was incorrectly not utalising the whole buffer, causing glitches when
incressing the delay time, due to outputting incorrect data, This was apparent when using the
lfo in the Delay and Flanger plugins.

This has been rectified. The read index is now offset from the write index. and the complete buffer
is used in a circular fashon.

Flanger - resolved issue where the lfo could create negative delay lengths
@curlymorphic

Copy link
Copy Markdown
Contributor Author

@zonkmachine Thank you for the project, That reviled a bug with short delay times, The previous code used the lfo in a way that could result in negative delay lengths, the cause of randomness.

I have revised the code to eliminate this effect.

@zonkmachine zonkmachine left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix confirmed!

@zonkmachine

Copy link
Copy Markdown
Contributor

I've tested this PR and #3521 together now and I think they should be merged.

@zonkmachine zonkmachine merged commit b432707 into LMMS:stable-1.2 May 17, 2017
PhysSong pushed a commit to PhysSong/lmms that referenced this pull request Jul 8, 2017
The previous delay code was incorrectly not utalising the whole buffer, causing glitches when
incressing the delay time, due to outputting incorrect data, This was apparent when using the
lfo in the Delay and Flanger plugins.

This has been rectified. The read index is now offset from the write index. and the complete buffer is used in a circular fashon.

Flanger - resolved issue where the lfo could create negative delay lengths
PhysSong pushed a commit to PhysSong/lmms that referenced this pull request Jul 8, 2017
The previous delay code was incorrectly not utalising the whole buffer, causing glitches when
incressing the delay time, due to outputting incorrect data, This was apparent when using the
lfo in the Delay and Flanger plugins.

This has been rectified. The read index is now offset from the write index. and the complete buffer is used in a circular fashon.

Flanger - resolved issue where the lfo could create negative delay lengths
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
The previous delay code was incorrectly not utalising the whole buffer, causing glitches when
incressing the delay time, due to outputting incorrect data, This was apparent when using the
lfo in the Delay and Flanger plugins.

This has been rectified. The read index is now offset from the write index. and the complete buffer is used in a circular fashon.

Flanger - resolved issue where the lfo could create negative delay lengths
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.

3 participants