Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Tied filters

Date2023-06-23 18:34
FromMenno Knevel
SubjectRe: [Csnd] Tied filters
Hi Scott,
that does indeed help a lot. That what i get when staring at the code for too long! Thanks!

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

Date2023-06-24 00:33
FromST Music
SubjectRe: [Csnd] Tied filters
Hi Menno,
   glad that helped. I can't explain why, but I have noticed that if you want an expon env with tied notes, as opposed to say linseg, then transeg will work accurately where the others (expon/expeg) don't seem to.

So for example: 

kfrq transeg p6, idur, 2, p7

i2 7.692307692307693 -1.5384615385 1.0 .80  14000  500
i2 9.615384615384615 -1.5384615385 0.7 .83    500  .
i2 11.538461538461538 -1.5384615385 2.7 .76
i2 13.46153846153846 1.5384615385 1.5 .70

will create an expon freq env which drops from 14000 to 500 on the first note & remain at 500 Hz for the duration of the tied notes.

I was recently working on this for my own monosynth instr, referencing the Csound Journal article: 

I found the process a little (very...) convoluted; I also wanted a more gated sequencer type instr that could also create legato lines & a smoothly modulating filter freq so I opted for a trigger instr passing some local and global variables finding it a far simpler approach (notes in table or array vs score) although there are pros & cons to it. Here's an example: 

But if you're using Blue then it's probably a moot point.

Cheers,
Scott



On Fri, Jun 23, 2023, 1:34 p.m. Menno Knevel <magknevel@gmail.com> wrote:
Hi Scott,
that does indeed help a lot. That what i get when staring at the code for too long! Thanks!

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