Csound Csound-dev Csound-tekno Search About

Re: "Csound: A Sound and Music Computing System"

Date2016-12-18 01:00
FromPartev Barr Sarkissian
SubjectRe: "Csound: A Sound and Music Computing System"

Isn't "=" used for math expression and "==" is more of a logic operator? 
Or are they interchangeable in this Csound environment? 


-pbs 




--- Victor.Lazzarini@NUIM.IE wrote:

From:         Victor Lazzarini 
To:           CSOUND@LISTSERV.HEANET.IE
Subject: Re: [Csnd] "Csound: A Sound and Music Computing System"
Date:         Sat, 17 Dec 2016 07:35:52 +0000

I should have noted in the book that ‘=‘ and ‘==‘ are equally accepted in conditionals.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 16 Dec 2016, at 22:21, C. R. Craig  wrote:
> 
> I’ve noticed an error in listing 5.7 on page 116:
> 
> “if p6 = 0 then” should be “if p6 == 0 then”
> 
> It would be nice to have the examples on github, but there are also advantages to typing them in manually . . . ;-)
> 
> Robert
> 
>> On Dec 14, 2016, at 2:52 PM, Victor Lazzarini  wrote:
>> 
>> I hope to put all of the book code in github, I just need to have a free day to do it. That'll hopefully help.
>> 
>> Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy
>> Maynooth University
>> Ireland
>> 
>>> On 14 Dec 2016, at 20:14, C. R. Craig  wrote:
>>> 
>>> Never mind. Changing ksmps from 32 to 10 made it behave.
>>> 
>>> Robert
>>> 
>>>> On Dec 14, 2016, at 12:03 PM, C. R. Craig  wrote:
>>>> 
>>>> I’m working my way through this wonderful tome. In playing with one of the listings, it doesn’t seem to behave as expected. Listing 5.6 on page 115 may have been mangled in the editing process.
>>>> 
>>>> In instrument 1, k1 is initialized to 1 but never used; the expression “if ktime%1 == 0 then” only triggers once, at the 8 second mark.
>>>> 
>>>> Could someone clarify this example for me?
>>>> 
>>>> Thanks,
>>>> Robert
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>> Send bugs reports to
>>>>     https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>> 
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>>      https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here




_____________________________________________________________
Netscape.  Just the Net You Need.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here