commit 8aa78f5f79e83e2b03998d2de76f532d545f3334
parent ac451cbd554714cc95a778517d307e3900287077
Author: fundamental <[email protected]>
Date: Sun, 9 Dec 2018 21:56:17 -0500
Pad Synth: Add missing export2wav OSC API
Should resolve https://sourceforge.net/p/zynaddsubfx/bugs/183/
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/Params/PADnoteParameters.cpp b/src/Params/PADnoteParameters.cpp
@@ -285,6 +285,11 @@ static const rtosc::Ports non_realtime_ports =
d.replyArray(d.loc, types, args);
#undef RES
}},
+ {"export2wav:s", rDoc("Export padsynth waveforms to .wav files"),
+ NULL, [](const char *m, rtosc::RtData&d) {
+ PADnoteParameters *p = ((PADnoteParameters*)d.obj);
+ p->export2wav(rtosc_argument(m, 0).s);
+ }},
{"needPrepare:", rDoc("Unimplemented Stub"),
NULL, [](const char *, rtosc::RtData&) {}},
};