Description Usage Arguments Details Value
View source: R/setCsoundLibrary.R
Functions to get and set the option "csoundlibrary", which is used by all the functions in the package to actually access the functionality of Csound.
1 2 3 4 5 | getCsoundLibrary()
setCsoundLibrary(path)
csoundGetVersion()
|
path |
A character string containing the path to the Csound shared library. |
The csound package attempts to find the library
file automatically on startup and warns if it fails. In
this case, you need to find the path to Csound's shared
library (often a .so
or .dll
, depending on
the system. setCsoundLibrary
will only actually
set the option if it successfully locates and links to
the library; if it fails to link it, it stops with an
error.
Hopefully these options won't need to be accessed by most users, but they are provided as a backup.
getCsoundLibrary()
returns a pointer to the Csound
library, with the path to the library passed as an
attribute.
csoundGetVersion()
returns the version of Csound
that is linked to.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.