Here's a template I have been playing with. It converts the accelerometer data to CC messages, and has a few features that make it easier to use.
I think the main feature of this template are the "SET" buttons. Hold the iPhone in the position that you want associated with CC value of 0, then tap SET. Then move the iPhone to the position you want associated with CC value 127, then tap SET again. Now you can generate the full 0 to 127 CC range with small movements of the iPhone.
You are a fine person, thank you! Despite my best efforts I still can create my own iphone templates very easily, so this really helps as a device and as a lesson
but why do not use Z axis ??
please answer me
because I think the Z axis is the best to control for velocity or volume.
so your template is a great job!!