[Csnd] comb doesn't work when in == out
Date | 2011-06-17 22:29 |
From | Mark Van Peteghem |
Subject | [Csnd] comb doesn't work when in == out |
Hi, Just a small remark: it seems that comb doesn't work well if the input signal is the same as the output signal, the output is just 0 (CSound 5.13, doubles). I think the manual should mention that. |
Date | 2011-06-17 23:41 |
From | Victor Lazzarini |
Subject | Re: [Csnd] comb doesn't work when in == out |
Could you give us an example CSD? On 17 Jun 2011, at 22:29, Mark Van Peteghem wrote: > Hi, > > Just a small remark: it seems that comb doesn't work well if the > input signal is the same as the output signal, the output is just 0 > (CSound 5.13, doubles). I think the manual should mention that. > > -- > Mark > _________________________________________ > When you get lemons, you make lemonade. > When you get hardware, you make software. > > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body > "unsubscribe csound" > Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2011-06-18 19:45 |
From | Mark Van Peteghem |
Subject | Re: [Csnd] comb doesn't work when in == out |
Attachments | comb-problem.csd |
Sure, see attachment. Instrument 1 generates sound like expected, instrument 2 generates no sound. Victor Lazzarini wrote: > Could you give us an example CSD? > On 17 Jun 2011, at 22:29, Mark Van Peteghem wrote: > >> Hi, >> >> Just a small remark: it seems that comb doesn't work well if the >> input signal is the same as the output signal, the output is just 0 >> (CSound 5.13, doubles). I think the manual should mention that. >> Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2011-06-18 19:49 |
From | Victor Lazzarini |
Subject | Re: [Csnd] comb doesn't work when in == out |
Thanks, I'll take a look. On 18 Jun 2011, at 19:45, Mark Van Peteghem wrote: > Sure, see attachment. Instrument 1 generates sound like expected, > instrument 2 generates no sound. > > Victor Lazzarini wrote: >> Could you give us an example CSD? >> On 17 Jun 2011, at 22:29, Mark Van Peteghem wrote: >> >>> Hi, >>> >>> Just a small remark: it seems that comb doesn't work well if the >>> input signal is the same as the output signal, the output is just >>> 0 (CSound 5.13, doubles). I think the manual should mention that. >>> > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body > "unsubscribe csound" > > |
Date | 2011-06-18 20:11 |
From | Victor Lazzarini |
Subject | Re: [Csnd] comb doesn't work when in == out |
yeah, typical comb filter code fills the output from delay before reading from input, so if the two are the same, we have a problem. Fixed in GIT. Victor On 18 Jun 2011, at 19:49, Victor Lazzarini wrote: > Thanks, I'll take a look. > On 18 Jun 2011, at 19:45, Mark Van Peteghem wrote: > >> Sure, see attachment. Instrument 1 generates sound like expected, >> instrument 2 generates no sound. >> >> Victor Lazzarini wrote: >>> Could you give us an example CSD? >>> On 17 Jun 2011, at 22:29, Mark Van Peteghem wrote: >>> >>>> Hi, >>>> >>>> Just a small remark: it seems that comb doesn't work well if the >>>> input signal is the same as the output signal, the output is just >>>> 0 (CSound 5.13, doubles). I think the manual should mention that. >>>> >> >> >> Send bugs reports to the Sourceforge bug tracker >> https://sourceforge.net/tracker/?group_id=81968&atid=564599 >> Discussions of bugs and features can be posted here >> To unsubscribe, send email sympa@lists.bath.ac.uk with body >> "unsubscribe csound" >> >> |
Date | 2011-06-19 10:26 |
From | Mark Van Peteghem |
Subject | Re: [Csnd] comb doesn't work when in == out |
Thanks. I thought there was a deeper reason why this is so, like with many pvs opcodes, perhaps for performance reasons, so I would have been happy if it was mentioned in the manual, but this is better. Victor Lazzarini wrote: > yeah, typical comb filter code fills the output from delay before > reading from input, so if the two are the same, we have a problem. > Fixed in GIT. > > Victor > > > On 18 Jun 2011, at 19:49, Victor Lazzarini wrote: > >> Thanks, I'll take a look. >> On 18 Jun 2011, at 19:45, Mark Van Peteghem wrote: >> >>> Sure, see attachment. Instrument 1 generates sound like expected, >>> instrument 2 generates no sound. >>> >>> Victor Lazzarini wrote: >>>> Could you give us an example CSD? >>>> On 17 Jun 2011, at 22:29, Mark Van Peteghem wrote: >>>> >>>>> Hi, >>>>> >>>>> Just a small remark: it seems that comb doesn't work well if the >>>>> input signal is the same as the output signal, the output is just >>>>> 0 (CSound 5.13, doubles). I think the manual should mention that. >>>>> >>> >>> >>> Send bugs reports to the Sourceforge bug tracker >>> https://sourceforge.net/tracker/?group_id=81968&atid=564599 >>> Discussions of bugs and features can be posted here >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body >>> "unsubscribe csound" >>> >>> |
Date | 2011-06-19 11:10 |
From | Victor Lazzarini |
Subject | Re: [Csnd] comb doesn't work when in == out |
No deeper reason, just code that was not written with i/o sharing in mind. Victor On 19 Jun 2011, at 10:26, Mark Van Peteghem wrote: > Thanks. I thought there was a deeper reason why this is so, like > with many pvs opcodes, perhaps for performance reasons, so I would > have been happy if it was mentioned in the manual, but this is better. > > Victor Lazzarini wrote: >> yeah, typical comb filter code fills the output from delay before >> reading from input, so if the two are the same, we have a problem. >> Fixed in GIT. >> >> Victor >> >> >> On 18 Jun 2011, at 19:49, Victor Lazzarini wrote: >> >>> Thanks, I'll take a look. >>> On 18 Jun 2011, at 19:45, Mark Van Peteghem wrote: >>> >>>> Sure, see attachment. Instrument 1 generates sound like expected, >>>> instrument 2 generates no sound. >>>> >>>> Victor Lazzarini wrote: >>>>> Could you give us an example CSD? >>>>> On 17 Jun 2011, at 22:29, Mark Van Peteghem wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> Just a small remark: it seems that comb doesn't work well if >>>>>> the input signal is the same as the output signal, the output >>>>>> is just 0 (CSound 5.13, doubles). I think the manual should >>>>>> mention that. >>>>>> >>>> >>>> >>>> Send bugs reports to the Sourceforge bug tracker >>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599 >>>> Discussions of bugs and features can be posted here >>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body >>>> "unsubscribe csound" >>>> >>>> |