Popularity
2.7
Declining
Activity
0.0
Stable
4
1
1

Monthly Downloads: 8
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.

Do you think we are missing an alternative of sarasvati or a related project?

Add another 'Sound' Package

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 ()