Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: Re: Re: Re: Mac and CsOptions

Date2010-03-30 15:25
From"vallste@libero.it"
Subject[Csnd] Re: Re: Re: Re: Re: Re: Mac and CsOptions
Thank you Dr. Lazzarini!
What I do not understand is why increasing software and hardware buffers make 
it sound worst?
This does not make sense in my stupid brain...

Stefano

>----Messaggio originale----
>Da: Victor.Lazzarini@nuim.ie
>Data: 30/03/2010 15.48
>A: 
>Ogg: [Csnd] Re:  Re:  Re: Re: Re: Mac and CsOptions
>
>I think the problem is that on the Mac the updating of FLTK controls  
>is expensive, so your 'time' bar slider is messing it up. I have
>commented  this line out and it works alright then.
>
>;FLsetVal 1, kpoint, gihPosition
>
>Maybe you can change the position a bit more slowly
>
>ktimes init 0
>ktimes = ktimes + 1
>if ktimes== 100 then
>FLsetVal 1, kpoint, gihPosition
>ktimes = 0
>endif
>
>Regards
>Victor
>
>
>
>On 30 Mar 2010, at 14:27, vallste@libero.it wrote:
>
>> Victor,
>> it's normal, buttons are only for status indication to have it play  
>> these are
>> the main keyboard buttons (do not use the mouse):
>> Enter -  Play Stop
>> Spacebar - Pause/Unpause
>> Numbers 0 to 9 (not from the numerical pad, the ones above the  
>> letters - sorry
>> for my English!) - mute unmute the tracks
>> L - activate/deactivate loop mode
>>
>> Please test it again and report the results
>> Thank YOU!
>> Stafano
>>
>>
>>> ----Messaggio originale----
>>> Da: Victor.Lazzarini@nuim.ie
>>> Data: 30/03/2010 15.12
>>> A: 
>>> Ogg: [Csnd] Re:  Re: Re: Mac and CsOptions
>>>
>>> I am trying to run your CSD here but it does not seem to do anything
>>> when I click on the buttons. I have substituted the
>>> filenames for ones that I have here, but the FLTK gui does not seem  
>>> to
>>> trigger any events.
>>>
>>> Victor
>>> On 30 Mar 2010, at 08:12, vallste@libero.it wrote:
>>>
>>>> Good morning list,
>>>> find attached the multitrack player I'm developing (based on one of
>>>> the Iain
>>>> McCurdy's examples), it'made to be controlled with keyboard (for
>>>> blind guys)
>>>> and to play 10 different files of the same lenght (ftables 1 to 10).
>>>> What it's driving me mad is that I'm able to use it with Windows
>>>> (csound 5.09
>>>> - Csound Gui and commandline) and Linux (csound 5.12 compiled from
>>>> CVS -
>>>> commandline), while a friend of mine with a Mac (csound 5.12 -
>>>> QuteCsound) has
>>>> very very bad audio output with a -b64 -B512, increasing -b and -B
>>>> the audio
>>>> get worst, with -b256 -B1024 the output is mute.
>>>>
>>>> Any testing and feedback will be really appeciated
>>>>
>>>> Ciao, Stefano
>>>>
>>>>> ----Messaggio originale----
>>>>> Da: Victor.Lazzarini@nuim.ie
>>>>> Data: 28/03/2010 22.08
>>>>> A: 
>>>>> Ogg: [Csnd] Re: Mac and CsOptions
>>>>>
>>>>> I would leave -+rtaudio=coreaudio out; portaudio is probably better
>>>>> now on later OSX versions.
>>>>>
>>>>> so just
>>>>>
>>>>> -odac  --nodisplays
>>>>>
>>>>>
>>>>> and possibly
>>>>>
>>>>> -b64 -B128
>>>>>
>>>>>
>>>>> Victor
>>>>>
>>>>> On 28 Mar 2010, at 20:02, vallste@libero.it wrote:
>>>>>
>>>>>> Hello List,
>>>>>> a very basic question, the "minimum" CsOptions for a realtime  
>>>>>> csd on
>>>>>> a Mac
>>>>>> (with 5.12 and QuteCsound) could be this (I can't find any info on
>>>>>> the
>>>>>> manual... no idea on the rt module)?
>>>>>>
>>>>>> 
>>>>>> -+rtaudio=CoreAudio
>>>>>> -odac
>>>>>> --nodisplays
>>>>>>
>>>>>> 
>>>>>>
>>>>>> Sorry for the request but I've to send a csd to a guy using a Mac
>>>>>> (no external
>>>>>> audio interface), and I can't test it since I've got no Mac!
>>>>>>
>>>>>> Ciao
>>>>>>
>>>>>> Stefano
>>>>>>
>>>>>>
>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>          https://sourceforge.net/tracker/?
>>>>>> group_id=81968&atid=564599
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe csound"
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>          https://sourceforge.net/tracker/? 
>>>>> group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>> csound"
>>>>>
>>>>>
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>           https://sourceforge.net/tracker/? 
>>>> group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>> "unsubscribe csound"
>>>>
>>>> 
>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>> "unsubscribe
>> csound"
>>>
>>>
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>>
>
>
>
>Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>Discussions of bugs and features can be posted here
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound"
>
>




Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-03-30 16:11
FromVictor Lazzarini
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Mac and CsOptions
The problem is that the computer is maxing out CPU cycles trying to  
drawn and keep track of the GUI. Increasing the buffer does not really  
do anything, because all it achieves is to fill in a larger buffer  
slowly and too late for RT output. In this case, smaller buffers get  
half-filled and sent to the DAC with lots of drop outs. Or something  
like this.
The Mac implementation of the FLTK opcodes differs from Windows and  
Linux in the fact that the GUI is not run on a separate thread. The  
updating of GUI elements pays a penalty for that. Besides god knows  
whether the FLTK lib itself is efficient on OSX.

Regards

Victor


On 30 Mar 2010, at 15:25, vallste@libero.it wrote:

> Thank you Dr. Lazzarini!
> What I do not understand is why increasing software and hardware  
> buffers make
> it sound worst?
> This does not make sense in my stupid brain...
>
> Stefano
>
>> ----Messaggio originale----
>> Da: Victor.Lazzarini@nuim.ie
>> Data: 30/03/2010 15.48
>> A: 
>> Ogg: [Csnd] Re:  Re:  Re: Re: Re: Mac and CsOptions
>>
>> I think the problem is that on the Mac the updating of FLTK controls
>> is expensive, so your 'time' bar slider is messing it up. I have
>> commented  this line out and it works alright then.
>>
>> ;FLsetVal 1, kpoint, gihPosition
>>
>> Maybe you can change the position a bit more slowly
>>
>> ktimes init 0
>> ktimes = ktimes + 1
>> if ktimes== 100 then
>> FLsetVal 1, kpoint, gihPosition
>> ktimes = 0
>> endif
>>
>> Regards
>> Victor
>>
>>
>>
>> On 30 Mar 2010, at 14:27, vallste@libero.it wrote:
>>
>>> Victor,
>>> it's normal, buttons are only for status indication to have it play
>>> these are
>>> the main keyboard buttons (do not use the mouse):
>>> Enter -  Play Stop
>>> Spacebar - Pause/Unpause
>>> Numbers 0 to 9 (not from the numerical pad, the ones above the
>>> letters - sorry
>>> for my English!) - mute unmute the tracks
>>> L - activate/deactivate loop mode
>>>
>>> Please test it again and report the results
>>> Thank YOU!
>>> Stafano
>>>
>>>
>>>> ----Messaggio originale----
>>>> Da: Victor.Lazzarini@nuim.ie
>>>> Data: 30/03/2010 15.12
>>>> A: 
>>>> Ogg: [Csnd] Re:  Re: Re: Mac and CsOptions
>>>>
>>>> I am trying to run your CSD here but it does not seem to do  
>>>> anything
>>>> when I click on the buttons. I have substituted the
>>>> filenames for ones that I have here, but the FLTK gui does not seem
>>>> to
>>>> trigger any events.
>>>>
>>>> Victor
>>>> On 30 Mar 2010, at 08:12, vallste@libero.it wrote:
>>>>
>>>>> Good morning list,
>>>>> find attached the multitrack player I'm developing (based on one  
>>>>> of
>>>>> the Iain
>>>>> McCurdy's examples), it'made to be controlled with keyboard (for
>>>>> blind guys)
>>>>> and to play 10 different files of the same lenght (ftables 1 to  
>>>>> 10).
>>>>> What it's driving me mad is that I'm able to use it with Windows
>>>>> (csound 5.09
>>>>> - Csound Gui and commandline) and Linux (csound 5.12 compiled from
>>>>> CVS -
>>>>> commandline), while a friend of mine with a Mac (csound 5.12 -
>>>>> QuteCsound) has
>>>>> very very bad audio output with a -b64 -B512, increasing -b and -B
>>>>> the audio
>>>>> get worst, with -b256 -B1024 the output is mute.
>>>>>
>>>>> Any testing and feedback will be really appeciated
>>>>>
>>>>> Ciao, Stefano
>>>>>
>>>>>> ----Messaggio originale----
>>>>>> Da: Victor.Lazzarini@nuim.ie
>>>>>> Data: 28/03/2010 22.08
>>>>>> A: 
>>>>>> Ogg: [Csnd] Re: Mac and CsOptions
>>>>>>
>>>>>> I would leave -+rtaudio=coreaudio out; portaudio is probably  
>>>>>> better
>>>>>> now on later OSX versions.
>>>>>>
>>>>>> so just
>>>>>>
>>>>>> -odac  --nodisplays
>>>>>>
>>>>>>
>>>>>> and possibly
>>>>>>
>>>>>> -b64 -B128
>>>>>>
>>>>>>
>>>>>> Victor
>>>>>>
>>>>>> On 28 Mar 2010, at 20:02, vallste@libero.it wrote:
>>>>>>
>>>>>>> Hello List,
>>>>>>> a very basic question, the "minimum" CsOptions for a realtime
>>>>>>> csd on
>>>>>>> a Mac
>>>>>>> (with 5.12 and QuteCsound) could be this (I can't find any  
>>>>>>> info on
>>>>>>> the
>>>>>>> manual... no idea on the rt module)?
>>>>>>>
>>>>>>> 
>>>>>>> -+rtaudio=CoreAudio
>>>>>>> -odac
>>>>>>> --nodisplays
>>>>>>>
>>>>>>> 
>>>>>>>
>>>>>>> Sorry for the request but I've to send a csd to a guy using a  
>>>>>>> Mac
>>>>>>> (no external
>>>>>>> audio interface), and I can't test it since I've got no Mac!
>>>>>>>
>>>>>>> Ciao
>>>>>>>
>>>>>>> Stefano
>>>>>>>
>>>>>>>
>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>         https://sourceforge.net/tracker/?
>>>>>>> group_id=81968&atid=564599
>>>>>>> Discussions of bugs and features can be posted here
>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>> "unsubscribe csound"
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>         https://sourceforge.net/tracker/?
>>>>>> group_id=81968&atid=564599
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>> csound"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>          https://sourceforge.net/tracker/?
>>>>> group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe csound"
>>>>>
>>>>> 
>>>>
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>          https://sourceforge.net/tracker/? 
>>>> group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>> "unsubscribe
>>> csound"
>>>>
>>>>
>>>
>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>           https://sourceforge.net/tracker/? 
>>> group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>> "unsubscribe csound"
>>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe
> csound"
>>
>>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-03-30 16:15
FromPeiman Khosravi
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Mac and CsOptions
Actually I had this problem on windows as well (with csound 4) I don't  
know if anything has changed since then.

I would avoid fltk opcodes and stick to either QuteCsound or max/pd GUI.

Best,

Peiman

On 30 Mar 2010, at 16:11, Victor Lazzarini wrote:

> The problem is that the computer is maxing out CPU cycles trying to  
> drawn and keep track of the GUI. Increasing the buffer does not  
> really do anything, because all it achieves is to fill in a larger  
> buffer slowly and too late for RT output. In this case, smaller  
> buffers get half-filled and sent to the DAC with lots of drop outs.  
> Or something like this.
> The Mac implementation of the FLTK opcodes differs from Windows and  
> Linux in the fact that the GUI is not run on a separate thread. The  
> updating of GUI elements pays a penalty for that. Besides god knows  
> whether the FLTK lib itself is efficient on OSX.
>
> Regards
>
> Victor
>
>
> On 30 Mar 2010, at 15:25, vallste@libero.it wrote:
>
>> Thank you Dr. Lazzarini!
>> What I do not understand is why increasing software and hardware  
>> buffers make
>> it sound worst?
>> This does not make sense in my stupid brain...
>>
>> Stefano
>>
>>> ----Messaggio originale----
>>> Da: Victor.Lazzarini@nuim.ie
>>> Data: 30/03/2010 15.48
>>> A: 
>>> Ogg: [Csnd] Re:  Re:  Re: Re: Re: Mac and CsOptions
>>>
>>> I think the problem is that on the Mac the updating of FLTK controls
>>> is expensive, so your 'time' bar slider is messing it up. I have
>>> commented  this line out and it works alright then.
>>>
>>> ;FLsetVal 1, kpoint, gihPosition
>>>
>>> Maybe you can change the position a bit more slowly
>>>
>>> ktimes init 0
>>> ktimes = ktimes + 1
>>> if ktimes== 100 then
>>> FLsetVal 1, kpoint, gihPosition
>>> ktimes = 0
>>> endif
>>>
>>> Regards
>>> Victor
>>>
>>>
>>>
>>> On 30 Mar 2010, at 14:27, vallste@libero.it wrote:
>>>
>>>> Victor,
>>>> it's normal, buttons are only for status indication to have it play
>>>> these are
>>>> the main keyboard buttons (do not use the mouse):
>>>> Enter -  Play Stop
>>>> Spacebar - Pause/Unpause
>>>> Numbers 0 to 9 (not from the numerical pad, the ones above the
>>>> letters - sorry
>>>> for my English!) - mute unmute the tracks
>>>> L - activate/deactivate loop mode
>>>>
>>>> Please test it again and report the results
>>>> Thank YOU!
>>>> Stafano
>>>>
>>>>
>>>>> ----Messaggio originale----
>>>>> Da: Victor.Lazzarini@nuim.ie
>>>>> Data: 30/03/2010 15.12
>>>>> A: 
>>>>> Ogg: [Csnd] Re:  Re: Re: Mac and CsOptions
>>>>>
>>>>> I am trying to run your CSD here but it does not seem to do  
>>>>> anything
>>>>> when I click on the buttons. I have substituted the
>>>>> filenames for ones that I have here, but the FLTK gui does not  
>>>>> seem
>>>>> to
>>>>> trigger any events.
>>>>>
>>>>> Victor
>>>>> On 30 Mar 2010, at 08:12, vallste@libero.it wrote:
>>>>>
>>>>>> Good morning list,
>>>>>> find attached the multitrack player I'm developing (based on  
>>>>>> one of
>>>>>> the Iain
>>>>>> McCurdy's examples), it'made to be controlled with keyboard (for
>>>>>> blind guys)
>>>>>> and to play 10 different files of the same lenght (ftables 1 to  
>>>>>> 10).
>>>>>> What it's driving me mad is that I'm able to use it with Windows
>>>>>> (csound 5.09
>>>>>> - Csound Gui and commandline) and Linux (csound 5.12 compiled  
>>>>>> from
>>>>>> CVS -
>>>>>> commandline), while a friend of mine with a Mac (csound 5.12 -
>>>>>> QuteCsound) has
>>>>>> very very bad audio output with a -b64 -B512, increasing -b and  
>>>>>> -B
>>>>>> the audio
>>>>>> get worst, with -b256 -B1024 the output is mute.
>>>>>>
>>>>>> Any testing and feedback will be really appeciated
>>>>>>
>>>>>> Ciao, Stefano
>>>>>>
>>>>>>> ----Messaggio originale----
>>>>>>> Da: Victor.Lazzarini@nuim.ie
>>>>>>> Data: 28/03/2010 22.08
>>>>>>> A: 
>>>>>>> Ogg: [Csnd] Re: Mac and CsOptions
>>>>>>>
>>>>>>> I would leave -+rtaudio=coreaudio out; portaudio is probably  
>>>>>>> better
>>>>>>> now on later OSX versions.
>>>>>>>
>>>>>>> so just
>>>>>>>
>>>>>>> -odac  --nodisplays
>>>>>>>
>>>>>>>
>>>>>>> and possibly
>>>>>>>
>>>>>>> -b64 -B128
>>>>>>>
>>>>>>>
>>>>>>> Victor
>>>>>>>
>>>>>>> On 28 Mar 2010, at 20:02, vallste@libero.it wrote:
>>>>>>>
>>>>>>>> Hello List,
>>>>>>>> a very basic question, the "minimum" CsOptions for a realtime
>>>>>>>> csd on
>>>>>>>> a Mac
>>>>>>>> (with 5.12 and QuteCsound) could be this (I can't find any  
>>>>>>>> info on
>>>>>>>> the
>>>>>>>> manual... no idea on the rt module)?
>>>>>>>>
>>>>>>>> 
>>>>>>>> -+rtaudio=CoreAudio
>>>>>>>> -odac
>>>>>>>> --nodisplays
>>>>>>>>
>>>>>>>> 
>>>>>>>>
>>>>>>>> Sorry for the request but I've to send a csd to a guy using a  
>>>>>>>> Mac
>>>>>>>> (no external
>>>>>>>> audio interface), and I can't test it since I've got no Mac!
>>>>>>>>
>>>>>>>> Ciao
>>>>>>>>
>>>>>>>> Stefano
>>>>>>>>
>>>>>>>>
>>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>>        https://sourceforge.net/tracker/?
>>>>>>>> group_id=81968&atid=564599
>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>>> "unsubscribe csound"
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>        https://sourceforge.net/tracker/?
>>>>>>> group_id=81968&atid=564599
>>>>>>> Discussions of bugs and features can be posted here
>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>> "unsubscribe
>>>>>> csound"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>         https://sourceforge.net/tracker/?
>>>>>> group_id=81968&atid=564599
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe csound"
>>>>>>
>>>>>> 
>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>         https://sourceforge.net/tracker/? 
>>>>> group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>> csound"
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>          https://sourceforge.net/tracker/? 
>>>> group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>> "unsubscribe csound"
>>>>
>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>          https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>> "unsubscribe
>> csound"
>>>
>>>
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-03-30 16:26
From"Dr. Richard Boulanger"
Subject[Csnd] Re: Mac and CsOptions
It would be really great to have a QuteCsound version of this "type"   
instrument in the examples/useful menu - a remixer instrument.

On Mar 30, 2010, at 11:15 AM, Peiman Khosravi wrote:

> Actually I had this problem on windows as well (with csound 4) I  
> don't know if anything has changed since then.
>
> I would avoid fltk opcodes and stick to either QuteCsound or max/pd  
> GUI.
>
> Best,
>
> Peiman
>
> On 30 Mar 2010, at 16:11, Victor Lazzarini wrote:
>
>> The problem is that the computer is maxing out CPU cycles trying to  
>> drawn and keep track of the GUI. Increasing the buffer does not  
>> really do anything, because all it achieves is to fill in a larger  
>> buffer slowly and too late for RT output. In this case, smaller  
>> buffers get half-filled and sent to the DAC with lots of drop outs.  
>> Or something like this.
>> The Mac implementation of the FLTK opcodes differs from Windows and  
>> Linux in the fact that the GUI is not run on a separate thread. The  
>> updating of GUI elements pays a penalty for that. Besides god knows  
>> whether the FLTK lib itself is efficient on OSX.
>>
>> Regards
>>
>> Victor
>>
>>
>> On 30 Mar 2010, at 15:25, vallste@libero.it wrote:
>>
>>> Thank you Dr. Lazzarini!
>>> What I do not understand is why increasing software and hardware  
>>> buffers make
>>> it sound worst?
>>> This does not make sense in my stupid brain...
>>>
>>> Stefano
>>>
>>>> ----Messaggio originale----
>>>> Da: Victor.Lazzarini@nuim.ie
>>>> Data: 30/03/2010 15.48
>>>> A: 
>>>> Ogg: [Csnd] Re:  Re:  Re: Re: Re: Mac and CsOptions
>>>>
>>>> I think the problem is that on the Mac the updating of FLTK  
>>>> controls
>>>> is expensive, so your 'time' bar slider is messing it up. I have
>>>> commented  this line out and it works alright then.
>>>>
>>>> ;FLsetVal 1, kpoint, gihPosition
>>>>
>>>> Maybe you can change the position a bit more slowly
>>>>
>>>> ktimes init 0
>>>> ktimes = ktimes + 1
>>>> if ktimes== 100 then
>>>> FLsetVal 1, kpoint, gihPosition
>>>> ktimes = 0
>>>> endif
>>>>
>>>> Regards
>>>> Victor
>>>>
>>>>
>>>>
>>>> On 30 Mar 2010, at 14:27, vallste@libero.it wrote:
>>>>
>>>>> Victor,
>>>>> it's normal, buttons are only for status indication to have it  
>>>>> play
>>>>> these are
>>>>> the main keyboard buttons (do not use the mouse):
>>>>> Enter -  Play Stop
>>>>> Spacebar - Pause/Unpause
>>>>> Numbers 0 to 9 (not from the numerical pad, the ones above the
>>>>> letters - sorry
>>>>> for my English!) - mute unmute the tracks
>>>>> L - activate/deactivate loop mode
>>>>>
>>>>> Please test it again and report the results
>>>>> Thank YOU!
>>>>> Stafano
>>>>>
>>>>>
>>>>>> ----Messaggio originale----
>>>>>> Da: Victor.Lazzarini@nuim.ie
>>>>>> Data: 30/03/2010 15.12
>>>>>> A: 
>>>>>> Ogg: [Csnd] Re:  Re: Re: Mac and CsOptions
>>>>>>
>>>>>> I am trying to run your CSD here but it does not seem to do  
>>>>>> anything
>>>>>> when I click on the buttons. I have substituted the
>>>>>> filenames for ones that I have here, but the FLTK gui does not  
>>>>>> seem
>>>>>> to
>>>>>> trigger any events.
>>>>>>
>>>>>> Victor
>>>>>> On 30 Mar 2010, at 08:12, vallste@libero.it wrote:
>>>>>>
>>>>>>> Good morning list,
>>>>>>> find attached the multitrack player I'm developing (based on  
>>>>>>> one of
>>>>>>> the Iain
>>>>>>> McCurdy's examples), it'made to be controlled with keyboard (for
>>>>>>> blind guys)
>>>>>>> and to play 10 different files of the same lenght (ftables 1  
>>>>>>> to 10).
>>>>>>> What it's driving me mad is that I'm able to use it with Windows
>>>>>>> (csound 5.09
>>>>>>> - Csound Gui and commandline) and Linux (csound 5.12 compiled  
>>>>>>> from
>>>>>>> CVS -
>>>>>>> commandline), while a friend of mine with a Mac (csound 5.12 -
>>>>>>> QuteCsound) has
>>>>>>> very very bad audio output with a -b64 -B512, increasing -b  
>>>>>>> and -B
>>>>>>> the audio
>>>>>>> get worst, with -b256 -B1024 the output is mute.
>>>>>>>
>>>>>>> Any testing and feedback will be really appeciated
>>>>>>>
>>>>>>> Ciao, Stefano
>>>>>>>
>>>>>>>> ----Messaggio originale----
>>>>>>>> Da: Victor.Lazzarini@nuim.ie
>>>>>>>> Data: 28/03/2010 22.08
>>>>>>>> A: 
>>>>>>>> Ogg: [Csnd] Re: Mac and CsOptions
>>>>>>>>
>>>>>>>> I would leave -+rtaudio=coreaudio out; portaudio is probably  
>>>>>>>> better
>>>>>>>> now on later OSX versions.
>>>>>>>>
>>>>>>>> so just
>>>>>>>>
>>>>>>>> -odac  --nodisplays
>>>>>>>>
>>>>>>>>
>>>>>>>> and possibly
>>>>>>>>
>>>>>>>> -b64 -B128
>>>>>>>>
>>>>>>>>
>>>>>>>> Victor
>>>>>>>>
>>>>>>>> On 28 Mar 2010, at 20:02, vallste@libero.it wrote:
>>>>>>>>
>>>>>>>>> Hello List,
>>>>>>>>> a very basic question, the "minimum" CsOptions for a realtime
>>>>>>>>> csd on
>>>>>>>>> a Mac
>>>>>>>>> (with 5.12 and QuteCsound) could be this (I can't find any  
>>>>>>>>> info on
>>>>>>>>> the
>>>>>>>>> manual... no idea on the rt module)?
>>>>>>>>>
>>>>>>>>> 
>>>>>>>>> -+rtaudio=CoreAudio
>>>>>>>>> -odac
>>>>>>>>> --nodisplays
>>>>>>>>>
>>>>>>>>> 
>>>>>>>>>
>>>>>>>>> Sorry for the request but I've to send a csd to a guy using  
>>>>>>>>> a Mac
>>>>>>>>> (no external
>>>>>>>>> audio interface), and I can't test it since I've got no Mac!
>>>>>>>>>
>>>>>>>>> Ciao
>>>>>>>>>
>>>>>>>>> Stefano
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>>>       https://sourceforge.net/tracker/?
>>>>>>>>> group_id=81968&atid=564599
>>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>>>> "unsubscribe csound"
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>>       https://sourceforge.net/tracker/?
>>>>>>>> group_id=81968&atid=564599
>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>>> "unsubscribe
>>>>>>> csound"
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>        https://sourceforge.net/tracker/?
>>>>>>> group_id=81968&atid=564599
>>>>>>> Discussions of bugs and features can be posted here
>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>> "unsubscribe csound"
>>>>>>>
>>>>>>> 
>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>        https://sourceforge.net/tracker/? 
>>>>>> group_id=81968&atid=564599
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>> csound"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>         https://sourceforge.net/tracker/? 
>>>>> group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe csound"
>>>>>
>>>>
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>         https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>>> "unsubscribe
>>> csound"
>>>>
>>>>
>>>
>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>          https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>> "unsubscribe csound"
>>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>          https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"