| CsoundVST handles it by defining its own sample buffers as MYFLT,
which is float for the float build and double for the double build.
The proper macro has to be enabled in the build, of course, for this
to work. SCons does this the same for CsoundVST as it does for Csound
since I use the same root SCons builder.
You could do the same simply by passing -DUSE_DOUBLE (for MYFLT is
double) or not (for MYFLT is float) on your compiler command line.
Hope this helps,
Mike
On Tue, Jan 4, 2011 at 2:40 PM, Rory Walsh wrote:
> When I run Csound as plugins in certain hosts(through the api) it does
> make a difference which version is installed. Floats version work
> across the board but doubles don't. I need to look into it, I'm sure I
> can rebuild my plugins for double support but only if the host
> provides support for it. How does Csound VST handle this?
>
> On 4 January 2011 19:13, Michael Gogins wrote:
>> I am the maintainer for the Windows installer and I do maintain the
>> double version, but not the float version.
>>
>> There is a 5 or 10 percent advantage in speed for float on Windows XP.
>> There is a small but (just barely) perceptible advantage in acoustical
>> precision for double on all platforms. At least some commercial audio
>> applications support double samples now (e.g. Sonar). The people who
>> master recordings for a living are increasingly focussed on this high
>> level of audio precision, as audio converters and speakers
>> increasingly reveal it.
>>
>> I am not willing to support 2 builds of the Windows installers, as the
>> amount of work seems too big for the payoff. Therefore our options
>> are:
>>
>> (1) Find someone else to maintain the Windows installers who IS
>> willing to support 2 builds.
>>
>> (2) Cecelia changes to support the doubles version on Windows (this is
>> what I recommend).
>>
>> (3) I change the Windows installer to support only the float version.
>> I am willing to do this, but I am reluctant to do so without some kind
>> of consensus from people who actually use Csound to make music about
>> the sacrifice in quality.
>>
>> I wish I knew what the speed comparison is for float vs double on
>> Windows 7. Perhaps I will install some old versions of Csound for both
>> sizes and find out.
>>
>> Regards,
>> Mike
>>
>>
>>
>> On Tue, Jan 4, 2011 at 12:56 PM, Adam wrote:
>>> Can I ask if a recent built of the Csound Float version for MS-Win might
>>> be forthcoming or due ? I have -f version 5.11 of Nov 2009.
>>>
>>> Cecilia on MS-Win requires the Float version. Maybe that'll change.
>>>
>>> For realtime operation, like also with Blue in realtime, it seems the
>>> slight difference in overhead between -f & -d is noticeable. Although
>>> I have my personal doubts and fear my old WinXP or indeed hardware
>>> setup or both may be clunky or somewhat non-robust. (Its simply not
>>> an option to drop everything and install the latest Win or Win 7 at a
>>> moment's notice, nor change personal hardware quickly).
>>>
>>> On the MS-Win platform -f & -d versions can but don't easily coexist.
>>> Maybe that could change and become simpler ?
>>>
>>> Or is indeed the computational difference between Float and Double
>>> be so minor as to be trivial ? That doesn't solve the Cecilia problem,
>>> but might be a strong argument nevertheless.
>>>
>>>
>>>
>>>
>>> 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"
>>>
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> 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"
>
>
--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com
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"
|