Re: [Csnd] STK plugins

...Sorry Peter.

In the 6.x folder (dedicated to those who have Csound 6) I find another README.md file with the following instructions [maybe that's what you meant?]:

Enrico,

yes, that's the README.md file you want to read in order to understand
how to install possibly compile first, then install these plugins for
your operating system. Note that me personally I can't help you with the
details about it, just wanted to show you where you can find the
information to do it yourself.

best, P

* Enrico Francioni <00000005323c8739-dmarc-request@LISTSERV.HEANET.IE> [2025-02-07 16:26]:

...Sorry Peter.

In the 6.x folder dedicated to those who have Csound 6 I find another README.md file with the following instructions [maybe that's what you meant?]:

*

Plugins for Csound 6.x

Currently, the plugins available in this tree are

- AbletonLive Link requires Ableton link
**link_create link_enable link_is_enabled link_tempo_set link_tempo_get link_beat_get link_metro link_beat_request link_beat_force**

- chua requires Eigen library, header\-only
**chuap**

- Faust requires libfaust
**faustgen faustcompile faustaudio faustdsp faustplay faustctl**

- image requires libpng
**imageload imagesave imagecreate imagesize imagegetpixel imagesetpixel imagefree**

- py requires a Python 3\.x installation with dev libs
**Many opcodes to call Python code**

- widgets requires the FLTK LIB
**FLTK-based widgets.**
NB: These opcodes do not work correctly on MacOS due
to incompatibilities with the operating system.

- virtual keyboard requires the FLTK LIB
**Virtual MIDI keyboard midi backend**

- STK opcodes requires STK library
**Physical model opcodes using the STK library**

Install location
--------------
The CMake scripts in this repository use the default CS_USER_PLUGIN
location on MacOS and Windows as defined in the Csound build, or a
library instalation directory customisable on LINUX. These are:

- LINUX: depends on both `CMAKE_INSTALL_PREFIX` and `USE_LIB64`. It is then installed in:
   * if `USE_LIB64=1` then to
       * for doubles: `\{CSOUND\_INSTALL\_PREFIX\}/lib64/csound/plugins64\-{APIVERSION}`
       * for floats: `\{CSOUND\_INSTALL\_PREFIX\}/lib64/csound/plugins\-{APIVERSION}` floats`
   * if `USE_LIB64=0` then to
       * for doubles: `\{CSOUND\_INSTALL\_PREFIX\}/lib/csound/plugins64\-{APIVERSION}`
       * for floats: `\{CSOUND\_INSTALL\_PREFIX\}/lib/csound/plugins\-{APIVERSION}`

- MACOS:
    * For doubles: `HOME/Library/csound/{APIVERSION}/plugins64`
    * For floats: `HOME/Library/csound/{APIVERSION}/plugins`
- Windows:
    * For doubles: `LOCALAPPDATA\csound\${APIVERSION}\plugins64`
    * For floats: `LOCALAPPDATA\csound\${APIVERSION}\plugins`

Build Instructions for Linux and MacOS
---

The build requires Csound to be installed, as well as CMake. With this
in place, you can do :

$ git clone https://github.com/csound/plugins.git
$ cd plugins
$ mkdir build
$ cd build
$ cmake ../
$ make

By default, all the plugins are built. If one wants to exclude a
plugin from the build process, one can pass an option to the cmake command.
For example, to exclude the chua plugin, the `cmake` command would be:

$ cmake -DBUILD_CHUA_OPCODES=OFF ../

For the FLTK dependent plugins, the configuration variable used is
`USE_FLTK`.

To install the opcodes you have built

$ make install

Depending on your permissions, you might need to prepend `sudo` to
these commands. After the first build the plugins can be updated with

$ git pull
$ make
$ make install

using `sudo` in the last step if raised permissions are needed. On
Linux, the installation location can be set with the relevant CMake
variables as indicated above.

Csound Location
------------
CMake will normally find the installed Csound headers and library
automatically. However, if your Csound headers and library are not
placed in the usual locations, you can use the following CMake option variables
to tell CMake where they are:

CSOUND_INCLUDE_DIR_HINT

and

CSOUND_LIBRARY_DIR_HINT

Csound mailing list
Csound@listserv.heanet.ie
LISTSERV 16.5 - CSOUND List at LISTSERV.HEANET.IE
Send bugs reports to
        Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie

Send bugs reports to
        Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here