Help streaming music with an applet

I have been trying to play music in an applet, but when I play it the music is very choppy and full of static. I tried using Javax.Sound and then no music plays and the program freezes up. Is only AudioClip available to use with applets? If it is can you stream music the same way you can stream using Javax.Sound? If you have any ideas please let me know.
Mike

It is very possible that you may have some form of Wi-Fi interference that has been introduced recently in the immediate area that is preventing your 802.11n AirPort Express Base Station (AXn) from getting a good clean signal.
I suggest you perform a simple site survey, using utilities like MacStumbler or iStumbler to determine potential areas of interference, and then, try to either eliminate or significantly reduce them where possible.
You may also consider switching to the 5 GHz radio mode, if not already, to see if this helps.

Similar Messages

  • Streaming music with Windows 7

    I have windows 7 and I have just received an airport express for Christmas.  All I want to do with it is stream music from my computer to my stereo.  How do I do this?  The instructions provided with the unit were inadequate.

    Streaming using AirPlay requires, as a minimum, the following three things:
    An iTunes server. This typically is the iTunes application. There are versions of iTunes for Windows-based PCs.
    An AirPlay "speaker." This could be an AirPort Express, Apple TV, or an AirPlay-ready device.
    A wired or wireless network.
    In your case you would need to install iTunes on your PC, if you don't already have it. You would also need to use the appropriate audio cable between the audio port on the Express and your stereo.

  • Streaming music with Itunes?

    How to create a web-show with Itunes?
    1. The music I want to broadcast is 100% free (music made at home by me and by a community of artist from Europe and America)
    2. How to configure ITunes to broadcast thru the web?
    3. Do I need a 'server' like shoutcast or something like?
    4. How to allow users to connect to my show?
    Any help is higly appreciated!
    Thanx.

    Shoutcast or Live365.com are great resources for homemade streaming. iTunes will not "broadcast" to the web, you need to have some kind of server driving the process.

  • Problem streaming music with New Apple TV- Anyone else?

    I am new to Apple TV.  I have been using a Sony BDP580 (DLNA) to stream my FLAC digital music via a wired LAN.  It works flawlessly.  I just got the new Apple TV for streaming. I set it up and home shared with my Itunes library containing AIFF digital music via same wired LAN.  It sees everything but each time I start a song, it plays for about 35 seconds and then starts studdering and hestitates, finally stopping altogether and displays an error message saying, "An error occurred loading this content.  Try again later."  This happens everytime, with any song I select.
    I assumed this was a buffering problem, so I tried same songs again but this time paused them immediately after starting the song.  If I paused for 15-20 seconds, I got about 2.5-3 minutes of music before it did it's studdering thing and stopped altogether.  If I paused for 90 seconds or so, I could get thru an entire 10 minute song.  Seems to confirm a buffering problem.
    I have not tried streaming MP3's yet but that is not my intention.
    I realize that the software is new but this is basically unuseable as it currently functions. I am considering trying to return the the Apple TV.  Are there similiar  kinds of problems when new Apple TV software is released?  If so, is Apple quick with fixes and updates? 
    By the way, I also got a new IPAD and love it. 

    I have an older PC with Windows XP Professional on it. I updated to the latest iTunes and I am able to access the photos, etc. on it. However, my Windows 7 PC still does work (since last Apple TV update). Apple TV does not recognize that Home Sharing is turned here. The latter PC has all my current photos on it which I would like share with others on my Apple TV. A fix would be appreciated.

  • Suddenly I do not could reach my Time Capsule...??? I can surf on net, but I could not stream music with Airplay and my Time Machine could not either take back up!? What is wrong?

    Why could I suddenly do not play music to my music components with Airplay, as I could do yesterday? And my Time Machine could not take back up because my MacBook Pro could not find my Time Capsule? My internet connect is OK...! What´s wrong today? 

    Power down everything in the network.. start up in the correct order..
    Modem.
    TC
    Any other network devices.
    Computers and clients.
    Everything needs a couple of minutes to get running before you start up the next part.
    If it doesn't fix it.. we need a whole lot more info.
    What Modem? Is it a router?
    How is the TC setup? How is it connected to the modem?
    What are you using for airplay?
    We need full details on every part of the network.. otherwise we have no way to help.

  • Choose streaming music with streaming photos?

    Hi -
    I am using the latest version of iTunes but have not updated my AppleTV.
    Anyway - I think there used to be a way to choose a folder of images to stream (as set up in iPhoto) and also pick the music to play while we were watching it.
    I can't seem to find a way to do this now - am I imagining things?
    Did a bunch of searches here but couldn't find a definitive answer.
    thanks,
    Andrew

    If you are streaming your photographs, you are using a secondary library; as such select photos/shared library from the tv, if you have more than one secondary library select one and let it load, once loaded select settings/default music to choose the music to accompany your slideshows.
    (Please excuse my unsupported nomenclature)

  • Streaming music with 2nd gen ipod

    I want to use mu 2nd gen ipod to stream itunes is there a way ?  3rd party or whatever?

    clementrouleau wrote:
    hello and thank you for your time
    I tried what you said, but to no avail
    It really seems like a software issue. ...
    You're welcome.
    Unless you get better suggestions here, and having ruled out other possibilities and concluded that software is the cause of your problem, my only remaining suggestion is that you try reinstalling and re-updating the software that you believe is damaged or causing the problem.
    Mac Pro Quad Core (Early 2009) 2.93Ghz Mac OS X (10.6.4); MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.4)
    LED Cinema Display; G4 PowerBook 1.67GHz (10.4.11); iBookSE 366MHz (10.3.9); External iSight; iPod touch 4.1

  • Cannot stream music via airport express with iOS7

    i just upgrade my ipad and iphone to the iOS7
    i try to stream music with my airport express but when i open the music app in my ipad
    or iphone the icon to send the music does not show.
    any ideas

    Thank you so, so, much - you've made my day!

  • Using airport express to extend network/stream music

    Hi,
    I just bought an airport express to extend my network throughout my house and stream music to my stereo system in my living room. My time capsule, which is connected to the DSL modem and is the base station, is in one far end of the house, while the airport express is at the other end. It has greatly improved the range of my network and when using my macbook in the front room, it gets full bars, however, the when using airtunes to stream music with iTunes 9 and OS 10.6, the music will cut in and out randomly and I occasionally get unknown error -15000 when trying to connect.
    I played around with the airport express channels (any channel other than 10 will receive an unknown error -15000 automatically,) adjusted the firewall, and adjusted Netbarrier X, my third party security software. I found information in this article:
    http://support.apple.com/kb/TA21538?viewlocale=en_US
    The only thing that works is moving the airport express close to my computer to remove the physical barriers. It plays perfectly then. Is it possible to buy a second airport express and plug it in halfway between my stereo and time capsule to boost the signal to the airport express plugged into my stereo? Will this solve the problem of the music stream cutting in and out every 10-20 seconds?

    Mad Cow wrote:
    I checked and my signal is -87 and noise is -95.
    At the risk of being the bearer of bad news, that's a rather poor signal value. Here is a description of what different ranges of signal-to-noise mean:
    http://discussions.apple.com/thread.jspa?messageID=10329543&start=1
    In the other post, you mentioned interference from other electronics. Could physical barriers be causing interference also?
    Barriers won't cause interference, but they can reduce signal transmission. How far apart are the two units, how many walls are in between, and of what material are those walls made?
    If this is the case, can I add a second airport express between my base station and stereo-attached airport express to boost the signal?
    In theory something like that might work, but I'm not sure that an AirPort Express can act as a "relay" station between a "main" station and a "remote" station. It might require an AirPort Extreme. Perhaps someone else can comment on that possibility.
    Can you relocate your Time Capsule to an different phone outlet? Can you use longer cables between the wall and the modem and/or between the modem and the Time Capsule to move the Time Capsule to the other side of the room to be nearer to your AirPort Express? Can you use a longer audio cable between your AirPort Express and your sound system?
    You may be able to use a pair of Power-Line units
    (http://computer.howstuffworks.com/power-network.htm) to connect your AirPort Express to your Time Capsule via Ethernet.

  • Car Stereo, Stream Music, Take Calls - BlueNEXT Adapter. Please help.

    Hi
    I've just changed my car and need some help and understanding.
    The car has an integrated bluetooth hands free kit.
    My wifes samsung paired immediately, my iPhone 3G had no joy pairing.
    I have bought a BlueNext Bluetooth adapter from ebay. Although not perfect it allows the iPhone to pair and works fairly well for calls.
    I was hoping using this A2DP adapter would also allow me to stream music, but it will not.
    My questions:
    If its working hands free for the phone calls why can't I stream music?
    The adapter pairs the iPhone but trys to also pair BTT001 but fails. Is this why I can't stream music.
    I'm tearing my hair out with this, so any help is appreciated.
    Message was edited by: bwfc0907

    this is somewhat a simple fix. after your bluetooth is connected/paired follow these simple instructions.
    1. Pair your headset, make a test call to see if it works. End the call normally. or go to voice mail to check if your paired.
    2. Dial *#307#, press call.
    3. Press the answer button twice with 2 seconds delay in your bluetooth headset (If you don't do this correctly, you will continue to listen the ringtone in headset)if done correctly you will NOT hear the ring.
    4. Press answer on iPhone. (do not end this call)
    5. Press the home button, do NOT end the call.
    6. Open iPod and play a song, YOU WONT HEAR SOUND!!! from iPhone, nor headset.
    7. Once it is playing, press the home button.
    8. Open phone.
    9. Dial 0, press Call.
    10. It will ring again, answer.
    11. Press audio source, select your headset.
    12. Press home button, do NOT end call. (we're almost there)
    13. Open iPod and play anything you like.
    Shorter Way:
    1. *#307# Dial, press the bluetooth headset button twice.
    2. Answer on iPhone, press source.
    3. Select bluetooth headset.
    4. Press home button, open iPod, play anything you would like.
    There are some Drawbacks, there is no way to answer the iPhone when it is in this function, so all of your calls go to voicemail. Still working on a fix for this but I hope to get it figured out!
    The saints revenge has spoken.

  • Hello,  can't stream music to my car with BT? But I can stream phone calls and the microphone

    Hello,
    I just bought my first car. A BMW 1 Series Convertible 2010 120i (sports pack). It has bluetooth, but not an iDrive screen.
    I have paired my iPhone with the car's bluetooth, and it works flawlessly to talk. And even Google Maps automatically pair with the speakers.
    But, oddly enough, I cannot stream music (Spotify) through bluetooth! It doesn't explain this in the instructions either. However, I can play music through the wired AUX input.
    Can you help me to solve this problem?
    Appreciate all the help I can get!
    Thank you,
    JL

    Hello JLJLJLJLJLJL!
    It 'a known issue with spotify ... the team is working hard to resolve any problems of incompatibility
    More information: CLICK HERE

  • HELP!!!! My ipad doesnt sync the music with my HP laptop properly.

    My ipad doesnt sync the music with my HP laptop properly. The music goes onto the ipad and doesnt start at the beginning of the tune when played as well as jumps within the tune itself. Anyone know how to fix this?
    When the music is played with either windows media player or itunes, the musics fine, but when its put onto the ipad, it doesnt work properly.
    I've tried it with my friends macbook and it syncs with that fine. It seems to be between my laptop and my ipad, but like I said before, the music works fine with my laptop and it doesnt give me no issues at all when either played on laptop or streamed to my sonos system.
    Any help will be much appreciated.

    Why not buy a Netbook which is much cheaper, has a better keyboard and no compatibility issues with your MS software?

  • How do I set up iPad with airport express to stream music to stereo without internet connection?

    how do i set up iPad and airport express to stream music to stereo without using internet connection.

    Your 4th gen iPad does have the necessary software to connect to the AirPort Express but not to administer it. To do the later, you would need to install the AirPort Utility applet.
    You said that your iPad can "see" the AirPort's wireless network, but can't connect. What happens exactly when you attempt to do so? Do any of your other wireless devices have any trouble connecting to the Express? Did you configure the Express for a closed network ... that is, not to broadcast its Network Name?

  • I had to restore all the files on my pc using carbonite.  I reinstalled iTunes and was able to find my music with the help of Apple support.  How do I find my podcasts?

    I had to restore all the files on my pc using carbonite.  I reinstalled iTunes and was able to find my music with the help of Apple support.  How do I find my podcasts?

    This helped, I restored them, but when I go to iTunes they are not there.    Is there another step?

  • I will pay for who can help me with this applet

    Hi!, sorry for my english, im spanish.
    I have a big problem with an applet:
    I�ve make an applet that sends files to a FTP Server with a progress bar.
    Its works fine on my IDE (JBuilder 9), but when I load into Internet Explorer (signed applet) it crash. The applet seems like blocked: it show the screen of java loading and dont show the progress bar, but it send the archives to the FTP server while shows the java loading screen.
    I will pay with a domain or with paypal to anyone who can help me with this problematic applet. I will give my code and the goal is only repair the applet. Only that.
    My email: [email protected]
    thanks in advance.
    adios!

    thaks for yours anwswers..
    harmmeijer: the applet is signed ok, I dont think that is the problem...
    itchyscratchy: the server calls are made from start() method. The applet is crashed during its sending files to FTP server, when finish, the applet look ok.
    The class I use is FtpBean: http://www.geocities.com/SiliconValley/Code/9129/javabean/ftpbean/
    (I test too with apache commons-net, and the same effect...)
    The ftp is Filezilla in localhost.
    This is the code, I explain a little:
    The start() method calls iniciar() method where its is defined the array of files to upload, and connect to ftp server. The for loop on every element of array and uploads a file on subirFichero() method.
    Basicaly its this.
    The HTML code is:
    <applet
           codebase = "."
           code     = "revelado.Upload.class"
           archive  = "revelado.jar"
           name     = "Revelado"
           width    = "750"
           height   = "415"
           hspace   = "0"
           vspace   = "0"
           align    = "middle"
         >
         <PARAM NAME="usern" VALUE="username">
         </applet>
    package revelado;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    import java.io.*;
    import javax.swing.border.*;
    import java.net.*;
    import ftp.*;
    public class Upload
        extends Applet {
      private boolean isStandalone = false;
      JPanel jPanel1 = new JPanel();
      JLabel jLabel1 = new JLabel();
      JLabel jlmensaje = new JLabel();
      JLabel jlarchivo = new JLabel();
      TitledBorder titledBorder1;
      TitledBorder titledBorder2;
      //mis variables
      String DIRECTORIOHOME = System.getProperty("user.home");
      String[] fotos_sel = new String[1000]; //array of selected images
      int[] indice_tamano = new int[1000]; //array of sizes
      int[] indice_cantidad = new int[1000]; //array of quantitys
      int num_fotos_sel = 0; //number of selected images
      double importe = 0; //total prize
      double[] precios_tam = {
          0.12, 0.39, 0.60, 1.50};
      //prizes
      String server = "localhost";
      String username = "pepe";
      String password = "pepe01";
      String nombreusuario = null;
      JProgressBar jProgreso = new JProgressBar();
      //Obtener el valor de un par�metro
      public String getParameter(String key, String def) {
        return isStandalone ? System.getProperty(key, def) :
            (getParameter(key) != null ? getParameter(key) : def);
      //Construir el applet
      public Upload() {
      //Inicializar el applet
      public void init() {
        try {
          jbInit();
        catch (Exception e) {
          e.printStackTrace();
      //Inicializaci�n de componentes
      private void jbInit() throws Exception {
        titledBorder1 = new TitledBorder("");
        titledBorder2 = new TitledBorder("");
        this.setLayout(null);
        jPanel1.setBackground(Color.lightGray);
        jPanel1.setBorder(BorderFactory.createEtchedBorder());
        jPanel1.setBounds(new Rectangle(113, 70, 541, 151));
        jPanel1.setLayout(null);
        jLabel1.setFont(new java.awt.Font("Dialog", 1, 16));
        jLabel1.setText("Subiendo archivos al servidor");
        jLabel1.setBounds(new Rectangle(150, 26, 242, 15));
        jlmensaje.setFont(new java.awt.Font("Dialog", 0, 10));
        jlmensaje.setForeground(Color.red);
        jlmensaje.setHorizontalAlignment(SwingConstants.CENTER);
        jlmensaje.setText(
            "Por favor, no cierre esta ventana hasta que termine de subir todas " +
            "las fotos");
        jlmensaje.setBounds(new Rectangle(59, 49, 422, 30));
        jlarchivo.setBackground(Color.white);
        jlarchivo.setBorder(titledBorder2);
        jlarchivo.setHorizontalAlignment(SwingConstants.CENTER);
        jlarchivo.setBounds(new Rectangle(16, 85, 508, 24));
        jProgreso.setForeground(new Color(49, 226, 197));
        jProgreso.setBounds(new Rectangle(130, 121, 281, 18));
        jPanel1.add(jlmensaje, null);
        jPanel1.add(jlarchivo, null);
        jPanel1.add(jProgreso, null);
        jPanel1.add(jLabel1, null);
        this.add(jPanel1, null);
        nombreusuario = getParameter("usern");
      //Iniciar el applet
      public void start() {
        jlarchivo.setText("Start() method...");
        iniciar();
      public void iniciar() {
        //init images selected array
        fotos_sel[0] = "C:/fotos/05160009.JPG";
        fotos_sel[1] = "C:/fotos/05160010.JPG";
        fotos_sel[2] = "C:/fotos/05160011.JPG";
         // etc...
         num_fotos_sel=3; //number of selected images
        //conectar al ftp (instanciar clase FtpExample)
        FtpExample miftp = new FtpExample();
        miftp.connect();
        //make the directory
         subirpedido(miftp); 
        jProgreso.setMinimum(0);
        jProgreso.setMaximum(num_fotos_sel);
        for (int i = 0; i < num_fotos_sel; i++) {
          jlarchivo.setText(fotos_sel);
    jProgreso.setValue(i);
    subirFichero(miftp, fotos_sel[i]);
    try {
    Thread.sleep(1000);
    catch (InterruptedException ex) {
    //salida(ex.toString());
    jlarchivo.setText("Proceso finalizado correctamente");
    jProgreso.setValue(num_fotos_sel);
    miftp.close();
    //Detener el applet
    public void stop() {
    //Destruir el applet
    public void destroy() {
    //Obtener informaci�n del applet
    public String getAppletInfo() {
    return "Subir ficheros al server";
    //Obtener informaci�n del par�metro
    public String[][] getParameterInfo() {
    return null;
    //sube al ftp (a la carpeta del usuario) el archivo
    //pedido.txt que tiene las lineas del pedido
    public void subirpedido(FtpExample miftp) {
    jlarchivo.setText("Iniciando la conexi�n...");
    //make folder of user
    miftp.directorio("www/usuarios/" + nombreusuario);
    //uploads a file
    public void subirFichero(FtpExample miftp, String nombre) {
    //remote name:
    String nremoto = "";
    int lr = nombre.lastIndexOf("\\");
    if (lr<0){
    lr = nombre.lastIndexOf("/");
    nremoto = nombre.substring(lr + 1);
    String archivoremoto = "www/usuarios/" + nombreusuario + "/" + nremoto;
    //upload file
    miftp.subir(nombre, archivoremoto);
    class FtpExample
    implements FtpObserver {
    FtpBean ftp;
    long num_of_bytes = 0;
    public FtpExample() {
    // Create a new FtpBean object.
    ftp = new FtpBean();
    // Connect to a ftp server.
    public void connect() {
    try {
    ftp.ftpConnect("localhost", "pepe", "pepe01");
    catch (Exception e) {
    System.out.println(e);
    // Close connection
    public void close() {
    try {
    ftp.close();
    catch (Exception e) {
    System.out.println(e);
    // Go to directory pub and list its content.
    public void listDirectory() {
    FtpListResult ftplrs = null;
    try {
    // Go to directory
    ftp.setDirectory("/");
    // Get its directory content.
    ftplrs = ftp.getDirectoryContent();
    catch (Exception e) {
    System.out.println(e);
    // Print out the type and file name of each row.
    while (ftplrs.next()) {
    int type = ftplrs.getType();
    if (type == FtpListResult.DIRECTORY) {
    System.out.print("DIR\t");
    else if (type == FtpListResult.FILE) {
    System.out.print("FILE\t");
    else if (type == FtpListResult.LINK) {
    System.out.print("LINK\t");
    else if (type == FtpListResult.OTHERS) {
    System.out.print("OTHER\t");
    System.out.println(ftplrs.getName());
    // Implemented for FtpObserver interface.
    // To monitor download progress.
    public void byteRead(int bytes) {
    num_of_bytes += bytes;
    System.out.println(num_of_bytes + " of bytes read already.");
    // Needed to implements by FtpObserver interface.
    public void byteWrite(int bytes) {
    //crea un directorio
    public void directorio(String nombre) {
    try {
    ftp.makeDirectory(nombre);
    catch (Exception e) {
    System.out.println(e);
    public void subir(String local, String remoto) {
    try {
    ftp.putBinaryFile(local, remoto);
    catch (Exception e) {
    System.out.println(e);
    // Main
    public static void main(String[] args) {
    FtpExample example = new FtpExample();
    example.connect();
    example.directorio("raul");
    example.listDirectory();
    example.subir("C:/fotos/05160009.JPG", "/raul/foto1.jpg");
    //example.getFile();
    example.close();

Maybe you are looking for

  • Forwarding to ePrint Address?

    I have my own domain name with email hosted by Gmail which I wanted to setup an address such as [email protected] to forward to the randomly generated ePrint address.  When I try this I get the error below, which technically it wasnt sent to multiple

  • My Mac keeps logging me out of my account

    It started this morning immediately after I turned on my Mac Pro. I have 3 accounts on the MP, and I logged in to my usual account, after about one second, after the desktop loads etc, it logs me out automatically. This keeps happening. I am able to

  • Customer Service NON EXISTENT

    I am extremely disappointed in the lack of customer service.  It is basically nonexistent.  I called customer support with a problem and was transferred to different people multiple times before being disconnected.  I then emailed customer support wi

  • InfoObject Creation Dynamically

    Hello Experts, I need to create thousands of custom infoobjects and trying to implement through BAPI. I am trying to create infoobject reading the infoobject structure from tab delimited tax file: io_name io_type io_txsht io_txlng io_datatype io_leng

  • Creating a dropdown list which is depending on the selections from 2 other dropdown lists

    Hi, I'm new to LiveCycle and JavaScript and I was hoping someone could help me with this form I am creating. This is what I want it to do: I have a dropdown list named 'Area' which drops down to 3 options.  Once the form filler selects an area, they