mniip 2017-03-03 21:45:33
and State is something else,
mniip 2017-03-03 21:45:38
it's for having variables without IO
spatial 2017-03-03 21:47:13
The same patter works for fun :: Map.Map String Int fun = Map.empty
begriffs 2017-03-03 21:47:29
Is there a Haskell library to read audio data from the microphone input of the soundcard?
Squarism 2017-03-03 22:10:27
begriffs, https://wiki.haskell.org/Applications_and_libraries/Music_and_sound
begriffs 2017-03-03 22:14:28
Squarism: hm, none of those seems right.
begriffs 2017-03-03 22:14:44
So far this looks closest https://hackage.haskell.org/package/conduit-audio
begriffs 2017-03-03 22:15:06
But not sure how you connect it to the soundcard
Squarism 2017-03-03 22:15:47
http://hackage.haskell.org/packages/#cat:Sound
Squarism 2017-03-03 22:16:55
Not an expert on this, but doesnt the OS have a notion of "default line in/microphone in"
Rembane 2017-03-03 22:18:02
You can set it with ALSA
begriffs 2017-03-03 22:20:20
I'll look into that, thanks.
halogenandtoast 2017-03-03 22:38:39
If I have a haskell program I've written, but it's dependent on some OS specific binary, is there any way to "bundle" them together?
halogenandtoast 2017-03-03 22:39:24
I do have the source code to the other binary, so I supposed I could convert it into Haskell, but I don't really want to
zomg 2017-03-03 22:44:27
halogenandtoast: at least with libraries you can link them statically
zomg 2017-03-03 22:44:47
but not sure if that'll make it work on OS's the library wasn't designed to work on, same issue most likely with any binaries