diff --git a/src/Temporal/Music/Score.hs b/src/Temporal/Music/Score.hs
--- a/src/Temporal/Music/Score.hs
+++ b/src/Temporal/Music/Score.hs
@@ -171,7 +171,7 @@
 -- | Analog of 'replicate' function for scores. Replicated
 -- scores are played sequentially.
 loop :: Int -> Score a -> Score a
-loop = M.loop 
+loop = M.loopBy
 
 -- | After this transformation events last longer
 -- by some constant amount of time.
@@ -295,11 +295,11 @@
 withAccent f = tmapRel $ \(Event s d c) -> accent' c (f s)
     where accent' v a = mapVolume (\v -> v{ volumeAccent = a }) v 
 
--- | 'withAccentSeg' lifts function 'linfun' to dynamics level
+-- | 'envelopeSeg' lifts function 'linfun' to dynamics level
 withAccentSeg :: (VolumeLike a) => [Double] -> Score a -> Score a
 withAccentSeg xs = withAccent $ (linfun xs)
 
--- | 'withAccentRel' lifts function 'linfunRel' to dynamics level
+-- | 'envelopeRel' lifts function 'linfunRel' to dynamics level
 withAccentRel :: (VolumeLike a) => [Accent] -> Score a -> Score a
 withAccentRel xs a = withAccent (linfunRel 1 xs) a
 
diff --git a/temporal-music-notation.cabal b/temporal-music-notation.cabal
--- a/temporal-music-notation.cabal
+++ b/temporal-music-notation.cabal
@@ -1,5 +1,5 @@
 Name:          temporal-music-notation
-Version:       0.4.0
+Version:       0.4.1
 Cabal-Version: >= 1.6
 License-file:  LICENSE
 License:       BSD3
@@ -23,7 +23,7 @@
   Build-Depends:
         base >= 4, base < 5,
         vector >= 0.7, data-default,
-        temporal-media >= 0.4.0
+        temporal-media >= 0.6.0
   Hs-Source-Dirs:      src/
   Exposed-Modules:
         Temporal.Music
