Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Improsculpt and Cs5

Date2005-01-21 23:21
FromVictor Lazzarini
SubjectRe: [Cs-dev] Improsculpt and Cs5
The situation regarding cs5 full-duplex is as I undestand
it,
the following:

(a) on windows: it only works well with MME/WDM APIs
My fix will probably allow it to work with ASIO with the
new intermediary buffering. The reason is that MME/WDM
offer input and output on the same physical device as two
separate logical devices, whereas ASIO does not. Csound
currently opens input and output separately, which would
equate to try to open the ASIO device driver twice,
something
not tolerated. I tested my fix and got sound, but the
quality
was only reasonable with certain combinations of ksmps.
With Michael's changes this must have been fixed (remains
to be tested).

(b) on OSX with the CoreAudio API we have the same 
situation as ASIO. So my fix applies here, but for good
quality we need intermediary buffering. Again, this should
have been fixed, but remains to be tested.

(c) on Linux, full-duplex should work, as IO devices either
can be opened twice or are separate as in Windows MME/
WDM. In fact, with the old blocking code, it indeed worked.
I have not tested Michael's changes to callback, but in
theory, this should work (or at least need just simple
fixing).

I am anxious to see this working properly, as I use csound
a lot for transformation. I'm trying to make space next 
week to check all this, but I'm a little hard-pressed with
some course preparations for the fast-approaching semester.

Victor 
> 
> I never tested duplex audio with PortAudio. Victor
> Lazzarini has a fix for it that I have not put in yet. It
> might just possibly work with one device for input and
> another device for output, but it very likely doesn't work
> with the same device for both input and output.
> 
> Even so, I have the same experience as you just trying to
> get a peep out of the thing -- using no input. Perhaps it
> tries to open the input anyway and this causes a thread
> deadlock.
> 
> Original Message:
> -----------------
> From: Dave Phillips dlphilp@bright.net
> Date: Fri, 21 Jan 2005 11:10:56 -0500
> To: csound-devel@lists.sourceforge.net
> Subject: Re: [Cs-dev] Improsculpt and Cs5
> 
> 
> Hi Art:
> 
>   No such opcode, according to 'csound5 -z'. And FLsetVal
> did not work.
> 
>   I now have the GUIs running for both the old and new
> versions of  Improsculpt, but still no audio I/O.
> Incidentally, the CSD will simply  not run if I use '-i
> adcX' or '-i adc:plughw:X', ditto for '-o dac'. The  only
> way I get so far as the GUI is by using '-i devaudio -o
> devaudio'.  :(
> 
> Best,
> 
> dp
> 
> 
> 
> 
> Art Hunkins wrote:
> 
> >Try FLsetVal_i also.
> >
> >Art Hunkins
> >
> >----- Original Message ----- 
> >From: "Dave Phillips" 
> >To: 
> >Sent: Friday, January 21, 2005 9:20 AM
> >Subject: Re: [Cs-dev] Improsculpt and Cs5
> >
> >
> >  
> >
> >>Greetings:
> >>
> >>Sorry, I forgot to mention that I also receive a bunch
> of messages like  >>this one:
> >>
> >>    WARNING (fl_setWidgetValuei): not implemented 
yet;
> exp=1 >>
> >>Which leads me to believe that perhaps FLsetVali isn't
> working as  >>expected by Improsculpt ?
> >>
> >>I'll try replacing it with FLsetVal to see what
> happens... >>
> >>    
> >>
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW --
> Interactive Reporting Tool for open source databases.
> Create drag-&-drop reports. Save time by over 75%! 
Publish
> reports on the web. Export to DOC, XLS, RTF, etc. 
Download
> a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ----------------------------------------------------------
> ---------- mail2web - Check your email from the web at
> http://mail2web.com/ .
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW --
> Interactive Reporting Tool for open source databases.
> Create drag-&-drop reports. Save time by over 75%! 
Publish
> reports on the web. Export to DOC, XLS, RTF, etc. 
Download
> a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net