Search:

Type: Posts; User: Zaphod_b

Search: Search took 0.10 seconds.

  1. Re: how to make my code play some audio?Just a bit!

    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...
  2. Re: how to make my code play some audio?Just a bit!

    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...
  3. Re: how to make my code play some audio?Just a bit!

    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
    {
    ...
  4. Re: how to make my code play some audio?Just a bit!

    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...
Results 1 to 4 of 4