I’ll example where I’m trying to get to, and then if it’s covered in the help files or anyone knows of a good example, or has pointers any help would be hugely appreciate, it’s my first looking into the MSP side of things and I’m feeling a touch out of my depth.
Using Multislider set to 16×16, I’d like to be able to draw a wave that is then output and can be played at various pitches.
So if I draw half of the multislider at the top and half at the bottom, I’ll get a square wave. A diagonal line gets me a sort of 16bit saw wave.
I have something now (which I’ll post tonight when I get home) but it uses cycle which is controlled by the values in the multislide, but I’m starting to suspect what I’m actually doing is playing a sine wave at varrying frequencies based on the values, rather than it actually making that shaped wave.
maybe try multislider set to 512 so you have a higher-res sample (if you want) and use pattr on it so you can morph between saved presets of waves. I’ve done this in the past and it’s very cool. [listfunnel] is the ticket to get from multislider to peek~, unless we get a "writelist" message to peek~ that I was asking about in a feature request thread :)