Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the sound when done #78

Closed
HumanError13 opened this issue Oct 18, 2024 · 3 comments
Closed

Changing the sound when done #78

HumanError13 opened this issue Oct 18, 2024 · 3 comments

Comments

@HumanError13
Copy link

HumanError13 commented Oct 18, 2024

Hi again,

I rely on the "When done: Play sound" feature, which is absolutely great when keeping it running in the backkground and doing other work. But more than enough I'm about to get a heart attack when suddenly my headphones are screaming "TADAAA". I don't know about C++ and how to compile stuff.

I guess it's line 731 in Form1.cs to be changed:

            else if (comboBox2.Text == "Play sound")
                new SoundPlayer(Properties.Resources.tada).Play();

to something like:

            else if (comboBox2.Text == "Play sound")
                new SoundPlayer("custom.wav").Play();

So one could place any custom.wav file in the folder of the main.exe and it should play that, right? Just a suggestion, maybe there are better solutions.

@tigros
Copy link
Owner

tigros commented Oct 18, 2024

can do that, make it load sound.wav which you can replace. super easy to do.

maybe send me a better default sound if you want, all ears.

@HumanError13
Copy link
Author

Awesome, thanks!!

If you are going for standard windows sounds, I find Alarm03.wav or Ring06.wav in Windows 10 quite pleasing, for example. As found in the Windows/Media folder.

@tigros
Copy link
Owner

tigros commented Oct 26, 2024

done in 3.6

@tigros tigros closed this as completed Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants