Click here to Skip to main content
14,332,423 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hello everyone.
I'm just a newbie in coding and I would like to ask for some of your help on my little project. I'm currently trying to make a simple adjustable 99900 milliseconds countdown timer that is trigger by any sound (strong enough) it pick-up from an android phone's microphone and plays a SCARY_SOUND.mp3 located inside the phone after the timer reaches zero.
This project will be running on my android phone..

1.) 99900 milliseconds countdown timer
2.) way to access and used an android phone's microphone
3.) retrieve audio files in phone's memory

I really appreciate any help I can get...
Thank you everyone...

What I have tried:



 div {
	-webkit-align-self: center; /* Safari 7.0+ */
	align-self: center;	}
 .Add10000, .Add1000, .Add100, 
 .Subtract10000, .Subtract1000, .Subtract100 {
	background-color: blue;
	color: white;
	font-size: 89.43px;}






        <table table;" cellspacing="0" cellpadding="0" border="1">
                <td><button class="Add10000">+</button></td>
                <td><button class="Add1000">+</button></td>
                <td><button class="Add100">+</button></td>
				<td class="Addonemilli"></td>
                <td><div id="tenthousand" style="font-size: 271px;">0</div></td>
                <td><div id="onethousand" style="font-size: 271px;">0</div></td>
                <td><div id="onehundred" style="font-size: 271px;">0</div></td>
                <td><div id="tensones" style="font-size: 89.43px;">00</div></td>
                <td><button class="Subtract10000">-</button></td>
                <td><button class="Subtract1000">-</button></td>
                <td><button class="Subtract100">-</button></td>
				<td class="subtractonemili"></td>
                <td colspan="1" style="padding-right:3px;" align="right">
                    <button id="Start" style="font-size: 48px;">Start</button>
					<button id="Reset" style="font-size: 48px;">Reset</button>
					<button id="Stop" style="font-size: 48px;">Sound Test</button>

Updated 26-Jul-19 21:37pm
Dave Kreskowiak 27-Jul-19 9:22am
So you want to play a sound almost 100 seconds after you hear a sound loud enough to start the timer?

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100