XML Feeds

.

[jitter] jit.gencoord scaling factor

Joshua Kit Clayton jkc at musork.com
Thu Oct 11 21:55:54 MDT 2007


On Oct 11, 2007, at 7:58 PM, (())_n wrote:

> Hi. I am having some problems with jit.gencoord. It seems that the  
> scaling factor of 1. in float32 the output will approach 1.0 (how  
> close depending on the dim you set) but never quite get there. to  
> get to 1.0 you have to find the magic number above 1. (case of 50  
> use scaling 1.020408). Is this what is to be expected of jit.gencoord?

Thanks for the report. We can fix in a future release to behave as  
you expect, but for the time being you can use jit.expr @expr norm[0]  
norm[0]

-Joshua

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 111 260 157 196617 jit.expr @expr norm[0] norm[1];
#P button 111 191 15 0;
#P newex 111 339 58 196617 print close;
#P newex 111 311 41 196617 jit.iter;
#P newex 111 220 130 196617 jit.matrix 2 float32 50 50;
#P connect 4 0 1 0;
#P connect 0 0 4 0;
#P connect 3 0 0 0;
#P connect 1 0 2 0;
#P window clipboard copycount 5;



More information about the jitter mailing list