I wrote a sine into a table
Output of modulo / by table length , and mutltipled by 2pi radians .( complete sine )
Then I powered the sine exponent 13 , the table is set to range 0-1 , which is reflected in the table display .
So only the positive part of the cycle is shown (and should be read )°
Reading the table with tabread~ , The osciloscope clearly shows the signal is bipolar , iow the -1 part of the array is also read out .
How is this possible
SO even if the table is restitricted to range 0-1 , it will not cut off the negative portion of -1/+1 wave .
Is this expected behaviour or a bug
I aso noticed that the array in plugdata doesn't show the negative range but pure data vanilla does ,, both arrays are 0,+1 and both output -1,+1
-
Table is read -1/+1 while range is 0 +1
-
-
expected, use
[max~ 0]
in the signal (or the writer) to clip it out.
(or alternatively make the table 1/2 as long/only write 1/2) -
@seb-harmonik.ar
I see , I wrongfully assummed that the table y range automatically disregards the negative parts , while in fact it's just not shown ( in case of plugdata ) but it's still read out .