MCPcopy Create free account
hub / github.com/csound/csound / csoundModuleInit_ampmidid

Function csoundModuleInit_ampmidid

Opcodes/ampmidid.cpp:153–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151
152extern "C" {
153 PUBLIC int csoundModuleInit_ampmidid(CSOUND *csound) {
154 int status = csound->AppendOpcode(
155 csound, (char *)"ampmidid.k", sizeof(KAMPMIDID), 0, 3, (char *)"k",
156 (char *)"kio",
157 (int (*)(CSOUND *, void *))KAMPMIDID::init_,
158 (int (*)(CSOUND *, void *))KAMPMIDID::kontrol_,
159 (int (*)(CSOUND *, void *))0);
160 status |= csound->AppendOpcode(
161 csound, (char *)"ampmidid.i", sizeof(IAMPMIDID), 0, 1, (char *)"i",
162 (char *)"iio",
163 (int (*)(CSOUND *, void *))IAMPMIDID::init_,
164 (int (*)(CSOUND *, void *))0,
165 (int (*)(CSOUND *, void *))0);
166 status |= csound->AppendOpcode(csound, (char *)"ampmidid", 0xffff, 0, 0, 0, 0,
167 0, 0, 0);
168 status = csound->AppendOpcode(
169 csound, (char *)"ampmidicurve.k", sizeof(AMPMIDICURVE), 0, 3, (char *)"k",
170 (char *)"kkk",
171 (int (*)(CSOUND *, void *))AMPMIDICURVE::init_,
172 (int (*)(CSOUND *, void *))AMPMIDICURVE::kontrol_,
173 (int (*)(CSOUND *, void *))0);
174 status |= csound->AppendOpcode(
175 csound, (char *)"ampmidicurve.i", sizeof(AMPMIDICURVE), 0, 1, (char *)"i",
176 (char *)"iii",
177 (int (*)(CSOUND *, void *))AMPMIDICURVE::init_,
178 (int (*)(CSOUND *, void *))0,
179 (int (*)(CSOUND *, void *))0);
180 status |= csound->AppendOpcode(csound, (char *)"ampmidicurve", 0xffff, 0, 0, 0, 0,
181 0, 0, 0);
182 return status;
183 }
184
185#ifndef INIT_STATIC_MODULES
186 PUBLIC int csoundModuleCreate(CSOUND *csound) {

Callers 2

csoundModuleInitFunction · 0.85
init_static_modulesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected