[Csnd] Regarding Scanned Synthesis...
Date | 2012-05-14 02:01 |
From | Deepak |
Subject | [Csnd] Regarding Scanned Synthesis... |
Hi everyone... I was introduced to Scanned Synthesis, not so long ago and I find it to be one of the most interesting and exciting things in Csound so far. Just like many of us (I believe), my initial experiments with scanu and scans opcodes almost blew my ears off. As far as I understand the evolution of the mass spring system is governed by the Newton's force equations (as described in the original papers by Verplank and Max Mathews) and I suppose these dynamic equations would have to be solved at some point (in the source code for scanu/scans (?)) in order to know how the system is going to evolve with time. (Please correct me if I am wrong)... I have a few questions which have been bothering me for a while... 1. When we store the values for mass, centering, dampening etc.,. function tables, what units are those values in? Is it in SI unit systems, where mass is in kilograms, force is in Newtons, displacement is in meters etc., For eg: from one of the toots... ; Initial condition f1 0 128 7 0 64 1 64 0 ; Masses f2 0 128 -7 1 128 0.6 Does this imply that the masses are varied from 1kg to 0.6 kg in a linear fashion over the whole system? .Are these values in the function tables being used directly by the source code to solve the force equation? I believe if I know what these values signify, I might have a better understanding of what is a 'safe' range for these different parameters? I would love to see how the opcode has been actually implemented in C. Was wondering if I could somehow see the source code itself? 2. The other question is about the spring matrices...Does the spring matrix only specify WHAT masses are connected to each other or do they also contain the information regarding HOW strong these connections are? We have matrices for mass,centering, dampening, initial velocity, initial position, but when it comes to spring tensions between the masses we do not have a n*n matrix specifying how strong these connections are? We only have a connection matrix, which specifies only what masses are connected to what...Of course we do have the kstiff parameter, which sort of acts as a global scaling. Is it not so important to have such a matrix containing the spring tensions between masses? I am still a beginner when it comes to scanned synthesis and I am still exploring. Would be great if someone can help me out! Thanks a lot in advance Deepak. |