I have no problem creating ~80MB files using sox (-0.0.1). Just
playback hangs after a while. I also believe it's a windows-sox
problem.
I agree absolutely that a portable solution would be much better.
Currently I am happy that DirectSound works, but I will take a look at
PortAudio again for
On Fri, Apr 24, 2009 at 11:13 AM, Henning Thielemann <
lemm...@henning-thielemann.de> wrote:
If playback with
> DirectSound works, that's fine. But it's not portable, right? Thus,
> getting something out of PortAudio would be better.
Yes, that's right. The plan is to put the DirectSound library
On Thu, 23 Apr 2009, Daniel van den Eijkel wrote:
> Using sox to write files works without problems, so I did not try it with
> forkIO. But
> playback still stops after 414917 values. I will take a look at DirectSound
> now.
Can Sox play large files at all? Can it play from a pipe? Maybe the
Using sox to write files works without problems, so I did not try it
with forkIO. But playback still stops after 414917 values. I will take
a look at DirectSound now.
import Sound.Sox.Option.Format as Option
import Sound.Sox.Write
import Sound.Sox.Signal.List
import Data.Int
import qualified D
Daniel van den Eijkel schrieb:
> Using forkIO makes no difference. I tried the following code (and some
> variations) but the program still hangs after ca. 40sec at a sampling
> rate11025 and ca. 10 sec at 44100. Maybe I'm doing something wrong. But
> now I need a break before the next attempt, c