Using functions of c++ libraries in nyquist

Using Nyquist scripts in Audacity.
Post and download new plug-ins.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
Forke
Posts: 1
Joined: Thu Jan 08, 2015 9:38 am
Operating System: Please select

Using functions of c++ libraries in nyquist

Post by Forke » Thu Jan 08, 2015 9:53 am

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

steve
Site Admin
Posts: 47320
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu
Contact:

Re: Using functions of c++ libraries in nyquist

Post by steve » Thu Jan 08, 2015 1:14 pm

Forke wrote:Is it possible to use existing functions of my c++ library in nyquist?
Not directly.
Two approaches that you could take:
1) Extend Nyquist. See Appendix 1 and Appendix 3 of the Nyquist manual: http://www.cs.cmu.edu/~rbd/doc/nyquist/title.html#toc
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.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply