libcm is a C development framework with an emphasis on audio signal processing applications.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

cmOp.h 949B

123456789101112131415161718192021222324252627282930
  1. #ifndef cmOp_h
  2. #define cmOp_h
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. void vs_Zero( cmSample_t v[], unsigned vn);
  7. cmReal_t vs_Sine( cmSample_t v[], unsigned vn, cmReal_t hzRad, cmReal_t initPhs );
  8. void vs_Rand( cmSample_t v[], unsigned vn, cmSample_t min, cmSample_t max );
  9. void vs_Copy( cmSample_t d[], const cmSample_t s[], unsigned n );
  10. cmSample_t vs_SquaredSum( const cmSample_t s[], unsigned n );
  11. // d[] = s[] * mult;
  12. void vs_MultVVS( cmSample_t d[], const cmSample_t s[], unsigned n, cmReal_t mult );
  13. //d[] += s[] * mult
  14. void vs_SumMultVVS(cmSample_t d[], const cmSample_t s[], unsigned n, cmReal_t mult );
  15. // Interpolate the values of y[yn] at the points defined by x[vn] and store the result in v[vn].
  16. // User linear interpolation.
  17. //void vs_Interp2( cmSample_t v[], unsigned vn, const cmSample_t[] x, const cmSample_t y[], unsigned yn );
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif