packages feed

temporal-csound 0.2.0 → 0.2.1

raw patch · 2 files changed

+8/−8 lines, 2 filesdep ~csound-expression

Dependency ranges changed: csound-expression

Files

src/Csound.hs view
@@ -11,21 +11,21 @@ -- -- * 'Temporal.Music.Score.temp' -- makes a score of one note that lasts for one second.     ----- * 'Temporal.Music.Score.line' -- plays a list of notes in sequence (one after the other).+-- * 'Temporal.Music.Score.mel' -- plays a list of notes in sequence (one after the other, short for @melody@). -- --- * 'Temporal.Music.Score.chord' -- plays a list of notes in parallel (at the same time).+-- * 'Temporal.Music.Score.har' -- plays a list of notes in parallel (at the same time, short for @harmony@). ----- * 'Temporal.Music.Score.delay' -- delays all notes for some time.+-- * 'Temporal.Music.Score.del' -- delays all notes for some time (short for @delay@). ----- * 'Temporal.Music.Score.stretch' -- change the tempo for all notes by the given ratio.+-- * 'Temporal.Music.Score.str' -- change the tempo for all notes by the given ratio (short for @stretch@). -- -- Let's play something: ----- > res = stretch 0.5 $ line [ temp a, stretch 2 $ temp b, rest 1, chord [temp a, temp b] ]+-- > res = str 0.5 $ mel [ temp a, str 2 $ temp b, rest 1, har [temp a, temp b] ] -- -- There are two handy infix operators for delay and stretch: @(+|)@ and @(*|)@. So we can write the previous score: ----- > res = 0.5 *| line [ temp a, 2 *| temp b, 1 +| chord [temp a, temp b] ]+-- > res = 0.5 *| mel [ temp a, 2 *| temp b, 1 +| har [temp a, temp b] ] module Csound (     {-     -- * Converters
temporal-csound.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                temporal-csound-version:             0.2.0+version:             0.2.1 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.4, csound-expression>=3.0.0 , temporal-media >= 0.4+  build-depends:       base >= 4, base < 5, temporal-music-notation>=0.4, csound-expression>=3.1.0 , temporal-media >= 0.4