denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Denemo-devel] GetOnsetTime bugs


From: Nils Gey
Subject: [Denemo-devel] GetOnsetTime bugs
Date: Sat, 15 Jan 2011 00:36:03 +0100

Hello Richard,

just use the following script. The music has one real bug, one can be
discussed, but I think tied notes should return their own time.
Description in the script itself:

(Blank)
(d-Set2)
(d-InsertC)
(d-InsertD)
(d-InsertQuarterRest)
(d-InsertF)
(d-ToggleTie)
(d-InsertF)
(Repeat d-InsertG 3)
(d-AddAfter)
(d-MoveToBeginning)
(d-InsertC)
(d-InsertD)
(d-InsertE)
(d-InsertF)
(d-InsertF)
(Repeat d-InsertG 3)

(if (not (d-GetOnsetTime))
(d-RecreateTimebase))
(newline)(newline)(newline)
(disp "======== Bug info ========")
(disp "Rests return #f")
(d-GoToPosition 1 1 1 3)
(disp "Rest time: " (d-GetOnsetTime))
(d-GoToPosition 1 2 1 3)
(disp "Note time same position: " (d-GetOnsetTime))
(newline)
(disp "Tied notes create wrong time (returns next note).")
(d-GoToPosition 1 1 2 1)
(disp "Second note from tie " (d-GetOnsetTime))
(d-GoToPosition 1 2 2 1)
(disp "Note time same position: " (d-GetOnsetTime))
(disp "======== Bug info End ========")
(newline)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]