Guys, any advice on pressure sensitive drums would be helpful
![wroachbarrette](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
ive posted this topic so many times and ive never been able to get any response which means that a no one knows how to do it, or those that do dont feel like explaining, but i could REALLY use your guyses help, i need to figure out how to have volume controlled by how hard you tap on a drum, if you have any thoughts on this PLEASE post them, thanks
Comments
Lump Apps and My Assets
In that case I would try a free app that gives you read out from the accelerometer.
Hit the screen the way you think is right and read out the numbers. Then translate it into some equation.
I know I am not giving solutions but just hints. Perhaps you thought of this before.
In that case my appologies.
Lump Apps and My Assets
Ace
The first sound could just play anyway as a soft hit on touch
the second sound triggered by a reading of accelerometer Z dropping below whatever you you test and would work,
and the third bringing in a last more percussive sound.
Each of these could be tailored by enveloping each sound based on the length of the time that the accelerometer sat over a specific reading or fixed to an envelope that varied with the output of the accelerometer. It will take some setting up and experimenting with but I think something would be possible. To start with I would try to capture accelerometer readings of hits to see what you are working with and look at the variations so you can build rules based on them. For this I would build a rule that captures the movement by changing an attribute if the input is larger than the current value, and then display that value in a display text in an actor. I would also ad a reset button so you could keep experimenting with it without having to restart the app. A timer would also be useful to work out how long movement continued for, done in a similar way.
I don't have time to build a demo at the moment but I've been very happily surprised what you can do with GS and sound.
I hope that helps
kipper
Double-Plus good.
My thoughts exactly.
GarageBand doesn't just change the volume, it uses different but related samples to really have a sound that suggests more force was used.
http://itunes.apple.com/us/app/idevices/id343351276?mt=8
it's a free app someone from this forum made a long time ago that gives you accell data and touch for that matter.
play sound (in the volume of the sound use the above accelerometer value in an equation of some sort)
Otherwise
if accelerometer is < ???
play sound
Other wise...
something like that i guess. Here's the trouble you may have. If you are holding the ipad up in the air and tap it it will react much differently than if you have it on a table top. Both because of the different orientation and also because the table top will not allow the iPad to move very much.
To solve the first issue you will need to have calibration system in place. I believe Jon Mulcahy has a free template from his z is for zombies game that you can find in the start screen of GScreator.
No idea how to account for the surface that the ipad will be on during the drumming session. You may have to recommend that the user hold the ipad in the air or on their lap (though some people's laps are squishier than others!)
best of luck - I can't wait to see what you come up with as I think you will have to really think outside the box on this one.
This would work but i just got the last thing typed in and when i tried loading it onto the ipad the thing froze and now i CANT OPEN IT BACK UP it just spins and spins and spins, this isnt good