As mentioned in the javadoc comments for SimpleAudioPlayer: "Only PCM encoded files are supported. A-law, μ-law, ADPCM, ogg vorbis, mp3 and other compressed data formats are not supported." Many...
Type: Posts; User: Zaphod_b
As mentioned in the javadoc comments for SimpleAudioPlayer: "Only PCM encoded files are supported. A-law, μ-law, ADPCM, ogg vorbis, mp3 and other compressed data formats are not supported." Many...
The Netbeans terminal emulator does not work very well with control characters (and, in particular doesn't work with '\007'). That's one reason I always start with command line programs and I always...
Well, I said that it might not make a beep. I am, however surprised that you got a square printed out.
Here's what I did:
created the following in a file named Z.java:
public class Z
{
...
If you have a speaker on your system and just want to make it beep, you can try the following:
System.out.println('\007');
I'm talking about an old-fashioned "raw" speaker here, not...