Hello list,

the following script inserts 300 measures into 4 staffs with random
chromatic notes, selects and copies all and then paste everything into
a new movement. The paste part has a timer running. On my laptop it
took 141 seconds to paste, which feels very slow.

I have no comparison, not to my normal, faster, computer and not to the
old variant (both the old scheme variant and the "old" pasteclibobj
with playback) so I don't know if anything changed to faster or even
slower.

But the script is nice to run anyway :)

Nils

(Repeat d-NotationMagick-TwelveToneRow 100)
(d-AddAfter)
(Repeat d-NotationMagick-TwelveToneRow 100)
(d-AddAfter)
(Repeat d-NotationMagick-TwelveToneRow 100)
(d-AddAfter)
(Repeat d-NotationMagick-TwelveToneRow 100) 
(d-SelectAllStaffs)
(d-Copy)
(d-InsertMovementAfter)
(d-MoveToMovementBeginning)
(d-WarningDialog "Pasting begins now")
(define timerstart (car (gettimeofday)))
(d-Paste)
(define timerend (car (gettimeofday)))
(d-WarningDialog (string-append "Pasting took " (number->string (-
timerend timerstart)) " seconds" ))

_______________________________________________
Denemo-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to