This provides a simple opcode for extracting the sample points of cue markers from a supported file type, such as wav. Up to 100 cue points per file are supported as governed by the underlying libsndfile default maximum. The cue points are presented as samples, so to determine the point in seconds, that should be divided by the sample rate of the file.
- Cmake >= 2.8.12
- Csound with development headers >= 6.14.0
- libsndfile
Create a build directory at the top of the source tree, execute cmake .., make and optionally make install as root. If the latter is not used/possible then the resulting library can be used with the --opcode-lib flag in Csound.
eg:
mkdir build && cd build
cmake ..
make && sudo make install
Cmake should find Csound and any other required libraries using the modules in the cmake/Modules directory and installation should be as simple as above.
An example is provided in the examples directory.
Description