NUMfilter.h 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. #ifndef _NUMfilter_h_
  2. #define _NUMfilter_h_
  3. /* NUMfilter.h
  4. *
  5. * Copyright (C) 1992-2018 Paul Boersma
  6. *
  7. * This code is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or (at
  10. * your option) any later version.
  11. *
  12. * This code is distributed in the hope that it will be useful, but
  13. * WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  15. * See the GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this work. If not, see <http://www.gnu.org/licenses/>.
  19. */
  20. void NUMfbtoa (double formant, double bandwidth, double dt, double *a1, double *a2);
  21. void NUMfilterSecondOrderSection_a (double x [], integer n, double a1, double a2);
  22. void NUMfilterSecondOrderSection_fb (double x [], integer n, double dt, double formant, double bandwidth);
  23. double NUMftopreemphasis (double f, double dt);
  24. void NUMpreemphasize_a (double x [], integer n, double preemphasis);
  25. void NUMdeemphasize_a (double x [], integer n, double preemphasis);
  26. void NUMpreemphasize_f (double x [], integer n, double dt, double frequency);
  27. void NUMdeemphasize_f (double x [], integer n, double dt, double frequency);
  28. /* End of file NUMfilter.h */
  29. #endif