Name: Anonymous 2013-07-03 12:47
Now first off, I just want to say that I am not even close to a programmer nor do I wish to try and learn to be one. But I have this python script that I got forever ago off of /d/ that I sometimes make minor adjustments to. This script basically loads images out of a folder and displays them, and a randomized counter than counts down (60, 59, 58...) at random speeds, and an intensity (Hard, Soft, Medium) and you keep going until you cum. I remember it was made in response to the fap gauntlet threads you'd sometime see pop up so it's an endurance kind of game.
Anyway, I was able to change small things like making the random numbers a bit less random. (such as, making the time increments exact numbers ala 1 stroke/sec, 2 strokes/sec instead of 1.5923895 strokes/sec, 3.456235 strokes/sec.)It also had a function where it would download all the picture of a thread to the cache where you store your images, but I am fairly certain that part of it is long broken.
But now what I want to do is whenever it counts down a number, have it also play a short sound, to keep tempo with easily instead of manually looking at the numbers count down (and therefore not at the porn.) But I have run into a bit of a wall.
I figured the mechanism by which it counts down would be a loop with something that just subtracts 1 every loop and that I could just insert some code that would play a sound every loop with it, but I can find no such loop. Even more confusing to me is that I cannot find a simple way to just play audio through python.
So basically; Is what I want to do possible without having to completely alter the code like I was hoping, and if so, how would I do it?
Here is a link to the code for those who want to help or just play a stupid wanking endurance game: http://pastebin.com/mU8CgtMf
Anyway, I was able to change small things like making the random numbers a bit less random. (such as, making the time increments exact numbers ala 1 stroke/sec, 2 strokes/sec instead of 1.5923895 strokes/sec, 3.456235 strokes/sec.)It also had a function where it would download all the picture of a thread to the cache where you store your images, but I am fairly certain that part of it is long broken.
But now what I want to do is whenever it counts down a number, have it also play a short sound, to keep tempo with easily instead of manually looking at the numbers count down (and therefore not at the porn.) But I have run into a bit of a wall.
I figured the mechanism by which it counts down would be a loop with something that just subtracts 1 every loop and that I could just insert some code that would play a sound every loop with it, but I can find no such loop. Even more confusing to me is that I cannot find a simple way to just play audio through python.
So basically; Is what I want to do possible without having to completely alter the code like I was hoping, and if so, how would I do it?
Here is a link to the code for those who want to help or just play a stupid wanking endurance game: http://pastebin.com/mU8CgtMf