| At 04:12 12/01/2005, you wrote:
>I've incorporated your fixes in Csound 5 CVS.
>
>Yes there are dropouts. They are worse with some sound card and Csound
>parameters and better with other parameters. But the general principle
>that -B doesn't have to equal ksmps now is the case. Nevertheless that still
>works best and minimizes dropouts. I think we may need to change to
>another scheme for synchronizing with the PortAudio callback -- use a FIFO
>to enqueue audio and only use the mutex when the FIFO gets too full.
I can try a few things here. I'll let you know how I'm getting on.
>There's also a problem with stopping Csound and being able to restart it.
>On my PC, once I kill Csound, I can run it again, but I get no sound the
>second time. This used to work.
I don't seem to have that problem. It crashes but the sound does not get
cut the second time.
>I decided to try running improsculpt again with your diskin fixes. The
>samples appear to be reading properly as I could see the wavetables
>filling up. But I still don't hear anything.
>
>Improsculpt will need, obviously, full duplex audio. We also need to
>really fix the stopping/starting problem.
Full-duplex works with Non-ASIO cards and your old pa_blocking code, no
problem whatsoever. All you
need is to build portaudio the supporting MME/WDM APIs.
Perhaps the problem with improsculpt is with loscil and looping. From what
I saw in the sources, looping
is not implemented yet in GEN01. I can have a look at that.
I also have to check the opcode in and -i with soundfiles. I had fixed it,
but the fixes might not have
been added to the cvs sources (as soundin, diskin hadn't).
Victor
>----- Original Message ----- From: "Victor Lazzarini"
>
>To:
>Sent: Tuesday, January 11, 2005 11:38 AM
>Subject: fixed sources for cvs update
>
>
>>Dear Michael,
>>
>>here's the fixed sources for fgens.c, libsnd_u.c, libsnd.c
>>and diskin.c. Can you update csound5 CVS for me?
>>
>>Thanks
>>
>>Victor Lazzarini
>>Music Technology Laboratory
>>Music Department
>>National University of Ireland, Maynooth
Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth |