Re: [PD] vline~ with switch~ off

2017-06-08 Thread Christof Ressi
Hi Miller,

maybe I missed something but I think it's at least possible to catch messages 
to vline~ while DSP is switched off: if the time difference between an incoming 
float message and the last logical time (updated by the perform routine) is 
greater then the current block duration, you know that DSP must have been 
switched off. the question is rather what to do with those messages: a) drop 
them, b) cancel previous segments, c) let them eat your CPU. 

Christof

> Gesendet: Donnerstag, 08. Juni 2017 um 04:21 Uhr
> Von: "Miller Puckette" <m...@ucsd.edu>
> An: "Matt Davey" <hard@gmail.com>
> Cc: "pd-list@lists.iem.at" <pd-list@lists.iem.at>
> Betreff: Re: [PD] vline~ with switch~ off
>
> This isn't fixed (and I'm not sure it's fixable)... better use spigots to stop
> messages from gettingt o vline~s on switched-off windows.
> 
> cheers
> Miller
> 
> On Thu, Jun 08, 2017 at 03:28:36AM +0200, Matt Davey wrote:
> > is this still an issue?  I have heaps of patches with vline~ in, and CPU
> > seems to creep up from them getting messages when switch~ is off.
> > 
> > I thought this got looked at?
> > 
> > Actuallyis there any way just to turn off all control messages in
> > patches that have [switch~] turned off?  I mean, how often do you want
> > those going through when the signal objects aren't being processed?
> 
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management -> 
> > https://lists.puredata.info/listinfo/pd-list
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] vline~ with switch~ off

2017-06-08 Thread alex



On 06/08/2017 05:21 AM, Miller Puckette wrote:

This isn't fixed (and I'm not sure it's fixable)... better use spigots to stop
messages from gettingt o vline~s on switched-off windows.

cheers
Miller

Didn't see Miller's answer before I posted mine, sorry.

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] vline~ with switch~ off

2017-06-07 Thread Claude Heiland-Allen
On 08/06/17 03:21, Miller Puckette wrote:
> This isn't fixed (and I'm not sure it's fixable)... better use spigots to stop
> messages from gettingt o vline~s on switched-off windows.

what about this approach?  one issue of my implementation is that it
prunes segments too early if the block size is increased beyond 1second,
maybe it's possible to fix that...

https://lists.puredata.info/pipermail/pd-dev/2008-03/00.html
https://lists.puredata.info/pipermail/pd-list/2016-07/115757.html

> On Thu, Jun 08, 2017 at 03:28:36AM +0200, Matt Davey wrote:
>> Actuallyis there any way just to turn off all control messages in
>> patches that have [switch~] turned off?  I mean, how often do you want
>> those going through when the signal objects aren't being processed?

How would you switch it back on?


Claude
-- 
https://mathr.co.uk


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] vline~ with switch~ off

2017-06-07 Thread Miller Puckette
This isn't fixed (and I'm not sure it's fixable)... better use spigots to stop
messages from gettingt o vline~s on switched-off windows.

cheers
Miller

On Thu, Jun 08, 2017 at 03:28:36AM +0200, Matt Davey wrote:
> is this still an issue?  I have heaps of patches with vline~ in, and CPU
> seems to creep up from them getting messages when switch~ is off.
> 
> I thought this got looked at?
> 
> Actuallyis there any way just to turn off all control messages in
> patches that have [switch~] turned off?  I mean, how often do you want
> those going through when the signal objects aren't being processed?

> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list