Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] csoundapi~

Date2005-05-15 19:20
FromVictor Lazzarini
SubjectRe: [Cs-dev] csoundapi~
Yes, csoundapi~ just interfaces with PD, not with the
soundcard. In fact I make it impossible for csound to
output to files/soundcard by passing -n to it.

I thought that. Perhaps Gerard has tried it (have you) ?

Victor

>
> I took a hasty glance through your code, and it seems to
> copy spout to PD and spin from PD.
>
> Perhaps the problem with 2 instances playing 1 Csound
> score/orchestra is that the file(s) get(s) locked by the
> first instance? It would be easy to test that by making an
> identical copy of the score/orchestra with a different
> name, and then try running 2 instances in PD.
>
> Regards,
> Mike
>
> -----Original Message-----
> From: Michael Gogins 
> Sent: May 15, 2005 1:39 PM
> To: csound-devel@lists.sourceforge.net
> Subject: Re: [Cs-dev] csoundapi~
>
> If one thread performs multiple instances of Csound, this
> is possible, but it is then necessary for that thread to
> call performKsmps for each instance -- I haven't looked at
> your code. If you're doing that, then there's some other
> problem. Are you feeding audio to PD or putting it
> directly out to the sound card? I think it would work
> better to put it out to PD, the same way CsoundVST copies
> from its output buffer to the plugin audio output buffer.
>
> PS I will go look at your code now...
>
> Regards,
> Mike
>
> -----Original Message-----
> From: Victor Lazzarini 
> Sent: May 15, 2005 1:29 PM
> To: csound-devel@lists.sourceforge.net
> Subject: Re: [Cs-dev] csoundapi~
>
> I suggested that perhaps the fact that Istvan's
> program runs two separate threads is the difference.
>
> Gerard, thanks for testing it.
>
> Victor
>
> >
> >
> > gerard van dongen wrote:
> >
> > > Trying to play 2 instances that both played back
> > > trapped.csd failed.  The  second one would not play
> > back at all.
> >
> > Is this only in PD ? I was able to play two instances of
> > "Trapped" with this simple C program.
> >
> >
> >
> > [Attachment: test.c]
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net