MixingMatrix.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef _MixingMatrix_h_
  2. #define _MixingMatrix_h_
  3. /* MixingMatrix.h
  4. *
  5. * Copyright (C) 2010-2017 David Weenink
  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. #include "TableOfReal.h"
  21. Thing_define (MixingMatrix, TableOfReal) {
  22. };
  23. autoMixingMatrix MixingMatrix_create (integer numberOfOutputChannels, integer numberOfInputChannels);
  24. autoMixingMatrix MixingMatrix_createSimple (integer numberOfOutputChannels, integer numberOfInputChannels, conststring32 elements);
  25. void MixingMatrix_multiplyInputChannel (MixingMatrix me, integer inputChannel, double value);
  26. void MixingMatrix_muteAndActivateChannels (MixingMatrix me, bool *muteChannels);
  27. void MixingMatrix_setStandardChannelInterpretation (MixingMatrix me);
  28. void MixingMatrix_setRandomGauss (MixingMatrix me, double mean, double stdev);
  29. #endif
  30. /* End of file MixingMatrix.h */