tidal 0.3.6 → 0.3.7
raw patch · 2 files changed
+5/−2 lines, 2 files
Files
- Sound/Tidal/Pattern.hs +4/−1
- tidal.cabal +1/−1
Sound/Tidal/Pattern.hs view
@@ -55,7 +55,7 @@ -- | @mappend@ is a synonym for @overlay@. instance Monoid (Pattern a) where mempty = silence- mappend x y = Pattern $ \a -> (arc x a) ++ (arc y a)+ mappend = append instance Monad Pattern where@@ -342,3 +342,6 @@ rand :: Pattern Double rand = Pattern $ \a -> [(a, a, fst $ randomDouble $ pureMT $ floor $ (*1000000) $ (midPoint a))]++irand :: Double -> Pattern Int+irand i = (floor . (*i)) <$> rand
tidal.cabal view
@@ -1,5 +1,5 @@ name: tidal-version: 0.3.6+version: 0.3.7 synopsis: Pattern language for improvised music -- description: homepage: http://yaxu.org/tidal/