#include <jack/jack.h>#include <cshellsynth/atomic-types.h>#include <cshellsynth/controller.h>Go to the source code of this file.
Data Structures | |
| struct | cs_inst_t |
Defines | |
| #define | cs_inst_destroy(cs_inst) cs_ctlr_destroy((cs_ctlr_t *) (cs_inst)) |
Functions | |
| int | cs_inst_init (cs_inst_t *self, const char *client_name, jack_options_t flags, char *server_name) |
| void | cs_inst_play (cs_inst_t *self, float value) |
| void | cs_inst_stop (cs_inst_t *self) |
Instrument
Ruby version: Controllers::Instrument
A simple "instrument" interface, to use your quick typing skills to play notes. Mostly useful to test things out.
| #define cs_inst_destroy | ( | cs_inst | ) | cs_ctlr_destroy((cs_ctlr_t *) (cs_inst)) |
Destroy instrument
See cs_ctlr_destroy
| int cs_inst_init | ( | cs_inst_t * | self, | |
| const char * | client_name, | |||
| jack_options_t | flags, | |||
| char * | server_name | |||
| ) |
Initialize instrument
See cs_ctlr_init
| void cs_inst_play | ( | cs_inst_t * | self, | |
| float | value | |||
| ) |
Play a note
Ruby version: play
| value | the note to play. |
| void cs_inst_stop | ( | cs_inst_t * | self | ) |
Stop playing
Ruby version: stop
1.6.3