hey nomouse,
thank you very much. i ve got the basic setup runnin. sensor detects motion and sends midi note on. triggering a one-shot sample works as well. only thing is that the sensor seems a little unstable. i found something in the forum about calibration time every time the circuit is powered up. i try to add this to code.
you are right sometimes the sensor goes low, even if a motion is still present. i will try to tell arduino to ignore this by your "sounding" idea. i hope this works out.
thank you so far...
miksen