Hello everyone!
Just joined, awesome forum!
Anyway, here’s my conundrum:
I’m trying to build a synth that triggers its envelope each time an audio signal passes over a certain threshold, in my search I stumbled upon triglinseg a relatively new opcode (2021) that does exactly that, the only problem is: it doesn’t work
It appears in the help section but csound gives an “unexpected T_IDENT” error, which I guess it’s supposed to mean that the opcode doesn’t exist?
Funny thing is, not even the example patch found in the manual works.
Is there a way I can fix this? Do I have to install something or is there an alternative to triglinseg that accomplishes what I need?
Odd, I just tried here and I also get the same problem. Btw, there is a typo in the manual, it should be triglinseg, all lower case, but even with this it still doesn’t seem to be recognised.
p.s. I just tried on my Mac and it’s recognised and works fine. Are you on windows by any chance?
Hello Rory,
Triglinseg is very useful opcode. Thank you for developing it!
I tried some basic codes and got an odd results.
The code below works fine when ksmps=1. However the output of triglinseg is very low when ksmps<>1 (16, 32, etc). Could you please check what is happening here?
I’m trying the code on MacOS(Intel) with Csound version 6.18.