Csound Csound-dev Csound-tekno Search About

[Csnd] FLTK on Mac

Date2009-01-02 02:54
FromDarren Nelsen
Subject[Csnd] FLTK on Mac
I'm new to FLTK. It looks promising for creating cross-platform  
realtime Csound interfaces.

Problem on Mac...

When I launch a csd file (from Terminal) with FLTK components, I  
cannot get focus on the FLTK windows to move them, bring them to  
front, close, etc. If I switch to another app, I cannot switch back  
and I have to move all other app windows out of the way to get back to  
the FLTK windows.

Can someone say what is going on with this, and is there a way to make  
FLTK behave nicely with the OS (or vice versa)? I'm using OS X 10.5.6

Thanks!

--
Darren Nelsen
http://www.curiomusic.com


Date2009-01-02 03:23
From"Hector Centeno"
Subject[Csnd] Re: FLTK on Mac
AttachmentsNone  

Date2009-01-02 23:59
Fromjoachim
Subject[Csnd] Re: FLTK on Mac
I'd recommend to use qutecsound (developed by Andres Cabrera) instead  
of the FLTK interface for creating cross-platform realtime interfaces.  
As far as I see, one main problem with FLTK on the Mac is that it runs  
in the same thread as the Csound engine. So you'll have dropouts when  
your .csd is not too simple. qutecsound allows to run the Csound  
engine in a seperate thread. And, in my experience, it's much nicer to  
use.
	joachim



Am 02.01.2009 um 03:54 schrieb Darren Nelsen:

> I'm new to FLTK. It looks promising for creating cross-platform  
> realtime Csound interfaces.
>
> Problem on Mac...
>
> When I launch a csd file (from Terminal) with FLTK components, I  
> cannot get focus on the FLTK windows to move them, bring them to  
> front, close, etc. If I switch to another app, I cannot switch back  
> and I have to move all other app windows out of the way to get back  
> to the FLTK windows.
>
> Can someone say what is going on with this, and is there a way to  
> make FLTK behave nicely with the OS (or vice versa)? I'm using OS X  
> 10.5.6
>
> Thanks!
>
> --
> Darren Nelsen
> http://www.curiomusic.com
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"


Date2009-01-03 00:46
From"Andres Cabrera"
Subject[Csnd] Re: Re: FLTK on Mac
AttachmentsNone  

Date2009-01-03 02:44
FromDarren Nelsen
Subject[Csnd] Re: Re: FLTK on Mac
I understand there's QuteCsound and blue, which I'm very happy to play  
with (indeed I'm playing with all of them), but FLTK seemed more  
'native' and I wanted to see if I could get it to work. Seems to work  
well for my purpose except for this issue. In QuteCsound, actually, I  
get a lot of choppy audio even when running Csound in a separate  
thread. Don't know what that's about, but the same thing happens with  
blue. Anyway, I think I've gotten enough now to answer my question.  
Thanks much!

Darren

On Jan 2, 2009, at 6:59 PM, joachim wrote:

> I'd recommend to use qutecsound (developed by Andres Cabrera)  
> instead of the FLTK interface for creating cross-platform realtime  
> interfaces. As far as I see, one main problem with FLTK on the Mac  
> is that it runs in the same thread as the Csound engine. So you'll  
> have dropouts when your .csd is not too simple. qutecsound allows to  
> run the Csound engine in a seperate thread. And, in my experience,  
> it's much nicer to use.
> 	joachim
>
>
>
> Am 02.01.2009 um 03:54 schrieb Darren Nelsen:
>
>> I'm new to FLTK. It looks promising for creating cross-platform  
>> realtime Csound interfaces.
>>
>> Problem on Mac...
>>
>> When I launch a csd file (from Terminal) with FLTK components, I  
>> cannot get focus on the FLTK windows to move them, bring them to  
>> front, close, etc. If I switch to another app, I cannot switch back  
>> and I have to move all other app windows out of the way to get back  
>> to the FLTK windows.
>>
>> Can someone say what is going on with this, and is there a way to  
>> make FLTK behave nicely with the OS (or vice versa)? I'm using OS X  
>> 10.5.6
>>
>> Thanks!
>>
>> --
>> Darren Nelsen
>> http://www.curiomusic.com
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>


Date2009-01-03 02:47
FromDarren Nelsen
Subject[Csnd] Re: Re: Re: FLTK on Mac
Thanks much. I'm playing with the latest QuteCsound now in addition to  
my FLTK experiments. :) Congrats on introducing a new Csound tool! I  
always welcome that! Looking forward to working with QC and watching  
it evolve.

Darren

On Jan 2, 2009, at 7:46 PM, Andres Cabrera wrote:

