Hi everyone,
I am a little confused by the documentation and examples of the hilbert opcode:http://www.csounds.com/manual/html/hilbert.html
The doc states:
“ar1, ar2 hilbert asig
ar1 – sine output of asig
ar2 – cosine output of asig”
But one paragraph later:
"ar1 corresponds to the cosine output of hilbert, while ar2 corresponds to the sine output. “
Then later in the first example:
; aupshift corresponds to the sum frequencies.
aupshift = (amod1 - amod2) * 0.7
; adownshift corresponds to the difference frequencies.
adownshift = (amod1 + amod2) * 0.7
In the second example it is the other way around:
aupshift = (amod1 + amod2) * 0.7
adownshift = (amod1 - amod2) * 0.7
Cheers
Max