temporal-csound 0.1.2 → 0.2.0
raw patch · 2 files changed
+6/−4 lines, 2 filesdep ~csound-expressiondep ~temporal-mediadep ~temporal-music-notation
Dependency ranges changed: csound-expression, temporal-media, temporal-music-notation
Files
- src/Csound.hs +4/−2
- temporal-csound.cabal +2/−2
src/Csound.hs view
@@ -41,14 +41,16 @@ module Csound.Base ) where -import Temporal.Music +import Temporal.Music hiding (delay, event, line, chord) import Temporal.Media(Track) import Csound.Base +import qualified Temporal.Music as T+ instance CsdSco (Track Double) where toCsdEventList x = CsdEventList (dur x) (fmap toEvt $ render x) where toEvt a = (eventStart a, eventDur a, eventContent a)- singleCsdEvent start dt a = delay start $ stretch dt $ temp a+ singleCsdEvent (start, dt, a) = del start $ str dt $ temp a {- -- | Plays some notes with Csound instrument.
temporal-csound.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: temporal-csound-version: 0.1.2+version: 0.2.0 synopsis: brings together temporal-music-notation and csound-expression packages -- description: license: BSD3@@ -29,4 +29,4 @@ exposed-modules: Csound -- other-modules: - build-depends: base >= 4, base < 5, temporal-music-notation>=0.2.2, csound-expression>=1.1.1, temporal-media >= 0.3.2+ build-depends: base >= 4, base < 5, temporal-music-notation>=0.4, csound-expression>=3.0.0 , temporal-media >= 0.4