| Somethig like
asig in
afollow rms asig
kpan = k(afollow)/0dbfs
al, ar pan2 asig, kpan
might be what you want but you may ned to scale kpan to what ampitudes yu
have. NOT TESTED and I frequently misunderstad the question.
On Sat, 1 Feb 2020, Pablo Moreno wrote:
> Hello, sorry but my knowledge of CSOUND is pretty basic.
>
> I need to create an instrument that follows the envelope of a live input
> (mic-line) and, according to the levels of that envelope, it will pan to the
> left or to the right channel automatically.
>
> I know that there are at least three opcodes that can do that; follow2 or
> RMS and Pan2.
>
> My problem: I don't know how to put or combine everything together.. Any
> help will be much appreciated.
>
> Note: it's okay if the input is only one channel (monophonic).
>
>
>
> --
> Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
>
> 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
>
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 |