Jeanette_C
(Jeanette C.)
August 29, 2021, 9:02am
1
Hey hey,
the triggered linseg and expseg opcodes have a name inconsistency and slight mismatch in the manual.
The manual describes the two is "triglinseg" and "trigexpseg", which is whas I would expect. Having had errors with those, I ran csound -z and found:
trigLinseg and trigExpseg .
Either one could be changed to match the other, but I'd personally wish the manual to be correct with the all lowercase spelling.
Best wishes,
Jeanette
What does the manual example use?
rory
(Rory Walsh)
August 29, 2021, 9:24am
3
I think lowercase is the way to go for these. I can fix this and make a PR
who’s the author?
Prof. Victor Lazzarini
Maynooth University
Ireland
Jeanette_C
(Jeanette C.)
August 29, 2021, 9:49am
5
Aug 29 2021, Victor Lazzarini has written:
What does the manual example use?
It uses the capitalised version:
aEnv trigLinseg kTrig, 0, .2, 1, .2, .5, .2, .7, .2, 0
...
Best wiishes,
Jeanette
So if we change this now we might break people's code.
joachim
(joachim heintz)
August 29, 2021, 10:57am
8
i think it is very recent code and as jeanette mentioned it is written in lowercase in the manual:
https://csound.com/docs/manual/indexframes.html
or having an alias trigExpseg -> trigexpseg?
rory
(Rory Walsh)
August 29, 2021, 10:57am
9
The manual is wrong I think. Should be lower case.
Well the manual differs from the manual example, so I don’t know.
rory
(Rory Walsh)
August 29, 2021, 12:01pm
11
My bad, I think changing the opcodes to lowercase is a good idea. These aren’t on the wild long…
john
(john)
August 29, 2021, 12:09pm
12
Could just have both, as is done with Butterworth filters
Sent from TypeApp
rory
(Rory Walsh)
August 29, 2021, 3:54pm
13
That’s also possible. Whatever you think is best. I went be able to anything until tomorrow.
best solution.
Prof. Victor Lazzarini
Maynooth University
Ireland