Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] What does this mean?

Date2007-01-04 15:03
FromMichael Gogins
SubjectRe: [Cs-dev] What does this mean?
This is not related to C++, this is by design. This class represents a set of voice-leading operations. An instance of the class represents a single voice-leading operation, i.e. a choice from the set of operations. Each operation is a combination of one or more of P, T, C, V, and L (as documented in the source code). After the class is initialized, when the operation is actually applied, the class internally examines each variable (P, T, C, etc.) to see if it is not a number (indeterminate in your terminology). If it is NaN, the corresponding operation is not performed, if it is a number, the corresponding operation is performed.

In other words, NaN is used to overload the numerical variable with a non-numerical meaning.

I don't think this has anything to do with why Csound won't compile. Csound compiles for me just fine. I suggest that you perform a clean checkout and also check your tool and SWIG versions. 

I find myself increasingly at odds with the "Windows way," but the availability of Cubase and now the Pianoteq physically modeled piano VST plugin (which I use with Csound, I love it) keep me tied to Windows to some extent. These are really excellent pieces of software.

Still, I do plan to start using Linux "for real," partly because I want to use Aeolus and to experiment with SuperCollider. 

At the moment I don't have Linux at home. I will re-partition my laptop disks and install Linux on it alongside Windows (there is plenty of room), then I will be able to properly maintain the Linux build. I may be able to do that this weekend.

Regards,
Mike

-----Original Message-----
>From: jpff 
>Sent: Jan 4, 2007 9:10 AM
>To: csound-devel@lists.sourceforge.net
>Subject: [Cs-dev] What does this mean?
>
>In frontends/CsoundVST/VoiceleadingNode.cpp I see the code:
>
>  VoiceleadingOperation::VoiceleadingOperation() : 
>    time(0.0),
>    rescaledTime(0.0),
>    P(double(0.0) / double(0.0)),
>    T(double(0.0) / double(0.0)),
>    C(double(0.0) / double(0.0)),
>    V(double(0.0) / double(0.0)),
>    L(false),
>    begin(0),
>    end(0),
>    avoidParallels(false)
>  {
>  }
>
>Just curious (and trying to see why csound does not compile) as to
>what the interpretation of P(indeterminate) can possibly be.  Somehow
>reinforces by view of C++
>
>==John ffitch
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-01-04 15:55
FromJulian Peterson
SubjectRe: [Cs-dev] What does this mean?
I'm experiencing the same difficulties even with a clean checkout.  My 
swig/tool versions have not changed since last I built csound 
successfully.  Have the required versions changed?

JP


Michael Gogins wrote:
> This is not related to C++, this is by design. This class represents a set of voice-leading operations. An instance of the class represents a single voice-leading operation, i.e. a choice from the set of operations. Each operation is a combination of one or more of P, T, C, V, and L (as documented in the source code). After the class is initialized, when the operation is actually applied, the class internally examines each variable (P, T, C, etc.) to see if it is not a number (indeterminate in your terminology). If it is NaN, the corresponding operation is not performed, if it is a number, the corresponding operation is performed.
>
> In other words, NaN is used to overload the numerical variable with a non-numerical meaning.
>
> I don't think this has anything to do with why Csound won't compile. Csound compiles for me just fine. I suggest that you perform a clean checkout and also check your tool and SWIG versions. 
>
> I find myself increasingly at odds with the "Windows way," but the availability of Cubase and now the Pianoteq physically modeled piano VST plugin (which I use with Csound, I love it) keep me tied to Windows to some extent. These are really excellent pieces of software.
>
> Still, I do plan to start using Linux "for real," partly because I want to use Aeolus and to experiment with SuperCollider. 
>
> At the moment I don't have Linux at home. I will re-partition my laptop disks and install Linux on it alongside Windows (there is plenty of room), then I will be able to properly maintain the Linux build. I may be able to do that this weekend.
>
> Regards,
> Mike
>
> -----Original Message-----
>   
>> From: jpff 
>> Sent: Jan 4, 2007 9:10 AM
>> To: csound-devel@lists.sourceforge.net
>> Subject: [Cs-dev] What does this mean?
>>
>> In frontends/CsoundVST/VoiceleadingNode.cpp I see the code:
>>
>>  VoiceleadingOperation::VoiceleadingOperation() : 
>>    time(0.0),
>>    rescaledTime(0.0),
>>    P(double(0.0) / double(0.0)),
>>    T(double(0.0) / double(0.0)),
>>    C(double(0.0) / double(0.0)),
>>    V(double(0.0) / double(0.0)),
>>    L(false),
>>    begin(0),
>>    end(0),
>>    avoidParallels(false)
>>  {
>>  }
>>
>> Just curious (and trying to see why csound does not compile) as to
>> what the interpretation of P(indeterminate) can possibly be.  Somehow
>> reinforces by view of C++
>>
>> ==John ffitch
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>     
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net