Sound_and_Spectrum.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* Sound_and_Spectrum.h
  2. *
  3. * Copyright (C) 1992-2005,2007,2009,2011,2012,2015,2016,2018 Paul Boersma
  4. *
  5. * This code is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or (at
  8. * your option) any later version.
  9. *
  10. * This code is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. * See the GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this work. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #include "Sound.h"
  19. #include "Spectrum.h"
  20. Thing_declare (Interpreter);
  21. autoSpectrum Sound_to_Spectrum_at (Sound me, double tim, double windowDuration, int windowType);
  22. autoSpectrum Sound_to_Spectrum (Sound me, bool fast);
  23. autoSound Spectrum_to_Sound (Spectrum me);
  24. autoSpectrum Spectrum_lpcSmoothing (Spectrum me, int numberOfPeaks, double preemphasisFrequency);
  25. autoSound Sound_filter_passHannBand (Sound me, double fmin, double fmax, double smooth);
  26. autoSound Sound_filter_stopHannBand (Sound me, double fmin, double fmax, double smooth);
  27. autoSound Sound_filter_formula (Sound me, conststring32 formula, Interpreter interpreter);
  28. /* End of file Sound_and_Spectrum.h */