Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Double vs. Float

Date2009-09-23 20:29
From"Art Hunkins"
SubjectRe: [Cs-dev] Double vs. Float
Can we safely assume that the *relative* performance of double vis-a-vis 
float will be the same for different CPU speeds, amount of memory, etc.?

Art Hunkins

----- Original Message ----- 
From: "Michael Gogins" 
To: "Developer discussions" 
Sent: Wednesday, September 23, 2009 11:53 AM
Subject: Re: [Cs-dev] Minor change in QuteCsound


On Windows, I will package an installer only for either doubles or
floats, depending on which one tests best in terms of both performance
and audio quality.

I will time performance of several representative pieces, and take the
average. This will include both soundfile and sound card renderings.
For the latter of course I will have to see how many oscillators or
whatever can run without breakup.

I will do ABX listening tests, using both studio headphones and studio
monitors, of some numerically challenging instruments.

I will then select the one build that I will package.  Based on prior
experience, where differences in sound quality were quite small, I
would go with the better sounding build even if it is slightly slower,
and I would go with the faster build if it is more than slightly
faster. But I will be listening harder this time, so I am not sure in
advance what value of "slightly slower" would be the critical point.

I will write up my results in a report that I will post to the Csound lists.

I recommend you do the same. I understand that results might differ
according to various factors even on Windows (Windows version, disk
type and size, RAM size and type, other software installed, etc.,
etc., etc.) but one has to start somewhere and this beast, Csound,
needs to be tamed. It needs to be easier to maintain and to install.

Regards,
Mike

On 9/23/09, Victor Lazzarini  wrote:
> Is it possible to install BOTH QuteCsound for floats and doubles? My
> new package will
> install both frameworks.
>
> Victor
> On 23 Sep 2009, at 16:21, Andres Cabrera wrote:
>
>> Ok, thanks,
>> Andres
>>
>> On Wed, Sep 23, 2009 at 1:43 PM, Victor Lazzarini
>>  wrote:
>>> I am planning to get your binary package and either include it in the
>>> installer or
>>> add it to the download package.
>>>
>>> Victorks
>>> On 23 Sep 2009, at 12:41, Andres Cabrera wrote:
>>>
>>>> Hi all,
>>>>
>>>> This is for people packaging QuteCsound for installers. Please
>>>> update
>>>> to the latest source of QuteCsound, where I've changed the verison
>>>> number, so it can be correctly identified.
>>>>
>>>> Thanks,
>>>> Andrés
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Come build with us! The BlackBerry® Developer Conference in
>>>> SF, CA
>>>> is the only developer event you need to attend this year. Jumpstart
>>>> your
>>>> developing skills, take BlackBerry mobile applications to market and
>>>> stay
>>>> ahead of the curve. Join us from November 9-12, 2009. Register
>>>> now!
>>>> http://p.sf.net/sfu/devconf
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Come build with us! The BlackBerry® Developer Conference in SF,
>>> CA
>>> is the only developer event you need to attend this year. Jumpstart
>>> your
>>> developing skills, take BlackBerry mobile applications to market
>>> and stay
>>> ahead of the curve. Join us from November 9-12, 2009. Register
>>> now!
>>> http://p.sf.net/sfu/devconf
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart
>> your
>> developing skills, take BlackBerry mobile applications to market and
>> stay
>> ahead of the curve. Join us from November 9-12, 2009. Register
>> now!
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register 
> now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>


-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel 


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-09-23 21:01
FromMichael Gogins
SubjectRe: [Cs-dev] Double vs. Float
No, we can't at all assume the relative speeds will be the same on
different architectures. I can only test on the machine that I have. I
will publish how to do the tests and you can do them on your own
machine.

Regards,
Mike

On 9/23/09, Art Hunkins  wrote:
> Can we safely assume that the *relative* performance of double vis-a-vis
> float will be the same for different CPU speeds, amount of memory, etc.?
>
> Art Hunkins
>
> ----- Original Message -----
> From: "Michael Gogins" 
> To: "Developer discussions" 
> Sent: Wednesday, September 23, 2009 11:53 AM
> Subject: Re: [Cs-dev] Minor change in QuteCsound
>
>
> On Windows, I will package an installer only for either doubles or
> floats, depending on which one tests best in terms of both performance
> and audio quality.
>
> I will time performance of several representative pieces, and take the
> average. This will include both soundfile and sound card renderings.
> For the latter of course I will have to see how many oscillators or
> whatever can run without breakup.
>
> I will do ABX listening tests, using both studio headphones and studio
> monitors, of some numerically challenging instruments.
>
> I will then select the one build that I will package.  Based on prior
> experience, where differences in sound quality were quite small, I
> would go with the better sounding build even if it is slightly slower,
> and I would go with the faster build if it is more than slightly
> faster. But I will be listening harder this time, so I am not sure in
> advance what value of "slightly slower" would be the critical point.
>
> I will write up my results in a report that I will post to the Csound lists.
>
> I recommend you do the same. I understand that results might differ
> according to various factors even on Windows (Windows version, disk
> type and size, RAM size and type, other software installed, etc.,
> etc., etc.) but one has to start somewhere and this beast, Csound,
> needs to be tamed. It needs to be easier to maintain and to install.
>
> Regards,
> Mike
>
> On 9/23/09, Victor Lazzarini  wrote:
>> Is it possible to install BOTH QuteCsound for floats and doubles? My
>> new package will
>> install both frameworks.
>>
>> Victor
>> On 23 Sep 2009, at 16:21, Andres Cabrera wrote:
>>
>>> Ok, thanks,
>>> Andres
>>>
>>> On Wed, Sep 23, 2009 at 1:43 PM, Victor Lazzarini
>>>  wrote:
>>>> I am planning to get your binary package and either include it in the
>>>> installer or
>>>> add it to the download package.
>>>>
>>>> Victorks
>>>> On 23 Sep 2009, at 12:41, Andres Cabrera wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> This is for people packaging QuteCsound for installers. Please
>>>>> update
>>>>> to the latest source of QuteCsound, where I've changed the verison
>>>>> number, so it can be correctly identified.
>>>>>
>>>>> Thanks,
>>>>> Andrés
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Come build with us! The BlackBerry® Developer Conference in
>>>>> SF, CA
>>>>> is the only developer event you need to attend this year. Jumpstart
>>>>> your
>>>>> developing skills, take BlackBerry mobile applications to market and
>>>>> stay
>>>>> ahead of the curve. Join us from November 9-12, 2009. Register
>>>>> now!
>>>>> http://p.sf.net/sfu/devconf
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Come build with us! The BlackBerry® Developer Conference in SF,
>>>> CA
>>>> is the only developer event you need to attend this year. Jumpstart
>>>> your
>>>> developing skills, take BlackBerry mobile applications to market
>>>> and stay
>>>> ahead of the curve. Join us from November 9-12, 2009. Register
>>>> now!
>>>> http://p.sf.net/sfu/devconf
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>> Andrés
>>>
>>> ------------------------------------------------------------------------------
>>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>>> is the only developer event you need to attend this year. Jumpstart
>>> your
>>> developing skills, take BlackBerry mobile applications to market and
>>> stay
>>> ahead of the curve. Join us from November 9-12, 2009. Register
>>> now!
>>> http://p.sf.net/sfu/devconf
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register
>> now!
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>


-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net