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

Bitcrush plugins displays output clip level as % while it's dBFS #5856

Closed
PhysSong opened this issue Dec 22, 2020 · 3 comments · Fixed by #5870
Closed

Bitcrush plugins displays output clip level as % while it's dBFS #5856

PhysSong opened this issue Dec 22, 2020 · 3 comments · Fixed by #5870

Comments

@PhysSong
Copy link
Member

See the code below:

if( m_needsUpdate || m_controls.m_outClip.isValueChanged() )
{
m_outClip = dbfsToAmp( m_controls.m_outClip.value() );
}

outClip->setLabel( tr( "CLIP" ) );
outClip->setHintText( tr( "Output clip:" ) , "%" );

@deenadayalancs
Copy link
Contributor

deenadayalancs commented Dec 23, 2020

Hello @PhysSong ,

Can i replace % with dBFS and push this code?

This is my first github contribution.

lmms/plugins/Bitcrush/BitcrushControlDialog.cpp

outClip->setHintText( tr( "Output clip:" ) , " dBFS");

Thanks,
Deena

@PhysSong
Copy link
Member Author

Are you familiar with Git and GitHub? If not, here are the simple steps for changing only one file:

If you want to contribute further, please make sure you're familiar with them!

deenadayalancs added a commit to deenadayalancs/lmms that referenced this issue Dec 29, 2020
Added the code outClip->setHintText( tr( "Output clip:" ) , " dBFS"); to fix the 

"Bitcrush plugins displays output clip level as % while it's dBFS LMMS#5856 " @PhysSong
@PhysSong
Copy link
Member Author

@deenadayalancs Now you can go master...deenadayalancs:patch-1 and create a pull request. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants