battle programminga forum for elite programmerswith extreme will powerto sharpen theire skills
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Share | 

 moan time gate

Go down 
Moti Barski

Moti Barski

Posts : 271
Join date : 2011-08-02

PostSubject: moan time gate   Fri Jan 25, 2019 8:23 pm

I have created a formula that allocates the times in which a moan can be played
without overlapping with the next moans that play, assuming the moans are played in succession :

(time div (moan duration + extra tolerance time)) mod 2 == 0

if for example a moan is a 11 sec audio
it cannot be played at times :
1, 10, 20
1, 7, 13

and if you were to play it once per minute it would cause to much of a wait.

using the said formula :

21, 44, 5, 23 : no overlapping problem

granted the play would have to be disabled after been played until the next cycle arrives
in other words : one play per cycle


MB over and out _______________________     
Back to top Go down
View user profile
moan time gate
Back to top 
Page 1 of 1
 Similar topics
» Time travel(control) with Dr. David Anderson on Art Bell
» Using Webdriver java :Obtaining an OTP(Ont time Password) PIn from an registered email ID and use the value in an text box field of my Webapp URL.
» Change Date and Time in Windows 7
» How to click random checkbox
» Neurontin/Gabapentin...

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: battle programming-
Jump to: