Hai , How can i make beep sound in java,with out sound card, is it possible? how can i implement this, please help me.

Recommended Answers

All 3 Replies

java.awt.Toolkit.beep();

i already tried Toolkit tk = Toolkit.getDefaultToolkit();tk.beep(); but does not working wit out sound card.

Member Avatar for JSPMA1988

Use the escape character '\a' for the audible bell. And unless your mainboard built-in sound, you won't hear a thing without a sound card.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.