Lines Matching refs:omega
429 gdouble omega; in calculate_omega() local
432 omega = G_PI; in calculate_omega()
434 omega = 0.0; in calculate_omega()
436 omega = 2.0 * G_PI * (freq / rate); in calculate_omega()
438 return omega; in calculate_omega()
476 gdouble gain, omega, bw; in setup_peak_filter() local
480 omega = calculate_omega (band->freq, rate); in setup_peak_filter()
493 band->a1 = (-2.0 * cos (omega)) / b0; in setup_peak_filter()
495 band->b1 = (2.0 * cos (omega)) / b0; in setup_peak_filter()
514 gdouble gain, omega, bw; in setup_low_shelf_filter() local
519 omega = calculate_omega (band->freq, rate); in setup_low_shelf_filter()
529 b0 = egp + egm * cos (omega) + delta; in setup_low_shelf_filter()
531 band->a0 = ((egp - egm * cos (omega) + delta) * gain) / b0; in setup_low_shelf_filter()
532 band->a1 = ((egm - egp * cos (omega)) * 2.0 * gain) / b0; in setup_low_shelf_filter()
533 band->a2 = ((egp - egm * cos (omega) - delta) * gain) / b0; in setup_low_shelf_filter()
534 band->b1 = ((egm + egp * cos (omega)) * 2.0) / b0; in setup_low_shelf_filter()
535 band->b2 = -((egp + egm * cos (omega) - delta)) / b0; in setup_low_shelf_filter()
554 gdouble gain, omega, bw; in setup_high_shelf_filter() local
559 omega = calculate_omega (band->freq, rate); in setup_high_shelf_filter()
569 b0 = egp - egm * cos (omega) + delta; in setup_high_shelf_filter()
571 band->a0 = ((egp + egm * cos (omega) + delta) * gain) / b0; in setup_high_shelf_filter()
572 band->a1 = ((egm + egp * cos (omega)) * -2.0 * gain) / b0; in setup_high_shelf_filter()
573 band->a2 = ((egp + egm * cos (omega) - delta) * gain) / b0; in setup_high_shelf_filter()
574 band->b1 = ((egm - egp * cos (omega)) * -2.0) / b0; in setup_high_shelf_filter()
575 band->b2 = -((egp - egm * cos (omega) - delta)) / b0; in setup_high_shelf_filter()