Csound Csound-dev Csound-tekno Search About

Re: --realtime dropping events?

Date2015-06-09 14:39
Fromthorin kerr
SubjectRe: --realtime dropping events?
AttachmentsNone  None  
Forrest Curo alerted me to some behaviour which might be a clue?
There's some connection to ksmps:
With --realtime, giving instr 2 a longer duration fixes the problem. The lower ksmps, then the shorter it can be. 
However, it doesn't seem to be simply a case of allowing a control pass, since it needs a lot longer than 1/kr.
Also, I'd have thought a k-rate pass isn't necessary, since the schedule opcode is an i-rate opcode.
And..., as mentioned... without --realtime it all works fine.

Should I file a bug?

Thorin

On Tue, Jun 9, 2015 at 7:56 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
http://csound.github.io/docs/manual/CommandFlagsCategory.html

========================
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 8 Jun 2015, at 19:02, Art Hunkins <abhunkin@uncg.edu> wrote:
>
> Is --realtime documented anywhere? I can't seem to find it.
>
> Art Hunkins
>
> ----- Original Message -----
> From: "Victor Lazzarini" <Victor.Lazzarini@nuim.ie>
> To: "csound users' discussions" <csound-users@lists.sourceforge.net>
> Sent: Monday, June 08, 2015 1:08 PM
> Subject: Re: [Csnd] --realtime dropping events?
>
>
>> I guess events might be issued late, if they take too long to initialise.
>> We need to look at it to see what is happening.
>>
>> Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy
>> Maynooth University
>> Ireland
>>
>>> On 8 Jun 2015, at 17:02, thorin kerr <thorin.kerr@gmail.com> wrote:
>>>
>>> Hi all... possibly a Victor question...
>>>
>>> Does --realtime drop events?
>>>
>>> This CSD fails for me when I set the --realtime flag, and the second
>>> instrument has a zero or very short duration.
>>>
>>> Thorin
>>>
>>>
>>>
>>> <testreal.csd>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>       https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


Date2015-06-09 16:28
FromVictor Lazzarini
SubjectRe: --realtime dropping events?
AttachmentsNone  None  
yes, that is a good idea. The fact is that if the event is not initialised in time, it might arrive late, but it should not be dropped unless the duration is very short of the order of one or two ksmps.

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

On 9 Jun 2015, at 14:39, thorin kerr <thorin.kerr@gmail.com> wrote:

Forrest Curo alerted me to some behaviour which might be a clue?
There's some connection to ksmps:
With --realtime, giving instr 2 a longer duration fixes the problem. The lower ksmps, then the shorter it can be. 
However, it doesn't seem to be simply a case of allowing a control pass, since it needs a lot longer than 1/kr.
Also, I'd have thought a k-rate pass isn't necessary, since the schedule opcode is an i-rate opcode.
And..., as mentioned... without --realtime it all works fine.

Should I file a bug?

Thorin

On Tue, Jun 9, 2015 at 7:56 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
http://csound.github.io/docs/manual/CommandFlagsCategory.html

========================
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 8 Jun 2015, at 19:02, Art Hunkins <abhunkin@uncg.edu> wrote:
>
> Is --realtime documented anywhere? I can't seem to find it.
>
> Art Hunkins
>
> ----- Original Message -----
> From: "Victor Lazzarini" <Victor.Lazzarini@nuim.ie>
> To: "csound users' discussions" <csound-users@lists.sourceforge.net>
> Sent: Monday, June 08, 2015 1:08 PM
> Subject: Re: [Csnd] --realtime dropping events?
>
>
>> I guess events might be issued late, if they take too long to initialise.
>> We need to look at it to see what is happening.
>>
>> Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy
>> Maynooth University
>> Ireland
>>
>>> On 8 Jun 2015, at 17:02, thorin kerr <thorin.kerr@gmail.com> wrote:
>>>
>>> Hi all... possibly a Victor question...
>>>
>>> Does --realtime drop events?
>>>
>>> This CSD fails for me when I set the --realtime flag, and the second
>>> instrument has a zero or very short duration.
>>>
>>> Thorin
>>>
>>>
>>>
>>> <testreal.csd>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>       https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-09 23:57
FromAndres Cabrera
SubjectRe: --realtime dropping events?
AttachmentsNone  None  
There's an interesting question...
Should the duration be considered from the moment the event has finished initializing or from the moment it should have been put in if initialization had been immediate.

Cheers,
Andrés

On Tue, Jun 9, 2015 at 8:28 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
yes, that is a good idea. The fact is that if the event is not initialised in time, it might arrive late, but it should not be dropped unless the duration is very short of the order of one or two ksmps.

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

On 9 Jun 2015, at 14:39, thorin kerr <thorin.kerr@gmail.com> wrote:

Forrest Curo alerted me to some behaviour which might be a clue?
There's some connection to ksmps:
With --realtime, giving instr 2 a longer duration fixes the problem. The lower ksmps, then the shorter it can be. 
However, it doesn't seem to be simply a case of allowing a control pass, since it needs a lot longer than 1/kr.
Also, I'd have thought a k-rate pass isn't necessary, since the schedule opcode is an i-rate opcode.
And..., as mentioned... without --realtime it all works fine.

Should I file a bug?

Thorin

On Tue, Jun 9, 2015 at 7:56 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
http://csound.github.io/docs/manual/CommandFlagsCategory.html

========================
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 8 Jun 2015, at 19:02, Art Hunkins <abhunkin@uncg.edu> wrote:
>
> Is --realtime documented anywhere? I can't seem to find it.
>
> Art Hunkins
>
> ----- Original Message -----
> From: "Victor Lazzarini" <Victor.Lazzarini@nuim.ie>
> To: "csound users' discussions" <csound-users@lists.sourceforge.net>
> Sent: Monday, June 08, 2015 1:08 PM
> Subject: Re: [Csnd] --realtime dropping events?
>
>
>> I guess events might be issued late, if they take too long to initialise.
>> We need to look at it to see what is happening.
>>
>> Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy
>> Maynooth University
>> Ireland
>>
>>> On 8 Jun 2015, at 17:02, thorin kerr <thorin.kerr@gmail.com> wrote:
>>>
>>> Hi all... possibly a Victor question...
>>>
>>> Does --realtime drop events?
>>>
>>> This CSD fails for me when I set the --realtime flag, and the second
>>> instrument has a zero or very short duration.
>>>
>>> Thorin
>>>
>>>
>>>
>>> <testreal.csd>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>       https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

------------------------------------------------------------------------------

_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here