[Csnd] ctrl7 -- why do I need a guard point?
Date | 2019-01-06 01:27 |
From | Pete Goodeve |
Subject | [Csnd] ctrl7 -- why do I need a guard point? |
Attachments | None |
Date | 2019-01-07 08:37 |
From | Oeyvind Brandtsegg |
Subject | Re: [Csnd] ctrl7 -- why do I need a guard point? |
I think ctrl7 does table interpolation, and to make this work correctly for the last value you need the extended guard point in the table. I think you might reproduce the same problem if you use tablei in your example. Den søn. 6. jan. 2019 kl. 02:28 skrev Pete Goodeve <pete.goodeve@computer.org>: I'm doing reverb using 'reverbsc', controlling the level with Oeyvind Brandtsegg Professor of Music Technology NTNU 7491 Trondheim Norway Cell: +47 92 203 205 http://www.partikkelaudio.com/ http://crossadaptive.hf.ntnu.no http://gdsp.hf.ntnu.no/ http://soundcloud.com/brandtsegg http://flyndresang.no/ http://soundcloud.com/t-emp |
Date | 2019-01-07 22:14 |
From | Pete Goodeve |
Subject | Re: [Csnd] ctrl7 -- why do I need a guard point? |
Attachments | None |
Date | 2019-01-08 02:37 |
From | Pete Goodeve |
Subject | Re: [Csnd] ctrl7 -- why do I need a guard point? |
Attachments | None |
Date | 2019-01-08 07:00 |
From | Victor Lazzarini |
Subject | Re: [Csnd] ctrl7 -- why do I need a guard point? |
That is because you are not reading point 16, but point 15. The table opcode will never overflow, it either limits or wraps around. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland > On 8 Jan 2019, at 02:38, Pete Goodeve |
Date | 2019-01-08 22:03 |
From | Pete Goodeve |
Subject | Re: [Csnd] ctrl7 -- why do I need a guard point? |
Attachments | None |
Date | 2019-01-08 22:47 |
From | Victor Lazzarini |
Subject | Re: [Csnd] ctrl7 -- why do I need a guard point? |
There's an iwrap parameter on table that will set wrap around. As for normalisation: tables are rescaled by default, so the abs max value is 1.0; that can be turned off when the table is generated. Indexes can be raw entries (0-15), or normalised (0-1), depending on the imode parameter. In any case, you will not read the guardpoint directly via table. The guardpoint is used in interpolated lookup for an index n where size-1 < n < size I guess with tablei and index 15.9999999 you would be very close to the value of the guardpoint in your case. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland > On 8 Jan 2019, at 22:03, Pete Goodeve |
Date | 2019-01-09 01:56 |
From | Pete Goodeve |
Subject | Re: [Csnd] ctrl7 -- why do I need a guard point? |
Attachments | None |
Date | 2019-01-09 03:56 |
From | pete.goodeve@COMPUTER.ORG |
Subject | Re: [Csnd] ctrl7 -- why do I need a guard point? |
Attachments | None |
Date | 2019-01-09 06:45 |
From | Pete Goodeve |
Subject | Re: [Csnd] ctrl7 -- why do I need a guard point? |
Attachments | None |
Date | 2019-01-09 06:47 |
From | Victor Lazzarini |
Subject | Re: [Csnd] ctrl7 -- why do I need a guard point? |
Well, I don't know why the final example is not being rescaled. I would expect it to be skipped. As for the first example, I think the rescaling must have had some sort of rounding that caused the first point to change. In the second case, I think the extended guard point must be 1.0 as it extends the contour, but the whole curve is rescaled. Having one further point must be the reason why the start now is 0.2. We need to check why rescaling has not been skipped, it could be a bug. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland > On 9 Jan 2019, at 01:57, Pete Goodeve |
Date | 2019-01-09 06:51 |
From | Victor Lazzarini |
Subject | Re: [Csnd] ctrl7 -- why do I need a guard point? |
yes, the index scaling should to 0 - size-1 Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland > On 9 Jan 2019, at 06:45, Pete Goodeve |
Date | 2019-01-09 11:27 |
From | Victor Lazzarini |
Subject | Re: [Csnd] ctrl7 -- why do I need a guard point? |
As it turns out all opcodes related to that one were wrong. There was also no policing of value ranges, which could cause memory access problems. I’ve fixed all of this now in git. Thanks for the report ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 8 Jan 2019, at 02:37, Pete Goodeve |
Date | 2019-01-09 19:47 |
From | pete.goodeve@COMPUTER.ORG |
Subject | Re: [Csnd] ctrl7 -- why do I need a guard point? |
Attachments | None |