On Tue, 11 Jan 2011, Claude Heiland-Allen wrote:
Seems [cos~] only gives expected results between -1024 and 1024. Above 1024 the frequency halves, halving again at 5120, etc. Below -1024 the frequency doubles, until chaos at -3072.
You didn't give as much info as you did on IRC.
We found it to happen at 1*1024, 5*1024, 13*1024, 29*1024, 61*1024.
that's (pow(2,n)-3)*1024 (starts at n=2 and doesn not include the negative point(s)).
http://claudiusmaximus.goto10.org/g/tech/cos~-test.pd.png http://claudiusmaximus.goto10.org/g/tech/cos~-test-2.pd.png http://claudiusmaximus.goto10.org/g/tech/cos~-test-3.pd.png
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC