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

Added analog clipepr module #12

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

Maaago
Copy link

@Maaago Maaago commented Sep 18, 2022

Ciao Gabri, come promesso ecco il clipper analogico ;) dimmi se va bene

Rin = 1e3; //1kOhm
C = 100e-9; //100nF

h = 1e-5;
Copy link
Owner

Choose a reason for hiding this comment

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

Check if the h variable is a constant or changes according to sampleRate/T parameters

return vDiodes;
}

float Clipper::fixedPoint(float vIn)
Copy link
Owner

Choose a reason for hiding this comment

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

Update the name to clarify the code behaviour


float Clipper::capacitorVoltage(float vIn)
{
if(inputGain < 1.0f)
Copy link
Owner

Choose a reason for hiding this comment

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

Check if this IF is needed to make the code work

Copy link
Owner

@killbizz killbizz left a comment

Choose a reason for hiding this comment

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

Check the conversation section for feedback

@killbizz killbizz self-assigned this Sep 26, 2022
@killbizz killbizz added the enhancement New feature or request label Sep 26, 2022
@killbizz killbizz added this to the Release v1.1 milestone Sep 26, 2022
@killbizz killbizz removed this from the Release v1.1 milestone Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants