Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: FLTK on Mac

Date2009-01-03 20:25
From"Art Hunkins"
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: FLTK on Mac
How do you see how much CPU is being used on the OLPC, while Csound is 
running in the Terminal?

Art Hunkins

----- Original Message ----- 
From: "victor" 
To: 
Sent: Saturday, January 03, 2009 4:49 AM
Subject: [Csnd] Re: Re: Re: Re: Re: Re: Re: FLTK on Mac


The way to see if -B or -b will work or not is to see how much
CPU % your csound process is taking. If it is always at 100%, then
it will not do to just increase -B and -b, you will need to reduce the SR.
----- Original Message ----- 
From: "Darren Nelsen" 
To: 
Sent: Saturday, January 03, 2009 7:27 AM
Subject: [Csnd] Re: Re: Re: Re: Re: Re: FLTK on Mac


That's what I kinda figured. I've been playing around with -b and -B
and thought I just wasn't doing it right. It's never really worked.
Thought I'd give it another try, but reducing sr makes more sense to
me. That or get a higher-powered computer! :)

Darren

On Jan 3, 2009, at 12:25 AM, Art Hunkins wrote:

> Here are my two cents regarding choppy audio, based on recent  experience 
> with the (low-powered) OLPC:
>
> You can play with -b and -B and ksmps all you want; the only *significant* 
> difference will be made by reducing SR.
>
> Art Hunkins
>
> ----- Original Message ----- From: "Darren Nelsen"  >
> To: 
> Sent: Friday, January 02, 2009 10:09 PM
> 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"
>
>
>
> 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"=



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound" 


Date2009-01-03 22:07
FromDarren Nelsen
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: FLTK on Mac
Activity Monitor ? (/Applications/Utilities/Activity Monitor.app)


On Jan 3, 2009, at 3:25 PM, Art Hunkins wrote:

> How do you see how much CPU is being used on the OLPC, while Csound  
> is running in the Terminal?
>
> Art Hunkins
>
> ----- Original Message ----- From: "victor" 
> To: 
> Sent: Saturday, January 03, 2009 4:49 AM
> Subject: [Csnd] Re: Re: Re: Re: Re: Re: Re: FLTK on Mac
>
>
> The way to see if -B or -b will work or not is to see how much
> CPU % your csound process is taking. If it is always at 100%, then
> it will not do to just increase -B and -b, you will need to reduce  
> the SR.
> ----- Original Message ----- From: "Darren Nelsen"  >
> To: 
> Sent: Saturday, January 03, 2009 7:27 AM
> Subject: [Csnd] Re: Re: Re: Re: Re: Re: FLTK on Mac
>
>
> That's what I kinda figured. I've been playing around with -b and -B
> and thought I just wasn't doing it right. It's never really worked.
> Thought I'd give it another try, but reducing sr makes more sense to
> me. That or get a higher-powered computer! :)
>
> Darren
>
> On Jan 3, 2009, at 12:25 AM, Art Hunkins wrote:
>
>> Here are my two cents regarding choppy audio, based on recent   
>> experience with the (low-powered) OLPC:
>>
>> You can play with -b and -B and ksmps all you want; the only  
>> *significant* difference will be made by reducing SR.
>>
>> Art Hunkins
>>
>> ----- Original Message ----- From: "Darren Nelsen" > >
>> To: 
>> Sent: Friday, January 02, 2009 10:09 PM
>> 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"
>>
>>
>>
>> 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"=
>
>
>
> 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-04 00:35
From"Andres Cabrera"
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: FLTK on Mac
AttachmentsNone