Search found 2 matches

by Matramath
Sun Feb 21, 2010 4:47 am
Forum: Common Lisp
Topic: conditionnal loop output
Replies: 4
Views: 4491

Re: conditionnal loop output

Thanks alot for all these information. I will continue to work on it. You where right about music. I want to remove repetitive note from a list and keep 1 : the position in milliseconde of the first note 2 : the note value 3 : calculate the total duration of the new note (add all the duration value ...
by Matramath
Sat Feb 20, 2010 7:43 pm
Forum: Common Lisp
Topic: conditionnal loop output
Replies: 4
Views: 4491

conditionnal loop output

Hi, I'm newbie in commonlisp. I did not figure out how to collect (or output) in my loop only in the "else do" section. (defun make-duration (listpitch) ; remove duplication and add duration (setf at (first (first listpitch))) (setf nt (second (first listpitch))) (setf dur 0) (loop for (a ...