Package maintainers and Hackage trustees are allowed to edit certain bits
of package metadata after a release, without uploading a new tarball.
Note that the tarball itself is never changed, just the metadata that is
stored separately. For more information about metadata revisions, please
refer to the
Hackage Metadata Revisions FAQ.
No. |
Time |
User |
SHA256 |
-r2 (vivid-0.2.0.2-r2) |
2016-12-30T09:14:40Z |
HerbertValerioRiedel |
60047c62d7dea922b050a6c667a1e114a257c8f3fcafe7417d4ab66c4368f2fe
|
|
|
-r1 (vivid-0.2.0.2-r1) |
2016-03-19T17:28:13Z |
TomMurphy |
225d6c35f98f29a91b8423e6893d607567475d4059c95b1ddb398b600ee10bee
|
|
Changed description
from Music and sound synthesis with SuperCollider.
Example usage:
@
{-\# LANGUAGE DataKinds \#-}
@
> import Vivid
>
> theSound = sd (0 ::I "note") $ do
> wobble <- sinOsc (freq_ 5) ? KR ~* 10 ~+ 10
> s <- 0.1 ~* sinOsc (freq_ $ midiCPS (V::V "note") ~+ wobble)
> out 0 [s,s]
>
> playSong = do
> fork $ do
> s0 <- synth theSound (36 ::I "note")
> wait 1
> free s0
> s1 <- synth theSound (60 ::I "note")
> forM_ [62,66,64] $ \note -> do
> wait (1/4)
> set s1 (note ::I "note")
> wait (1/4)
> free s1
>
> main = do
> putStrLn "Simplest:"
> playSong
>
> putStrLn "With precise timing:"
> doScheduledIn 0.1 playSong
> wait 1
>
> putStrLn "Written to a file, non-realtime synthesis:"
> putStrLn "(Need to quit the running server for NRT)"
> quitSCServer
> writeNRT "/tmp/song.wav" playSong
to Music and sound synthesis with SuperCollider.
Example usage:
@
{-\# LANGUAGE DataKinds \#-}
@
> import Vivid
>
> theSound = sd (0 ::I "note") $ do
> wobble <- sinOsc (freq_ 5) ? KR ~* 10 ~+ 10
> s <- 0.1 ~* sinOsc (freq_ $ midiCPS (V::V "note") ~+ wobble)
> out 0 [s,s]
>
> playSong = do
> fork $ do
> s0 <- synth theSound (36 ::I "note")
> wait 1
> free s0
> s1 <- synth theSound (60 ::I "note")
> forM_ [62,66,64] $ \note -> do
> wait (1/4)
> set s1 (note ::I "note")
> wait (1/4)
> free s1
>
> main = do
> putStrLn "Simplest:"
> playSong
>
> putStrLn "With precise timing:"
> doScheduledIn 0.1 playSong
> wait 1
>
> putStrLn "Written to a file, non-realtime synthesis:"
> putStrLn "(Need to quit the running server for NRT)"
> quitSCServer
> writeNRT "/tmp/song.wav" playSong
|
-r0 (vivid-0.2.0.2-r0) |
2016-03-19T17:01:00Z |
TomMurphy |
1af1db048301cadc6f0e4d8750e31aa13bbdf6ce90e6cb9a9f1ff067bc1ff283
|
|
|