hsc3-process 0.9.0 → 0.10.0
raw patch · 2 files changed
+13/−8 lines, 2 filesdep ~hoscdep ~hsc3dep ~hsc3-process
Dependency ranges changed: hosc, hsc3, hsc3-process
Files
- examples/nrt.hs +2/−3
- hsc3-process.cabal +11/−5
examples/nrt.hs view
@@ -1,7 +1,6 @@ import Control.Monad (forM_) import Data.Default (def)-import Sound.OpenSoundControl (bundle)-import Sound.OSC.FD (Time(NTPr))+import Sound.OSC (bundle) import Sound.SC3.FD import Sound.SC3.Server.Process @@ -11,7 +10,7 @@ freq = control KR "freq" 440 score :: Double -> NRT-score freq = NRT $ map (\(t, ms) -> bundle (NTPr t) ms) $ [+score freq = NRT $ map (\(t, ms) -> bundle t ms) $ [ (0, [ d_recv (synthdef "sine" sine) ]) , (0, [ s_new "sine" 1 AddToTail 0 [ ("freq", freq) ] ]) , (10, [ n_free [ 1 ] ])
hsc3-process.cabal view
@@ -1,5 +1,5 @@ Name: hsc3-process-Version: 0.9.0+Version: 0.10.0 Synopsis: Create and control scsynth processes Description: This library allows to create and control scsynth processes.@@ -32,8 +32,8 @@ , data-default >= 0.5 , directory , filepath- , hosc >= 0.13- , hsc3 >= 0.13+ , hosc >= 0.14+ , hsc3 >= 0.14 , process >= 1.0 , time , time-compat@@ -54,7 +54,10 @@ Buildable: False Build-Depends: base >= 4.3 && < 5- , hsc3-process >= 0.8+ , data-default >= 0.5+ , hosc >= 0.14+ , hsc3 >= 0.14+ , hsc3-process >= 0.10 Ghc-Options: -Wall -rtsopts -threaded @@ -67,6 +70,9 @@ Buildable: False Build-Depends: base >= 4.3 && < 5- , hsc3-process >= 0.8+ , data-default >= 0.5+ , hosc >= 0.14+ , hsc3 >= 0.14+ , hsc3-process >= 0.10 Ghc-Options: -Wall -rtsopts -threaded