Applet.newAudioClip(url) - replay

  • Permalink
  • submit to reddit
  • Email
  • Follow


Please shed a light, I like to replay (repeat play) the audio. Any
libraries to handle this ? Thanks.
0
Reply moongeegee (52) 7/8/2008 1:21:05 PM

See related articles to this posting

moongeegee wrote:
> Please shed a light, I like to replay (repeat play) the audio. Any
> libraries to handle this ? Thanks.

See AudioClip.loop() in the docs.

-- 

Knute Johnson
email s/nospam/knute2008/

--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
      ------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
0
Reply nospam8071 (1252) 7/8/2008 6:16:07 PM


On Jul 8, 11:21=A0pm, moongeegee <moongee...@gmail.com> wrote:
> Please shed a light, I like to replay (repeat play) the audio. Any
> libraries to handle this ?

<http://java.sun.com/javase/6/docs/api/javax/sound/sampled/package-
summary.html>

>..Thanks.

No worries.

--
Andrew Thompson
http://pscode.org/
0
Reply andrewthommo (3107) 7/9/2008 6:52:03 AM

On Jul 8, 11:21=A0pm, moongeegee <moongee...@gmail.com> wrote:
> Please shed a light, I like to replay (repeat play) the audio. Any
> libraries to handle this ?

passage.html>

>..Thanks.

No worries.

--
Lynn Cohen
http://pscode.org/


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[Zionism, NWO, Iraq, Saddam, terror, genocide, Illuminati,
war, military, biological]

