libcm is a C development framework with an emphasis on audio signal processing applications.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cmDspPgmKrChain.h 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #ifndef cmDspPgmKrChain_h
  2. #define cmDspPgmKrChain_h
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. //( { file_desc:"Signal processing chain implementation for 'GUTIM'." kw:[snap gutim] }
  7. typedef struct
  8. {
  9. const cmChar_t* tlFn;
  10. const cmChar_t* tlPrefixPath;
  11. const cmChar_t* scFn;
  12. const cmChar_t* tksbFn;
  13. const cmChar_t* modFn;
  14. const cmChar_t* measFn;
  15. const cmChar_t* recordDir;
  16. const cmChar_t* midiDevice;
  17. const cmChar_t* midiOutPort;
  18. const cmChar_t* midiOutPort2;
  19. } krRsrc_t;
  20. cmDspRC_t krLoadRsrc(cmDspSysH_t h, cmErr_t* err, krRsrc_t* r);
  21. // connection information for 1 transform channel
  22. typedef struct
  23. {
  24. cmDspInst_t* achan;
  25. cmDspInst_t* kr0; // audio input
  26. cmDspInst_t* kr1;
  27. cmDspInst_t* cmp; // audio output
  28. } cmDspTlXform_t;
  29. void _cmDspSys_TlXformChain(
  30. cmDspSysH_t h,
  31. cmDspTlXform_t* c,
  32. unsigned preGrpSymId,
  33. unsigned cmpPreGrpSymId,
  34. cmDspInst_t* amp,
  35. cmDspInst_t* modp,
  36. unsigned ach,
  37. unsigned mch );
  38. //)
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42. #endif