-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoc.go
25 lines (17 loc) · 1.09 KB
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
GO Binding for CsoundPerformanceThread
This wrapper is still very experimental. It has been tested only on Linux.
It needs a proper installation of Csound with header files in the include path in the csound directory
(e.g. csound/csound.h). libcsound64 and libcsnd6 have to be in the PATH.
You can install this package with go get:
go get github.com/fggp/go-csperfthread
Or you can download a zip archive of the project using the 'Download ZIP' button on the right.
You'll get a zip file named 'go-csperfthread-master.zip'. Decompressing it you'll get a directory named 'go-csperfthread-master'.
Rename this directory to 'go-csperfthread' and move it to '$GOPATH/src/github/fggp'. Enter into
the '$GOPATH/src/github/fggp/go-csperfthread' directory. You can eventually adapt the #cgo directives
in csnd.go to your system. Finally install the package with `go install`.
This wrapper is intended to be used with a double build of Csound.
Go 1.2 is needed for the C++ support of go build
Use examples can be seen here: https://github.com/kunstmusik/csoundAPI_examples/tree/master/go
*/
package csperfthread