[CM] range and period-length

Johannes Quint johannes.quint@web.de
Mon, 14 Aug 2006 15:27:46 +0200


Am 14.08.2006 um 14:05 schrieb Rick Taube:

> im sorry, im not understanding -- what should the pattern look  
> like? what is 'pyx'?
> best,
> rick


oh excuse me, pyx is a macro,
(pyx 11 7 9 8 8 9 8 11 7 12) means (new cycle :of '(11 7 9 8 8 9 8 11  
7 12))

my problem perhaps more clearly explained:

when i have

(new range
       :initially 10
       :stepping (new cycle :of (list (new cycle :of 1 :for 3)(new  
cycle :of -1 :for 6)))
       :for (new cycle :of '(3 6))))

then the period-length correlates with the down- and up-direction:

(next x t)
=> 10 11 12
=> 13 12 11 10 9 8
=> 7 8 9
etc.

but when i define

(new range
       :initially 10
       :stepping (new heap :of (list (new cycle :of 1 :for 3)(new  
cycle :of -1 :for 6)))
)

i don't know how to get the same correlation.

i hope this was less abstruse..., johannes



_________________________

Johannes Quint
Rilkestr.55
D-53225 Bonn
0228 468256
johannes.quint@web.de
http://www.johannes-quint.de