Csound Csound-dev Csound-tekno Search About

krate if issue

Date2016-02-24 12:07
FromPeter Burgess
Subjectkrate if issue
I'm struggling to work out why my if statement isn't running at
k-rate. If all statements inside are krate, it should do shouldn't it?

I've attached an example, in which I would of expected the line "!!??
  working    !!??"" to print with each trigger

Thanks in advance

Pete

Date2016-02-24 12:12
FromWolf Peuker
SubjectRe: krate if issue
Try printks instead,
http://www.csounds.com/manual/html/printks.html

prints is for init time.

Best,
Wolf

Am 24.02.2016 um 13:07 schrieb Peter Burgess:
> I'm struggling to work out why my if statement isn't running at
> k-rate. If all statements inside are krate, it should do shouldn't it?
>
> I've attached an example, in which I would of expected the line "!!??
>   working    !!??"" to print with each trigger
>
> Thanks in advance
>
> Pete
>

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

Date2016-02-24 12:16
FromVictor Lazzarini
SubjectRe: krate if issue
prints is not k-rate. Try printks.
========================
Dr 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 Feb 2016, at 12:07, Peter Burgess  wrote:
> 
> I'm struggling to work out why my if statement isn't running at
> k-rate. If all statements inside are krate, it should do shouldn't it?
> 
> I've attached an example, in which I would of expected the line "!!??
>  working    !!??"" to print with each trigger
> 
> Thanks in advance
> 
> Pete
> 
> -- 
> http://algorythmradio.com
> https://soundcloud.com/algorythmradio
> 
> 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

Date2016-02-24 12:22
FromPeter Burgess
SubjectRe: krate if issue
ah! my bad, you're right. And I just realised the issue with the
actual content of my if statement was that I had my lfo inside it,
rather than just the lfo arguements. oops! Cheers though guys

On Wed, Feb 24, 2016 at 12:16 PM, Victor Lazzarini
 wrote:
> prints is not k-rate. Try printks.
> ========================
> Dr 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 Feb 2016, at 12:07, Peter Burgess  wrote:
>>
>> I'm struggling to work out why my if statement isn't running at
>> k-rate. If all statements inside are krate, it should do shouldn't it?
>>
>> I've attached an example, in which I would of expected the line "!!??
>>  working    !!??"" to print with each trigger
>>
>> Thanks in advance
>>
>> Pete
>>
>> --
>> http://algorythmradio.com
>> https://soundcloud.com/algorythmradio
>>
>> 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