Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:5686] Re: fixed sources for cvs update

Date2005-01-12 04:12
From"Michael Gogins"
Subject[CSOUND-DEV:5686] Re: fixed sources for cvs update
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.

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 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.



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

Date2005-01-12 10:06
FromVictor Lazzarini
Subject[CSOUND-DEV:5688] Re: fixed sources for cvs update
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 

Date2005-01-12 10:50
FromJohn ffitch
Subject[CSOUND-DEV:5689] Re: fixed sources for cvs update
I saw in the libsndfile web page that the latest version has suppoirt for 
loop pointd in both WAV and AIFF.  We need to check up on this.  Inm cs4 
looping was in the aiff code rather explicitely and have wanted to add WAV 
looping for a while.  If I read correctly we can do this now.
==John ff

Date2005-01-12 16:31
Fromsteven yi
Subject[CSOUND-DEV:5690] Re: fixed sources for cvs update
That would be pretty neat!  I looked at the ChangeLog and there was some 
information from 10-31-2004 that seemed relevant:

    * src/sndfile.h.in
    Add SFC_GET_LOOP_INFO and SF_LOOP_INFO struct.

    * src/common.h
    Add SF_LOOP_INFO pointer to SF_PRIVATE.

    * src/wav.c src/aiff.c
    Improve and add parsing of 'ACID' and 'basc' chunks, filling in
    SF_LOOP_INFO data in SF_PRIVATE.


steven


John ffitch wrote:

>I saw in the libsndfile web page that the latest version has suppoirt for 
>loop pointd in both WAV and AIFF.  We need to check up on this.  Inm cs4 
>looping was in the aiff code rather explicitely and have wanted to add WAV 
>looping for a while.  If I read correctly we can do this now.
>==John ff
>
>
>
>  
>