[Audacity-nyquist] Partial success with lists, still need some help please
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: David R. S. <sk...@wa...> - 2004-11-22 09:33:27
|
Hi, Still only partial success with the lists. I have defined 32 variables by the user and put them in a list: (setf variables '(ts1 vol1 ts2 vol2 ... ts16 vol16)) and I've been using the following (sig is also defined by the user): (dotimes (i sig) (setf ts (nth (* i 2) variables)) (setf vol (nth (+ 1 (* i 2)) variables))) I want to pass the number assigned to ts1 (and vol1, and then ts2/vol2 etc.) to ts and vol so that I can use ts and vol in a defun. However, it appears that the alphanumeric "ts1" is getting passed to ts, not a numeric value. So I'm partway there, what else do I need to go the rest of the way? I've tried variations of quotes in different locations, with different error results but no numeric function passed to ts. Thanks David -- |