Csound Csound-dev Csound-tekno Search About

Re: [Csnd] [EXTERNAL] [Csnd] 'linsegr' is not going back to zero

Date2022-12-17 03:51
FromScott Daughtrey
SubjectRe: [Csnd] [EXTERNAL] [Csnd] 'linsegr' is not going back to zero
"Because linsegr does not get to 0, as is the case of linseg and linen. They only get to 0 if the duration of performance is longer than the sum of segments. For
linsegr that can only be achieved by using xtratim alongside it."

Perhaps I'm misunderstanding this. 

Again two images, one of the csd and a waveform display. The linsegr envelope shows 0, .1, .8, 2, .8, .1, 0.

So the length of the segments is a sum of 2.2 seconds. However the score shows a note of shorter duration, only 1.5 seconds - .7 seconds shorter that the applied envelope therefore the duration of performance is less than the sum of segments. And once again the waveform display shows the release section fully reaching 0 at exactly 1.6 seconds as expected, without xtratim. Every sample following 1.6 seconds reports a value of 0. This seems to show that the linsegr in fact reaches 0 without any alterations or the necessity of using xtratim.

https://drive.google.com/file/d/1HjNRks_uTmwy6P5Le5C3lob5vNrYpgaA/view?usp=drivesdk

https://drive.google.com/file/d/1Hp1XbrSm7JnXCkkyPbJq_CZ7F-Utkhdl/view?usp=drivesdk

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

Date2022-12-17 09:39
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] [Csnd] 'linsegr' is not going back to zero
linseg/linen only get to their target value (zero in the case of linen) if their total duration is 1/kr less than p3. 

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 17 Dec 2022, at 03:49, Scott Daughtrey  wrote:
> 
> "Because linsegr does not get to 0, as is the case of linseg and linen. They only get to 0 if the duration of performance is longer than the sum of segments. For
> linsegr that can only be achieved by using xtratim alongside it."
> 
> Perhaps I'm misunderstanding this. 
> 
> Again two images, one of the csd and a waveform display. The linsegr envelope shows 0, .1, .8, 2, .8, .1, 0.
> 
> So the length of the segments is a sum of 2.2 seconds. However the score shows a note of shorter duration, only 1.5 seconds - .7 seconds shorter that the applied envelope therefore the duration of performance is less than the sum of segments. And once again the waveform display shows the release section fully reaching 0 at exactly 1.6 seconds as expected, without xtratim. Every sample following 1.6 seconds reports a value of 0. This seems to show that the linsegr in fact reaches 0 without any alterations or the necessity of using xtratim.
> 
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F1HjNRks_uTmwy6P5Le5C3lob5vNrYpgaA%2Fview%3Fusp%3Ddrivesdk&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Cfbcd65e7305447b2000608dadfe1a175%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638068457450689372%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=H6xxO%2FS1Ycoch0RRNRUvliyFzcpgX%2BVgKMzv%2BCtAk9k%3D&reserved=0
> 
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F1Hp1XbrSm7JnXCkkyPbJq_CZ7F-Utkhdl%2Fview%3Fusp%3Ddrivesdk&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Cfbcd65e7305447b2000608dadfe1a175%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638068457450689372%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=I4Lb%2FUY6vk%2BKmHcnDEwSEL8aXgizlt9%2FeDdZiJPITJg%3D&reserved=0
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Cfbcd65e7305447b2000608dadfe1a175%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638068457450689372%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=auwBrwD%2FkoVP%2FMoVyOJ43JvYGhp3PDkMmimGuOg9DEY%3D&reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Cfbcd65e7305447b2000608dadfe1a175%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638068457450689372%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zdHa8QnppuEXtEgx9lkIPwkWPh3JsfpykYIuYHQvRKU%3D&reserved=0
> 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