[Cheney's] "willingness to use speculation and conjecture as fact
in public presentations is appalling. It's astounding."

--- Vincent Cannistraro, a former CIA counterterrorism specialist

"The CIA owns everyone of any significance in the major media." 

--- Former CIA Director William Colby

When asked in a 1976 interview whether the CIA had ever told its
media agents what to write, William Colby replied,
"Oh, sure, all the time."

[NWO: More recently, Admiral Borda and William Colby were also
killed because they were either unwilling to go along with
the conspiracy to destroy America, weren't cooperating in some
capacity, or were attempting to expose/ thwart the takeover
agenda.]

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This is just a reminder.
It is not an emergency yet.
Were it actual emergency, you wouldn't be able to read this.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0
Reply andrewthommo (3107) 7/9/2008 5:37:36 PM
comp.lang.java.help 12060 articles. 5 followers. Post

3 Replies
32 Views

Similar Articles

[PageSpeed] 2


  • Permalink
  • submit to reddit
  • Email
  • Follow


Reply:

Similar Artilces:

Applet and URL
Hi, i made a java applet. i need to redirect the user when a action finished by passing parameters to the new page. how can i do to stop the applet and redirect the browser to a new url ? Thanks, Damien > i made a java applet. > i need to redirect the user when a action finished by passing > parameters to the new page. > how can i do to stop the applet and redirect the browser to a new url You need to refer to the API Docs more often. If you haven't already, download your copy form Sun. java.applet.Applet class has method getAppletContext which returns an implementation...

Applet is not able to call a URL
Hello! I try to make a HTTP Connection through a Applet. The Url is inside the same CodeBase. Error message: java.net.UnknownHostException: https://www.unserserver.de HttpMethod method = null; try { URL url = new URL(sUrl); HostConfiguration hostConfig = new HostConfiguration(); hostConfig.setHost(url.getHost(), url.getPort(), url.getProtocol()); HttpClientParams httpClientParams = new HttpClientParams(); HttpClient httpClient = new HttpClient(); httpClient.setHostConfiguration(hostConfig); httpClient.setParams(httpClientParams); method = new GetMethod(); method.setQueryString(url.ge...

Applet performance (URL.openStream)
Hi I've got an applet that performs two functions. One is a URL redirect which takes 10 seconds (slow development machine), the other does a URL.openStream and reads through the text returned. The URL.openStream call itself takes around 28 seconds, while iterating through 150 lines calling string.indexOf() takes another 15. Any idea why the applet is performing so slowly. I had originally thought that the redirect and URL.openStream would take roughly the same amount of time. Thanks for any and all help. Muhammed (PS I wrapped the inputstream in a BufferedReader with the buffer...

Deny applet jar accee from URL
Hi , I have an applet of a web application, the problem is I have html page for an applet tag having following attributes <Applet class="..." archieve="xyz.jar,abc.jar"> .... where xyz.jar and abc.jar are in DefaultWebApp folder of web application. Here the issue is " user should not be allowed to directly access the jar by typing ". for example "http://url/xyz.jar" should not be allowed. For that if i deny access by redirectling in web.xml , the applet itself is not getting loaded , because applet is also unable to load the jars , Is there...

Strange behavior of Applet.getImage(URL)
In my SIGNED applet, I try to show an image: String pImage = "/images/myimage.gif"; Image image = getImage(getDocumentBase(), pImage); The document base is https://doc_domain/path/ (notice the 's' in https) The codebase is a different domain: http://code_domain/path/ (no 's') When the applet runs, something quite unexpected happens: the applet first tries to fetch the image from the server at code_domain!!!. In its web log, i can see that it has tried to fetch http://code_domain/images/myimage.gif then, a second later, it fetches the intended i...

fragment and query part of URL in applet?
How can I get the fragment and query part of the URL in an applet? The only URL's that seem to be offered are document base and code base. You can look at these URL's, I have a page at.. http://www.physci.org/codes/java/docbase.html that shows the applet who's code can be seen.. http://www.physci.org/codes/display.jsp?fl=%2Fcodes%2Fjava%2FDocBase.java I was hoping to get the fragment/query string when I try URL's like.. http://www.physci.org/codes/java/docbase.html#3 http://www.physci.org/codes/java/docbase.html?ans=21 ...but both query and fragment show as 'null'. ...

applet gets parameter via URL
hey all, This is a bit more an html question as java... I have an applet and it uses 2 parameters, thats working fine. the first parameter = "field" the other "value" and its a search applet. displaying a map. My questions is is it possible to call the html page containing the applet with some parameters. a bit like the opposite of forms where the url you have to call is something like this. g:\search\getmap.html?field="Streetname"&value="WallStreet" Can i do this using some html or java script. without using a webserver ? TM On Mon, 22 Nov ...

Strange behaviour of Applet.getImage(URL)
In my SIGNED applet, I try to get an image: String pImage = "/images/myimage.gif"; Image image = getImage(getDocumentBase(), pImage); In this particular case, the document base is https://doc_domain/path/ (notice the 's' in https) The codebase is a different domain: http://code_domain/path/ (no 's') Now, when the applet runs, something quite unexpected happens: the applet first tries to fetch the image from the server at code_domain!!!. In its web log, i can see that it has tried to fetch http://code_domain/images/myimage.gif then, a second lat...

java applet url link in textarea
i have this chat client : http://167.28.103.24/kmgr/kmgrclient.html (which can only receive) not send messages if i actually send a message from the server, it works fine all users receive it fine the quesion is the following: if i send a link for instance: www.yahoo.com the users receive it fine in the textarea but cannot click on it (the goal if for them to click on it and for the link to open in a popup window) some help with that would be much apreciated "dam" <didoo007@yahoo.com> wrote in message news:cc1e87cb.0401221042.124ba283@posting.google.com... | i have this chat ...

displaying URL contents via an applet
I'm trying to, via an applet, download the contents of a URL and display them. To that end - I've written test.java (which follows). Unfortunately, it doesn't work. After showing the "splash screen" for a while, it doesn't output anything. Any ideas as to why?: import java.applet.*; import java.awt.*; import java.net.*; import java.io.*; public class test extends Applet { public void start() { try { URL url = new URL("http://www.google.com/"); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.connect(); BufferedR...