commit b3f421150d21f2e891ac70c72bb3ab457e91ed85
parent 7b1d324d1ee6b815119a18154d139d76090eba85
Author: fundamental <mark.d.mccurry@gmail.com>
Date: Sun, 15 Mar 2015 01:16:44 -0400
Rtosc: Add More Port Metadata For Stoat
Diffstat:
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/Params/PADnoteParameters.cpp b/src/Params/PADnoteParameters.cpp
@@ -123,7 +123,7 @@ static rtosc::Ports localPorts =
}},
- {"nhr:", rDoc("Returns the harmonic shifts"),
+ {"nhr:", rProp(non-realtime) rDoc("Returns the harmonic shifts"),
NULL, [](const char *, rtosc::RtData &d) {
PADnoteParameters *p = ((PADnoteParameters*)d.obj);
const unsigned n = synth->oscilsize / 2;
@@ -132,7 +132,7 @@ static rtosc::Ports localPorts =
tmp[i] = p->getNhr(i);
d.reply(d.loc, "b", n*sizeof(float), tmp);
delete[] tmp;}},
- {"profile:i", rDoc("UI display of the harmonic profile"),
+ {"profile:i", rProp(non-realtime) rDoc("UI display of the harmonic profile"),
NULL, [](const char *m, rtosc::RtData &d) {
PADnoteParameters *p = ((PADnoteParameters*)d.obj);
const unsigned n = rtosc_argument(m, 0).i;
diff --git a/src/Synth/OscilGen.cpp b/src/Synth/OscilGen.cpp
@@ -97,7 +97,7 @@ static rtosc::Ports localPorts = {
else
mag = rtosc_argument(m,0).i;
}},
- {"base-spectrum:", rDoc("Returns spectrum of base waveshape"),
+ {"base-spectrum:", rProp(non-realtime) rDoc("Returns spectrum of base waveshape"),
NULL, [](const char *, rtosc::RtData &d) {
const unsigned n = synth->oscilsize / 2;
float *spc = new float[n];
@@ -106,7 +106,7 @@ static rtosc::Ports localPorts = {
d.reply(d.loc, "b", n*sizeof(float), spc);
delete[] spc;
}},
- {"base-waveform:", rDoc("Returns base waveshape points"),
+ {"base-waveform:", rProp(non-realtime) rDoc("Returns base waveshape points"),
NULL, [](const char *, rtosc::RtData &d) {
const unsigned n = synth->oscilsize;
float *smps = new float[n];
@@ -115,7 +115,7 @@ static rtosc::Ports localPorts = {
d.reply(d.loc, "b", n*sizeof(float), smps);
delete[] smps;
}},
- {"spectrum:", rDoc("Returns spectrum of waveform"),
+ {"spectrum:", rProp(non-realtime) rDoc("Returns spectrum of waveform"),
NULL, [](const char *, rtosc::RtData &d) {
const unsigned n = synth->oscilsize / 2;
float *spc = new float[n];
@@ -124,7 +124,7 @@ static rtosc::Ports localPorts = {
d.reply(d.loc, "b", n*sizeof(float), spc);
delete[] spc;
}},
- {"waveform:", rDoc("Returns waveform points"),
+ {"waveform:", rProp(non-realtime) rDoc("Returns waveform points"),
NULL, [](const char *, rtosc::RtData &d) {
const unsigned n = synth->oscilsize;
float *smps = new float[n];
@@ -136,7 +136,7 @@ static rtosc::Ports localPorts = {
d.reply(d.loc, "b", n*sizeof(float), smps);
delete[] smps;
}},
- {"prepare:", rDoc("Performs setup operation to oscillator"),
+ {"prepare:", rProp(non-realtime) rDoc("Performs setup operation to oscillator"),
NULL, [](const char *, rtosc::RtData &d) {
//fprintf(stderr, "prepare: got a message from '%s'\n", m);
OscilGen &o = *(OscilGen*)d.obj;
@@ -146,11 +146,11 @@ static rtosc::Ports localPorts = {
d.reply("/forward", "sb", d.loc, sizeof(fft_t*), &data);
o.pendingfreqs = data;
}},
- {"convert2sine:", rDoc("Translates waveform into FS"),
+ {"convert2sine:", rProp(non-realtime) rDoc("Translates waveform into FS"),
NULL, [](const char *, rtosc::RtData &d) {
((OscilGen*)d.obj)->convert2sine();
}},
- {"prepare:b", rProp(internal) rProp(pointer) rDoc("Sets prepared fft data"),
+ {"prepare:b", rProp(internal) rProp(non-realtime) rProp(pointer) rDoc("Sets prepared fft data"),
NULL, [](const char *m, rtosc::RtData &d) {
//fprintf(stderr, "prepare:b got a message from '%s'\n", m);
OscilGen &o = *(OscilGen*)d.obj;