i want to write a code that sets an interval of time for a certain method and run it 4 times for specific time, inside that interval.
for exemple: i have to generate a sound from the smartphone's speaker. the sound's length is 10 ms, and i want to generate that sound every 50 ms in an interval of 200 ms.
any ideas on how to do that?
for exemple: i have to generate a sound from the smartphone's speaker. the sound's length is 10 ms, and i want to generate that sound every 50 ms in an interval of 200 ms.
any ideas on how to do that?
