Looking for some help with an idea im working on. I want to use a series of faders between 1 and -1 to draw out a wave-shape, i saw a video somewhere online of someone doing this but can't re-find the link to ask them how they did it. I can connect touchosc to puredata and do that part, im just confused as to how i would send a series of numbers into an array or graph, I've tried packing a series of numbers into a message, but then I'm not sure how to create it from there, sinesum and cosinesum don't seem to work the way i want them to, any ideas or instructions would be great
-j
-
Using TouchOSC to draw a waveshape
-
Hi jersupereq,
Does this help?
(Edit: realised the sinesum argument should probably be loadbanged. You can also disable the normalisation if it's not necessary).
-
@Jwif said:
Hi jersupereq,
Does this help?
(Edit: realised the sinesum argument should probably be loadbanged. You can also disable the normalisation if it's not necessary).
I have been trying to do it this way, but its not reacting how i want it to, im looking to basically draw using a large amount of faders and physically draw a waveshape, so if they go down at a linear angle i would have a ramp or if i drew half up then half down i'd have a square wave. I realized my first explanation might not have been too detailed
Thanks for the input though
-jI found the video which might give a better idea of what im trying to do, i want to mimic is wave shape drawing ability
-
Ok, I see what you mean.
You can draw directly into the array. Or, if you're using faders, then set each fader to control a value at a certain index in the array.
See the attached example.
If you don't have many faders then it might be worth adding some kind of interpolation to smooth out the curve in the array.
-
Thanks Jwif, so much, this works exactly the way i was thinking
-j