Popularity
2.9
Declining
Activity
0.0
Stable
4
1
1
Monthly Downloads: 4
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags:
Sound
Multimedia
sarasvati alternatives and similar packages
Based on the "Sound" category.
Alternatively, view sarasvati alternatives based on common mentions on social networks and blogs.
Get performance insights in less than 4 minutes
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Sponsored
scoutapm.com
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of sarasvati or a related project?
README
Sarasvati
Sarasvati is an audio library with portaudio.
Instration
Install portaudio for your PC
if you use linux, see http://portaudio.com/docs/v19-doxydocs/compile_linux.html
Install this library from code
$ cabal configure
$ cabal install
Or from hackage
$ cabal install sarasvati
Sample
module Main where
import Sound.Sarasvati
sinl :: [Float]
sinl = take 100000 . map sin $ [0.0, 0.1..]
squl :: [Float]
squl = take 100000 $ cycle (replicate 300 (-1) ++ replicate 300 1)
main :: IO ()
main = do
sarasvatiOutput defaultConfig $ zip sinl sinl
sarasvatiOutput defaultConfig $ zip squl squl
return ()