Skip to content

Added analog clipepr module - #12

Open
Maaago wants to merge 2 commits into
killbizz:developfrom
Maaago:develop
Open

Added analog clipepr module#12
Maaago wants to merge 2 commits into
killbizz:developfrom
Maaago:develop

Conversation

@Maaago

@Maaago Maaago commented Sep 18, 2022

Copy link
Copy Markdown

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

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

h = 1e-5;

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

@killbizz killbizz left a comment

Copy link
Copy Markdown
Owner

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