Good call on the parallel DS and array. That'll allow me to continue using tabread4~.
I spent all of yesterday trying to shoehorn my DS into a graph-on-parent window, but it insisted on being huge in the subpatch, regardless of how I changed the canvas properties. Also, I'm having trouble orienting the DS, coordinate-wise. I want to constrain the DS array to a certain vertical range, and I want to create a graph with time-by-value measurements. It seemed that I could just drag the DS anywhere in the subpatch and give each point infinite arbitrary values. Too sloppy for me.
Given that I can designate the initial coordinates of my DS array using plot, I should be able to create a second DS that's simply a two-line graph, relative to the DS array, right? Then, if I subtracted the horizontal axis' y value from the y value of the array, I could forget about the placement of the whole DS arrangement and focus on the sound.
So I pirated my struct and templates from the plot helpfile, and I have no idea how to create a DS from scratch. How do I create my two-line graph, and how do I get it to coexist with my DS array?
As for envgen, I might find it more useful if I could designate a fixed number of points and mouseover edit the envelope as a whole. Do you know of any object that behaves this way? And how difficult would it be to create such an external?
Darrell