Csound Csound-dev Csound-tekno Search About

[Csnd] while and until with i-conditionals

Date2017-09-24 21:11
FromGuillermo Senna
Subject[Csnd] while and until with i-conditionals
Hi,

I was reading about while and until in the new Springer book and it said
that "these loops will work at i-time and perf-time if the condition is
i-time". I'm wondering how can we prove that statement. My reasoning is
that all the perf-code inside a loop would never get executed because in
order to go from init-time to perf-time with Csound, the i-time loop
itself must have already ended. Otherwise we'll still be at
initialization time. Does this make sense to you?

Cheers.

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

Date2017-09-24 21:30
FromVictor Lazzarini
SubjectRe: [Csnd] while and until with i-conditionals
No. If the loop was only i-time only, it would only repeat at i-time. At perf time it would be ignored.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 24 Sep 2017, at 21:12, Guillermo Senna  wrote:
> 
> Hi,
> 
> I was reading about while and until in the new Springer book and it said
> that "these loops will work at i-time and perf-time if the condition is
> i-time". I'm wondering how can we prove that statement. My reasoning is
> that all the perf-code inside a loop would never get executed because in
> order to go from init-time to perf-time with Csound, the i-time loop
> itself must have already ended. Otherwise we'll still be at
> initialization time. Does this make sense to you?
> 
> Cheers.
> 
> 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

Date2017-09-24 21:44
FromGuillermo Senna
SubjectRe: [Csnd] while and until with i-conditionals
So, a reminder for the second edition maybe? Is there an address where
the erratas are listed? (The book is great!)


On 24/09/17 17:30, Victor Lazzarini wrote:
> No. If the loop was only i-time only, it would only repeat at i-time. At perf time it would be ignored.
>
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
>
>> On 24 Sep 2017, at 21:12, Guillermo Senna  wrote:
>>
>> Hi,
>>
>> I was reading about while and until in the new Springer book and it said
>> that "these loops will work at i-time and perf-time if the condition is
>> i-time". I'm wondering how can we prove that statement. My reasoning is
>> that all the perf-code inside a loop would never get executed because in
>> order to go from init-time to perf-time with Csound, the i-time loop
>> itself must have already ended. Otherwise we'll still be at
>> initialization time. Does this make sense to you?
>>
>> Cheers.
>>
>> 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

Date2017-09-25 08:58
FromVictor Lazzarini
SubjectRe: [Csnd] while and until with i-conditionals
yep, it was a slip. The i- condition makes it an i-time loop, and a k- condition makes it a
perf-time loop. I’ve added it to the errata, thanks for pointing it out.

========================
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 24 Sep 2017, at 21:44, Guillermo Senna  wrote:
> 
> So, a reminder for the second edition maybe? Is there an address where
> the erratas are listed? (The book is great!)
> 
> 
> On 24/09/17 17:30, Victor Lazzarini wrote:
>> No. If the loop was only i-time only, it would only repeat at i-time. At perf time it would be ignored.
>> 
>> Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy
>> Maynooth University
>> Ireland
>> 
>>> On 24 Sep 2017, at 21:12, Guillermo Senna  wrote:
>>> 
>>> Hi,
>>> 
>>> I was reading about while and until in the new Springer book and it said
>>> that "these loops will work at i-time and perf-time if the condition is
>>> i-time". I'm wondering how can we prove that statement. My reasoning is
>>> that all the perf-code inside a loop would never get executed because in
>>> order to go from init-time to perf-time with Csound, the i-time loop
>>> itself must have already ended. Otherwise we'll still be at
>>> initialization time. Does this make sense to you?
>>> 
>>> Cheers.
>>> 
>>> 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