Interfacing pulses from bicycle with sound Profiles in electric bike

input speed of what?

The input speed of the pulses coming from your spokes.

because I am newbie.

That didn't come over on the first post. In which case what do you mean by:-

Based on pulse difference between two spokes, I want to modify the parameters :

pulse diff = (0-500) : Set vol = 100, speed = 100, Silence factor = 100 and mix factor = 100
pulse diff = (500-1000) : Set vol = 50 ; speed =50 ; silence factor = 50 and mix factor = 50

You must have written some code that sets these parameters?