hi, i have no experience with PD and need a help how to:
generate sound using a specific equation in realtime. how woud you do that in pd?
i want to be able to change several parameters of the equation by mouse - in realtime. For example: the equation for calculating the amplitude of a sample might be something like this:
a = sin(x) / sin (y)
where x and y are the mouse coordinates.
I know there are objects like sin~ or cos~ in pd for creating oscilators, but i need to calculate the amplitude using more complicated expresions.
i suppose i need to calculate a number of samples into a buffer and then play the buffer, while calculating new saples, but i dont know how to do that in pd.
if you have an idea how to patch something like ive described, please give me a hint.
thanks a lot.