I have a friend building a fantasy steampunk car for burning man. I'd like to create sounds so it sounds like a steam engine. He's got pistons attached to the wheels so it looks like a train.
I will be hooking up some sort of sensor to know where the piston is in its cycle. I'll be using that to trigger steam puff sounds. I'll have some kind of computer on board to be able to generate the sound.
I don't know if it is something I could completely synthesize in rhythm to the piston, or if I'll end up playing samples based on the piston position and speed. I'd love to have it sound a little erratic so it's more realistic.
I assume I'll have a rotary encoder or something equivalent to tell me what position the piston is at.
Seems like game designers would need to do this kind of thing all the time. I just don't have a clue where to start.