Closed hanshoglund closed 9 years ago
Probably related, I'll have a look.
This works, so the issue is probably in withMeta
.
>>> fmap getAnnotation $ fmap (`atTime` 1) $ ((unwrapMeta $ (asScore s)^.meta) :: Maybe (Reactive Annotation))
Just []
>>> fmap getAnnotation $ fmap (`atTime` (-1)) $ ((unwrapMeta $ (asScore s)^.meta) :: Maybe (Reactive Annotation))
Just []
>>> fmap getAnnotation $ fmap (`atTime` (2)) $ ((unwrapMeta $ (asScore s)^.meta) :: Maybe (Reactive Annotation))
Just []
>>> fmap getAnnotation $ fmap (`atTime` (0.4)) $ ((unwrapMeta $ (asScore s)^.meta) :: Maybe (Reactive Annotation))
Just ["h"]
Is this the problem which causes the fact that this example: https://github.com/music-suite/music-preludes/blob/master/examples/annotatations.hs freezes during execution? Do you have any idea why?