Skip to content

LADSPA - Fix various floating point errors#3927

Merged
zonkmachine merged 3 commits into
LMMS:stable-1.2from
zonkmachine:ladspafixes
Oct 31, 2017
Merged

LADSPA - Fix various floating point errors#3927
zonkmachine merged 3 commits into
LMMS:stable-1.2from
zonkmachine:ladspafixes

Conversation

@zonkmachine

Copy link
Copy Markdown
Contributor

Fixes NaN in project from closed issue #3685
Also, some fixes salvaged from #3313

@tresf

tresf commented Oct 30, 2017

Copy link
Copy Markdown
Member

@zonkmachine thanks! Just a reminder that once merged, we should PR against https://github.com/swh/ladspa with the same fixes.

@zonkmachine

Copy link
Copy Markdown
Contributor Author

Last fixes. Adapted coding style to the rest of the file and swapped fmaxf() with std::max().
I'll merge this later. It's basically just one-liners and well tested.

Just a reminder that once merged, we should PR against https://github.com/swh/ladspa with the same fixes.

I'll try and build those pluggins first. Last time I looked at it I failed miserably.

@zonkmachine zonkmachine merged commit 88b940f into LMMS:stable-1.2 Oct 31, 2017
@zonkmachine zonkmachine deleted the ladspafixes branch October 31, 2017 01:33
@tresf

tresf commented Nov 3, 2017

Copy link
Copy Markdown
Member

I'll try and build those pluggins first. Last time I looked at it I failed miserably.

This should ease your struggles: swh/ladspa#55

Besides the Travis-CI capabilities, it fixes a few compilation problems I ran into while working on #3931. They haven't been merged yet so they're sitting as duplicates in the Travis-CI PR.

Pay close attention to the apt-get ... commands in travis.yml, it has the dependencies you'll need incase you don't already have them on your system.

Lastly, make install prefix=$HOME/foo is important if you don't want to run the install as root and avoid the default /usr/lib/[ladspa] prefix.

@tresf

tresf commented Nov 8, 2017

Copy link
Copy Markdown
Member

PR submitted swh/ladspa#57. Second set of eyes appreciated.

sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
* swh - Dyson Compressor, fix NaN

* swh - shaper_1187, division with 0

* Division with 0 in calf limiter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants