Searched refs:dcshift (Results 1 – 5 of 5) sorted by relevance
16 double dcshift; /* DC shift. */ member30 dcs->dcshift = 1.0; /* default is no change */ in sox_dcshift_getopts()37 if (argc && (!sscanf(argv[0], "%lf", &dcs->dcshift))) in sox_dcshift_getopts()52 dcs->limiterthreshhold = SOX_SAMPLE_MAX * (1.0 - (fabs(dcs->dcshift) - dcs->limitergain)); in sox_dcshift_getopts()65 if (dcs->dcshift == 0) in sox_dcshift_start()81 double dcshift = dcs->dcshift; in sox_dcshift_flow() local100 if (sample > limiterthreshhold && dcshift > 0) in sox_dcshift_flow()102 …iterthreshhold) * limitergain / (SOX_SAMPLE_MAX - limiterthreshhold) + limiterthreshhold + dcshift; in sox_dcshift_flow()105 else if (sample < -limiterthreshhold && dcshift < 0) in sox_dcshift_flow()110 …iterthreshhold) * limitergain / (SOX_SAMPLE_MAX - limiterthreshhold) - limiterthreshhold + dcshift; in sox_dcshift_flow()[all …]
29 EFFECT(dcshift)
59 compandt.c compandt.h contrast.c dcshift.c delay.c dft_filter.c \
80 ** dcshift: Apply or remove DC offset
1382 o Ford Prefect added a dcshift which can shift the midline amplitude