[PD] Question About Arrays

Jonathan Wilkes jancsika at yahoo.com
Mon Jun 7 06:41:55 CEST 2010


They aren't ignored-- you're creating a new range for the visible area of the graph.  It's just that there is no 
way to restrict the values to stay inside the boundaries of the graph.  This can be helpful sometimes, like 
visualizing an audio signal that hasn't been scaled to lie between 1 and -1.

However, you can restrict the values of an array when you use data structures-- so maybe "Put" menu 
arrays should have an option to do this as well.

-Jonathan



________________________________
From: Jim Aikin <midiguru23 at sbcglobal.net>
To: pd-list at iem.at
Sent: Sun, June 6, 2010 11:28:23 PM
Subject: [PD] Question About Arrays

I've created an array with a size of 50 data points. I'm using a tabwrite object to send it new values.

When I right-click on the array and choose Properties, I get a dialog box (Canvas Properties) in which I can set the X range and Y range. I have set the Y range from 120 to 20. Yet when I send values outside of this range to the array, the canvas cheerfully draws the data points outside of the box. The object does not limit the input values to the specified range.

Is this user error on my part, or are the array object's Y boundary parameters just ignored by Pd?

--Jim Aikin


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



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100606/0451f787/attachment.htm>


More information about the Pd-list mailing list