Re: [PD] Data Structures - Delete specific scalar?

2011-04-23 Thread JF
Thanks João,

I'm looking into a brute force workaround whereupon I drip the data structure 
and copy it to a buffer structure but with the scalars that I want to delete 
filtered out - then I clone this buffer back to the original thus deleting 
certain scalars. This should work for my needs.

Also as an aside, I'm just reading Frank's data structure tutorial patches (I'm 
a beginner to this topic!). I really think that these should be added to the 
official vanilla documentation.

Cheers, John.



- Original Message 
 From: João Pais jmmmp...@googlemail.com
 To: JF sainti...@yahoo.com
 Sent: Sat, 23 April, 2011 1:38:27
 Subject: Re: [PD] Data Structures - Delete specific scalar?
 
 unfortunately, that and many other basic things aren't possible with data-s 
yet.  there are a couple ways you could use to circumvent this limitation:
 
 -  use a field for active or unactive scalars, and set them to 0 or 1. then 
connect  them to a spigot or similar, so that the other fields don't go 
through 
the rest  of the patch. You can also connect this to the -v (?) field, to make 
this scalar  invisible.
 - if you want to be radical, get the coordinates of your scalar,  and using 
pd-messages, emulate the mouse's behaviour of going to edit mode,  selecting 
the 
scalar and deleting it.
 
 Or write the st. puckette and tell  him about putting this in.
 
 João Pais
 
  Is there any message  based way to delete a scalar?
  
  As I presume what people usually  do is select the graphic in the 
  datawindow 
and
  delete it this way. I  need to do this without the graphical selection.
  
  I'm currently  using data structures just as a multi-dimensional storage 
object
  (the  graphical side doesn't concern me). I've developed [data/drip] and
   [data/filter] patches akin to [list-drip] and [list-filter]. I'm now 
  looking  
to
  create an object where I can remove specific scalars based on whether  or 
not
  their value fields match a certain condition (via  [data/filter]).
  
  
  Thanks in advance as always,
   John.
  
  
   ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list
 
 
 --Friedenstr.  58
 10249 Berlin (Deutschland)
 Tel +49 30 42020091 | Mob +49 162  6843570
 Studio +49 30 69509190
 jmmmp...@googlemail.com | skype:  jmmmpjmmmp
 

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


[PD] potential fix for denormals in freeverb

2011-04-23 Thread Ivica Ico Bukvic
All,

Couldn't this be solved simply by adding -O2 compilation flag to the
object, as per intel's document found at:

http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/fortran/win/compiler_f/fpops/common/fpops_reduce_denorm.htm

Any thoughts?

Ico


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


Re: [PD] Toggle Status

2011-04-23 Thread Saul

Hi All,

I'm sure this has been asked many times, but nothing comes up in an  
archive search.


I'm using a multiple toggles to activate each element of a sequence.  
Is it possible to interrogate the status of a toggle or in fact any  
gui object.


Thanks for any help,

/S



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


Re: [PD] Toggle Status

2011-04-23 Thread Mathieu Bouchard

On Sat, 23 Apr 2011, Saul wrote:

I'm using a multiple toggles to activate each element of a sequence. Is 
it possible to interrogate the status of a toggle or in fact any gui 
object.


If you have many toggles, you may have an incentive to use [#many] :

  http://gridflow.ca/help/%23many-help.html

from GridFlow : http://gridflow.ca/

You may plug it into [#to_l] to get a normal list, or use any of the many 
classes that can process grids. You can select one or more elements by row 
number and column number using [#store].


In the example of the web page, you have two sets of 91 toggles (13 rows 
of 7 toggles).


Some screenshots in action :

  http://gridflow.ca/gallery/qbert.pd.png
  http://gridflow.ca/gallery/pdmtl-33-image-many.png
  http://gridflow.ca/gallery/sequenceur.pd.png
  http://gridflow.ca/gallery/sequenceur.pd.mp3

and same thing with many numberboxes :

  http://gridflow.ca/gallery/bezier.png

 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Toggle Status

2011-04-23 Thread Hans-Christoph Steiner


banging most GUI objects will get their values. But with toggle, it  
changes it, so you would just need to connect the toggle to the right  
inlet of [float], and bang the left inlet when you want to know the  
toggle's state.


.hc

On Apr 23, 2011, at 12:00 PM, Saul wrote:


Hi All,

I'm sure this has been asked many times, but nothing comes up in an  
archive search.


I'm using a multiple toggles to activate each element of a sequence.  
Is it possible to interrogate the status of a toggle or in fact any  
gui object.


Thanks for any help,

/S



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





Access to computers should be unlimited and total.  - the hacker ethic



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


Re: [PD] Toggle Status

2011-04-23 Thread Jonathan Wilkes


--- On Sat, 4/23/11, Saul s...@atonic.com wrote:

 From: Saul s...@atonic.com
 Subject: Re: [PD] Toggle Status
 To: pd-list@iem.at
 Date: Saturday, April 23, 2011, 6:00 PM
 Hi All,
 
 I'm sure this has been asked many times, but nothing comes
 up in an archive search.
 
 I'm using a multiple toggles to activate each element of a
 sequence. Is it possible to interrogate the status of a
 toggle or in fact any gui object.

I haven't used it, but
there's a patch on the tracker that adds a get method to tgl:

http://sourceforge.net/tracker/index.php?func=detailaid=2419952group_id=55736atid=478072

I think matju's #many abstraction is probably your best bet.

As for other GUIs-- [cnv] has a get_pos method to report it's x y position 
in a patch.

Also, I started coding a get method for canvases, which happens to do 
what Miller describes in his comment about the above patch.

-Jonathan

 
 Thanks for any help,
 
 /S
 
 
 
 ___
 Pd-list@iem.at
 mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 

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