Question about Operating Systems

1 Answer

How can I play a .wav file,.au file in a JDK 1.1.x applet?

Dear Sir,
I have some doubt, please help me in this regard. How can I play a .wav file,.au file in a JDK 1.1.x applet? I need some source code.

waiting for your reply
Abhi

Posted by on

1 Answer

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Genius:

    An expert who has answered 1,000 questions.

  • Master
  • 2,785 Answers

Plz try with vlc media player

Posted on Jan 12, 2009

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

It stops playing certain song after a few seconds


I am glad to HELP YOU!

If your machine, using a multimedia application, it stops suddenly to play a CERTAIN song ["it stops playing certain song after a few seconds"] that means the file [the song, I mean] is broken/damaged/corrupted. So - using other words - cannot be read by the application itself.
All you need to do is to get another file [the same song but from a DIFFERENT SOURCE] hoping the new file will be in good condition.


My best regards!
... and don't forget to RATE, please...

Apr 20, 2011 | Operating Systems

2 Answers

I have some zvr. files dowloaded from voice recorder. Which driver should I download to play these file on my pc ?


A driver is not needed but a proper codec is.  I would suggest heading to ninite.com and downloading K-Lite codecs to see if it will help play your files. If not refer to the following article on how to convert that file type to mp3.
http://www.ehow.com/how_5943666_convert-zvr-mp3.html

Mar 21, 2011 | Operating Systems

2 Answers

Using Adobe Acrobat 9, I have created a PDF e-book with .WAV audio attached to images (via the Sound tool). The images show as they should, and clicking on them activates them. Fairly simple. But when I...


I wanted to be specific about this line in the official post regarding attachment of sound to an acrobat file in version 9

QuickTime 6.0 or later is required to work with movies in InDesign. You can add QuickTime, AVI, MPEG, and SWF movies. However, QuickTime no longer offers full support of SWF files. You can also add WAV, AIF, and AU sound clips. InDesign supports only 8? or 16?bit WAV files that are not compressed.

These are the only official file formats of sound files which as per adobe can be attached with version 9 acrobat. You can go through rest of the article by clicking on the link below.

http://help.adobe.com/en_US/InDesign/6.0/WSC117AD88-69F6-4658-A1F1-12012B15B9D7.html

Feb 05, 2011 | Adobe Operating Systems

1 Answer

Sound does not work


Do you have the icon [Volume] in the "SysTray"?
Are any devices listed Yellow or Red in "Device Manager"?
Search for any WAV-file in the Windows-folder and play it.
Download "GSpot" http://www.headbands.com/gspot/
Run it and load the WAV-file to it.
GSpot (excellent app) will check if the "codecs" are installed (needed for playing media files).



Jul 18, 2010 | Microsoft Windows XP Home Edition

1 Answer

The CD's I make no longer play in my car and other regular CD players. They are getting embedded in a folder and then burning. I did make sure they are ripping to mp3, not wma. Is there a setting I need to...


Are you writing a "data" CD, with many MP3 files,
or are you using Windows Media Player to burn a "music" CD?
Windows Media Player will convert the MP3 files back to WAV files.

The CD-reader in your car cannot read MP3 files -- it can only read WAV files -- commercial CDs are written as WAV files.

When you put the CD into your computer, how many megabytes of the disk are "used", and how many "tracks" are there on the CD?

Oct 29, 2009 | Microsoft Windows Vista Home Premium with...

1 Answer

I need to program a calculator in vb 6


Dear here is the link that contains a sample code to your problem.

http://www.vb6.us/source-code/simple-calculator-written-vb6

Best regard

May 26, 2009 | Microsoft Windows XP Professional

1 Answer

How to play audio clip in java


  • Create an AudioClip object
  • Load .au sound file into AudioClip
  • Play sounds once or loop continuously
  • Stop playback


Here's how the code for these steps looks:
import java.applet.*;
AudioClip ac = getAudioClip(getCodeBase(), soundFile);
ac.play(); //play once
ac.stop(); //stop playing
ac.loop(); //play continuously


It would seem logical to use this same code to play audio clips in a Java application. Unfortunately, if you do that you will get errors from the compiler. Why? Because the AudioClip object and the getAudioClip() method are part of the java.applet package -- and are not part of applications. The good news is we can dive down and make things work ourselves.
The trick to solving this problem is to use some undocumented features that are provided by Sun in its JDK. Taking a peek inside the classes.zip file from the Sun JDK (using any of the various zipfile utilities), we find not only the standard Java packages such as java.applet but also sun.audio. (These are in the directory sun/audio.)
The sun.audio package contains everything we need to be able to play audio clips! Here's the code:
import sun.audio.*; //import the sun.audio package
import java.io.*;
//** add this into your application code as appropriate
// Open an input stream to the audio file.
InputStream in = new FileInputStream(Filename);
// Create an AudioStream object from the input stream.
AudioStream as = new AudioStream(in);
// Use the static class member "player" from class AudioPlayer to play
// clip.
AudioPlayer.player.start(as);
// Similarly, to stop the audio.
AudioPlayer.player.stop(as);


To use a URL as the audio stream source, substitute the following for the input stream and audio stream setup:
AudioStream as = new AudioStream (url.openStream());


Playing the audio stream continuously adds a bit more complexity:
// Create audio stream as discussed previously.
// Create AudioData source.
AudioData data = as.getData();
// Create ContinuousAudioDataStream.
ContinuousAudioDataStream cas = new ContinuousAudioDataStream (data);
// Play audio.
AudioPlayer.player.play (cas);
// Similarly, to stop the audio.
AudioPlayer.player.stop (cas);

Jan 22, 2009 | Operating Systems

1 Answer

I need source code on how to play ogg, 3gp in visual basic


Hai...
It is a hint note it...
I am not sure about this,
1)Start ur Media player file as wmplayer.exe
OR
2)Set the file path..


process.start("wmplayer.exe")

Regards
Mani
mani@merittech.co.in

Dec 11, 2008 | Microsoft Windows Server Standard 2003 for...

1 Answer

Request


Hi,
The fix for your issue is fairly easy if your pc usage skill level is intermediate to advanced. The step by step process can be found here:
http://www.mydigitallife.info/2007/12/21/fix-error-80070002-when-using-windows-update-in-vista/

I would suggest if you doubt your ability to do this operation, it would behove you to get some one who is qualified to execute the procedure.

anaanymous


Rate Me Please! Hate it? Rate it…Like it, try it!
Thank you for submitting your question to FixYa.com
Would you please take a moment and show your appreciation by rating my performance.
All ratings and comments are welcome. Thank you - anaanymous

Oct 18, 2008 | Microsoft Windows XP Professional

Not finding what you are looking for?
Operating Systems Logo

Related Topics:

67 people viewed this question

Ask a Question

Usually answered in minutes!

Top Operating Systems Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18297 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Prashant  Sharma
Prashant Sharma

Level 3 Expert

1127 Answers

Are you an Operating System Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...