Jump to content

So at night I tend to get kinda loud when talking to others. I can't really hear my own voice because of my headset. So of course I get loud and my parents start to hear me. I was hoping someone could maybe code a program that plays a sound once your mic goes over a certain decibel, it would really help me control my noise level, especially at night. It would be nice if you could edit when the warning is given too.

Link to comment
https://linustechtips.com/topic/656261-could-someone-code-this/
Share on other sites

Link to post
Share on other sites

9 minutes ago, Maihym said:

It would be nice if you could edit when the warning is given too.

Are you referring to both decibel level and time?  Also, would you expect this warning sound to get louder the higher you exceed the specified decibel level

Link to comment
https://linustechtips.com/topic/656261-could-someone-code-this/#findComment-8480039
Share on other sites

Link to post
Share on other sites

17 minutes ago, savstars said:

Are you referring to both decibel level and time?  Also, would you expect this warning sound to get louder the higher you exceed the specified decibel level

That's actually a good idea, maybe you can set how loud the warning is, like a base then let it slowly get louder. But it would also be nice to have some sort of schedule function. So the program only gives you warnings within a certain time frame.

Link to comment
https://linustechtips.com/topic/656261-could-someone-code-this/#findComment-8480239
Share on other sites

Link to post
Share on other sites

5 minutes ago, sukhvir41 said:

@Maihym try this out . Developed it by myself in java. You will have to provide the audio file if not compatible it will show an error . Test it out first and then give me the feedback. Hope you like it.

MicLevel.zip

Alright thank you, I'll test it out when I get home. Where do I put the audio file and what format should it be in and how do I specify the file?

Link to comment
https://linustechtips.com/topic/656261-could-someone-code-this/#findComment-8495018
Share on other sites

Link to post
Share on other sites

Just now, Maihym said:

Alright thank you, I'll test it out when I get home. Where do I put the audio file and what format should it be in and how do I specify the file?

file supported JMF should work , you can check the list online.

there is a textField where you have to give the entire file path.

you will understand when open it.

Link to comment
https://linustechtips.com/topic/656261-could-someone-code-this/#findComment-8495037
Share on other sites

Link to post
Share on other sites

3 hours ago, sukhvir41 said:

@Maihym this is the updated file dont use the old one . only wav files are supported. It should work now.

MicLevel.jar

How does it know what audio source I'm using? Also when I start it everything at the top just stays at 1.

Link to comment
https://linustechtips.com/topic/656261-could-someone-code-this/#findComment-8497871
Share on other sites

Link to post
Share on other sites

7 hours ago, Maihym said:

How does it know what audio source I'm using? Also when I start it everything at the top just stays at 1.

You will have to select the audio source in your driver settings and then start it and set the limit to what ever dp you want and the audio source also. Let me know how it goes

Link to comment
https://linustechtips.com/topic/656261-could-someone-code-this/#findComment-8500509
Share on other sites

Link to post
Share on other sites

3 minutes ago, sukhvir41 said:

You will have to select the audio source in your driver settings and then start it and set the limit to what ever dp you want and the audio source also. Let me know how it goes

It's working out but it spams the audio file when you go over the limit.

Link to comment
https://linustechtips.com/topic/656261-could-someone-code-this/#findComment-8500516
Share on other sites

Link to post
Share on other sites

I

1 hour ago, Maihym said:

Other than that I think it works quite well. See if you can make it activate on a timer so I can leave it on only at night

I have updated it so it does not spam but it will play the audio every 2 seconds if you are above the limit more than 2 seconds. How should the timer part work.

MicLevel.zip

Link to comment
https://linustechtips.com/topic/656261-could-someone-code-this/#findComment-8502723
Share on other sites

Link to post
Share on other sites

7 minutes ago, sukhvir41 said:

I

I have updated it so it does not spam but it will play the audio every 2 seconds if you are above the limit more than 2 seconds. How should the timer part work.

MicLevel.zip

Make it even louder? If you can't do that then make something pop up so you have to close it to use your pc. Something like how windows pops up asking for admin permissions.

Link to comment
https://linustechtips.com/topic/656261-could-someone-code-this/#findComment-8502786
Share on other sites

Link to post
Share on other sites

23 minutes ago, sukhvir41 said:

I

I have updated it so it does not spam but it will play the audio every 2 seconds if you are above the limit more than 2 seconds. How should the timer part work.

MicLevel.zip

As for the timer I meant like a schedule, so you can set like a time frame as to when the alarm is set as active.

Link to comment
https://linustechtips.com/topic/656261-could-someone-code-this/#findComment-8502888
Share on other sites

Link to post
Share on other sites

29 minutes ago, Maihym said:

Make it even louder? If you can't do that then make something pop up so you have to close it to use your pc. Something like how windows pops up asking for admin permissions.

 

by making it even louder you mean the audio clip right.

Link to comment
https://linustechtips.com/topic/656261-could-someone-code-this/#findComment-8502984
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×