Using functions of c++ libraries in nyquist

Hey all,

i have written a c++ library that allows me to write and read data in a self developed file format. Now i would like to write a plugin in nyquist, which can read these files.
Is it possible to use existing functions of my c++ library in nyquist?

Thanks in advance

Not directly.
Two approaches that you could take:

  1. Extend Nyquist. See Appendix 1 and Appendix 3 of the Nyquist manual: Nyquist Reference Manual
  2. Include your library in Audacity so that Audacity can read/write to that format, then pass the data from Audacity to Nyquist in the normal way.