| On Thu, Apr 7, 2016 at 3:37 PM, Richard wrote:
> Interesting idea. I wonder how you intend to use this?
> I'm a process control engineer in my day job, BTW.
Thanks for the response.
I'm an "aspiring" control engineer, but along the way I have dropped
my iron in a few fires (embedded systems, software/hardware testing,
systems engineering). :-)
> As you know, in a traditional PID controller the output tries to correct the
> difference between the actual (measured) value and the setpoint.
> This process takes some time, usually in the order of seconds, depending on
> the p, i and d parameters...
Right, this is exactly what we're studying/refining in my class. In
part I'm just curious what the parameters and possible performance
characteristics (settling time, etc.) might look like, and whether the
model applies (as I imagine it) to the digital audio domain.
As for what I intend to use this for, it's an open-ended, explorative
interest... at this stage I just want to be able to play with the
capability in whatever audio context may strike my fancy. Having
audio-based implementations of math models has been very helpful to my
general understanding in the past, and often gives me new things to
try in the composition/musical domain.
Indirectly, this is inspired somewhat by the cybernetic compositions
of Roland Kayn, which -- I assume, but don't know -- probably
implemented similar structures in analog synth hardware.
> Just brainstorming how and where this could be applied in Csound:
> pitch detection,
> FM synthesis,
> filtering,
> delay lines,
Just the kinds of things I have in mind. Controlling the parameters of
synthesis or a filter of any kind; or timing of reinit, delay, or
other timed events, etc. Also, if a physical transducer of some kind
were introduced to the feedback loop, things could get very
interesting/complex!
Initially I figured I'd just try to cobble something together to
control the pitch of an oscil, but then, as a proof-of-concept, I
decided to take a step back and just output arbitrary k- or a-rate
values to see how they looked. As I said, I haven't had great success
yet.
As I mentioned earlier, I'm not exactly clear on what the diff opcode
does under the hood, so maybe I need to dive into the csound source
and investigate that.
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |