Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] fl graphics on mac + rtaudio

Date2005-12-26 16:39
FromVictor Lazzarini
SubjectRe: [Cs-dev] fl graphics on mac + rtaudio
By the way, why is portaudio not working? Isn't it even
working on the terminal frontend?

This is important as the installer should have placed
everything
ready for portaudio and coreaudio.

Victor

>
> OK Thanks Istvan:
>
> > It is a known limitation of FLTK on OS X that you must
> > run it in the main thread, and it is not safe to access
> > the GUI from other threads at the same time.
>
> well even in the application thread FLTK takes over my
> application's menus and other GUI items -- not too useable
> for me.
>
> > To disable the FLTK graph displays, call
> > csoundSetIsGraphable() with a setting of true between
> > csoundPreCompile() and csoundCompile(), for example:
>
> that worked, thanks [ i wasn't calling precompile ]
>
>
> >   CSOUND *csound = csoundCreate(NULL);
> >   if (csoundPreCompile(csound) != 0)
> >     error();    /* fail in some way */
> >   csoundSetIsGraphable(csound, 1);
> >   /* set your MakeGraph etc. callbacks here if there are
> >   any */ /* ... */
> >   if (csoundCompile(csound, argc, argv) != 0)
> >     error();    /* fail in some way */
> >   /* ... */
> >
> > The FLTK plugin will not register callbacks for drawing
> > graphs if it is already graphable. Note that it will set
> > a yield callback if any FLTK functionality (graphs or
> > opcodes) is used, overriding your yield callback
> > function if there is any.
>
> oh that's another point against FLTK --
> i use Yield to tell csound to quit in the middle of a
> render...
>
>
> i seem to get coreaudio working but not portaudio.
> the internal coreaudio is working fine, except seems to
> not like multiple renders running simultaneously.
>
> i'll probably add my own coreaudio routines in this
> frontend and add it to the cvs in the next couple of
> days..
>
> Matt;
> ________________________
>            matt  ingalls
> http://sonomatics.com
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep
> through log files for problems?  Stop!  Download the new
> AJAX search engine that makes searching your log files as
> easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-12-26 18:54
FromMatt Ingalls
SubjectRe: [Cs-dev] fl graphics on mac + rtaudio
On Dec 26, 2005, at 8:39 AM, Victor Lazzarini wrote:

> By the way, why is portaudio not working? Isn't it even
> working on the terminal frontend?

no.  "module portaudio not found" or something like that.

>
> This is important as the installer should have placed
> everything
> ready for portaudio and coreaudio.

it looks like like portaudio dylib is installed.. where do i look
for the portaudio csound module?

Matt;
________________________
           matt  ingalls
http://sonomatics.com



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-12-26 19:34
FromIstvan Varga
SubjectRe: [Cs-dev] fl graphics on mac + rtaudio
AttachmentsNone