libcm is a C development framework with an emphasis on audio signal processing applications.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

cmScoreMatchGraphic.h 781B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef cmScoreMatchGraphic_h
  2. #define cmScoreMatchGraphic_h
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. enum
  7. {
  8. kOkSmgRC = cmOkRC,
  9. kFileSmgRC,
  10. kScoreFailSmgRC,
  11. kMidiFileFailSmgRC
  12. };
  13. typedef cmRC_t cmSmgRC_t;
  14. typedef cmHandle_t cmSmgH_t;
  15. extern cmSmgH_t cmSmgNullHandle;
  16. cmSmgRC_t cmScoreMatchGraphicAlloc( cmCtx_t* ctx, cmSmgH_t* hp, const cmChar_t* scoreFn, const cmChar_t* midiFn );
  17. cmSmgRC_t cmScoreMatchGraphicFree( cmSmgH_t* hp );
  18. bool cmScoreMatchGraphicIsValid( cmSmgH_t h );
  19. cmSmgRC_t cmScoreMatchGraphicInsertMidi( cmSmgH_t h, unsigned midiUid, unsigned midiPitch, unsigned midiVel, unsigned csvScoreEventId );
  20. cmSmgRC_t cmScoreMatchGraphicWrite( cmSmgH_t h, const cmChar_t* fn );
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif