Hi list!
I'm taking a look at data structures. In the attached patch I'm trying to select an init point and an end point for a sample using an "init struct" and an "end struct". I can select this init and end point with the mouse but then, I would like to use this init and end point information for audio process. I can obtain the init point or end point value by means of pointer & get, but I would like to obtain this value dynamically, that means, to obtain the value each time I change the init or end point. How can I obtain this values dynamically? Somebody has any suggestion? Thanks and regards!
Ciao.
Hallo, raul diaz hat gesagt: // raul diaz wrote:
I'm taking a look at data structures. In the attached patch I'm trying to select an init point and an end point for a sample using an "init struct" and an "end struct". I can select this init and end point with the mouse but then, I would like to use this init and end point information for audio process. I can obtain the init point or end point value by means of pointer & get, but I would like to obtain this value dynamically, that means, to obtain the value each time I change the init or end point. How can I obtain this values dynamically? Somebody has any suggestion?
Use pd-0.40, then you can watch the [struct] outlets for "change (pointer)" messages as in attached patch. With 0.39 or 0.38 IIRC you cannot use "change", but as a workaround there's a "select" message as well.
Frank Barknecht _ ______footils.org_ __goto10.org__
Hi Frank, hi list!
Use pd-0.40, then you can watch the [struct] outlets for "change (pointer)" messages as in attached patch. With 0.39 or 0.38 IIRC you cannot use "change", but as a workaround there's a "select" message as w11ell.
Thanks for your information, change object will be very useful for my purpose.
But I have ahother main doubt. How can I use pointer object to obtain a constant stream of data (init value and end value independently)? Sorry, but I don't know too much about pointer and get objects.
Thanks and regards!