Today I work as a Back End Developer creating web solutions with the most current tools and techniques on the market, mainly using the Go and Python language. My two other passions are audio and music. I have some projects created in these areas and I intend to develop other works that interest me.
It's much harder to build than to destroy..
Abstract work demands creativity.
Do not take life too seriously. You will never get out of it alive.
// C++ audio example // filipeborato@github float CompreezorAudioProcessor::calcCompressorGain(float fDetectorValue, float fThreshold, float fRatio, float fKneeWidth, bool bLimit) { // slope variable float CS = 1.0 - 1.0 / fRatio; // [ Eq. 13.1 ] // limiting is infinite ratio thus CS->1.0 //if (bLimit) //CS = 1; // soft-knee with detection value in range? if (fKneeWidth > 0 && fDetectorValue > (fThreshold - fKneeWidth / 2.0) && fDetectorValue < fThreshold + fKneeWidth / 2.0) { // setup for Lagrange double x[2]; double y[2]; x[0] = fThreshold - fKneeWidth / 2.0; x[1] = fThreshold + fKneeWidth / 2.0; x[1] = min(0, x[1]); // top limit is 0dBFS y[0] = 0; // CS = 0 for 1:1 ratio y[1] = CS; // current CS // interpolate & overwrite CS CS = lagrpol(&x[0], &y[0], 2, fDetectorValue); } // compute gain; threshold and detection values are in dB float yG = CS * (fThreshold - fDetectorValue); // [ Eq. 13.1 ] // clamp; this allows ratios of 1:1 to still operate yG = min(0, yG); // convert back to linear return pow(10.0, yG / 20.0); }
# Python code with syntax highlighting # thelearn-tech@github from os import path def check_for_file(): print("Does file exist:", path.exists("data.csv")) if __name__=="__main__": check_for_file()
Name | Age | Gender |
---|---|---|
Josh | 27 | Male |
Tom | 25 | Male |
Olivia | Never Ask | Female |
This | is a | Table |