> Hi,
>
> I was hesitant to recommend myself =). I think depending on how Csound
> is built, FLTK can run in a separate thread, but maybe there was a
> problem with this on OS X, so it's built to run in the same thread.
>
> QuteCsound can be found here:
> http://qutecsound.sourceforge.net
>
> (yes, the record button in the screenshot is a new feature in svn =) )
>
> Cheers,
> Andrés
>
> On Fri, Jan 2, 2009 at 6:59 PM, joachim  wrote:
>> I'd recommend to use qutecsound (developed by Andres Cabrera)  
>> instead of the
>> FLTK interface for creating cross-platform realtime interfaces. As  
>> far as I
>> see, one main problem with FLTK on the Mac is that it runs in the  
>> same
>> thread as the Csound engine. So you'll have dropouts when your .csd  
>> is not
>> too simple. qutecsound allows to run the Csound engine in a  
>> seperate thread.
>> And, in my experience, it's much nicer to use.
>>       joachim
>>
>>
>>
>> Am 02.01.2009 um 03:54 schrieb Darren Nelsen:
>>
>>> I'm new to FLTK. It looks promising for creating cross-platform  
>>> realtime
>>> Csound interfaces.
>>>
>>> Problem on Mac...
>>>
>>> When I launch a csd file (from Terminal) with FLTK components, I  
>>> cannot
>>> get focus on the FLTK windows to move them, bring them to front,  
>>> close, etc.
>>> If I switch to another app, I cannot switch back and I have to  
>>> move all
>>> other app windows out of the way to get back to the FLTK windows.
>>>
>>> Can someone say what is going on with this, and is there a way to  
>>> make
>>> FLTK behave nicely with the OS (or vice versa)? I'm using OS X  
>>> 10.5.6
>>>
>>> Thanks!
>>>
>>> --
>>> Darren Nelsen
>>> http://www.curiomusic.com
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>> "unsubscribe
>>> csound"
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe
>> csound"
>>
>
>
>
> -- 
>
>
> Andrés
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"



Date2009-01-03 02:52
From"Andres Cabrera"
Subject[Csnd] Re: Re: Re: FLTK on Mac
AttachmentsNone  

Date2009-01-03 03:09
FromDarren Nelsen
Subject[Csnd] Re: Re: Re: Re: FLTK on Mac
I will play with that. Thanks.

Darren

On Jan 2, 2009, at 9:52 PM, Andres Cabrera wrote:

> Hi,
>
> If you're getting choppy audio in QuteCsound, you can tweak performace
> by increasing ksmps, and trying different combinations of -b and -B
> flags.
>
> Cheers,
> Andrés
>
> On Fri, Jan 2, 2009 at 9:44 PM, Darren Nelsen  
>  wrote:
>> I understand there's QuteCsound and blue, which I'm very happy to  
>> play with
>> (indeed I'm playing with all of them), but FLTK seemed more  
>> 'native' and I
>> wanted to see if I could get it to work. Seems to work well for my  
>> purpose
>> except for this issue. In QuteCsound, actually, I get a lot of  
>> choppy audio
>> even when running Csound in a separate thread. Don't know what  
>> that's about,
>> but the same thing happens with blue. Anyway, I think I've gotten  
>> enough now
>> to answer my question. Thanks much!
>>
>> Darren
>>
>> On Jan 2, 2009, at 6:59 PM, joachim wrote:
>>
>>> I'd recommend to use qutecsound (developed by Andres Cabrera)  
>>> instead of
>>> the FLTK interface for creating cross-platform realtime  
>>> interfaces. As far
>>> as I see, one main problem with FLTK on the Mac is that it runs in  
>>> the same
>>> thread as the Csound engine. So you'll have dropouts when  
>>> your .csd is not
>>> too simple. qutecsound allows to run the Csound engine in a  
>>> seperate thread.
>>> And, in my experience, it's much nicer to use.
>>>       joachim
>>>
>>>
>>>
>>> Am 02.01.2009 um 03:54 schrieb Darren Nelsen:
>>>
>>>> I'm new to FLTK. It looks promising for creating cross-platform  
>>>> realtime
>>>> Csound interfaces.
>>>>
>>>> Problem on Mac...
>>>>
>>>> When I launch a csd file (from Terminal) with FLTK components, I  
>>>> cannot
>>>> get focus on the FLTK windows to move them, bring them to front,  
>>>> close, etc.
>>>> If I switch to another app, I cannot switch back and I have to  
>>>> move all
>>>> other app windows out of the way to get back to the FLTK windows.
>>>>
>>>> Can someone say what is going on with this, and is there a way to  
>>>> make
>>>> FLTK behave nicely with the OS (or vice versa)? I'm using OS X  
>>>> 10.5.6
>>>>
>>>> Thanks!
>>>>
>>>> --
>>>> Darren Nelsen
>>>> http://www.curiomusic.com
>>>>
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>>> "unsubscribe
>>>> csound"
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>> "unsubscribe
>>> csound"
>>>
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe
>> csound"
>>
>
>
>
> -- 
>
>
> Andrés
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"