Multiple programs playing sound

I'm having a problem with multiple sounds playing at once. I guess it's not really a problem... more of an inconvenience.
I'm trying to setup awesome, and I can't play music and watch mplayer at the same time. Why would I want to do that? I have no idea, but I want to be able to
I just booted into KDE, and there isnt a problem, I can have amarok, mpd, and mplayer all playing things at the same time. I'm guessing this has to do with the arts server in kde? How would one go about having it work in awesome? I've read the wiki about multiple sounds playing at once, but that didn't help.

Actually that probably is the problem... I noticed that mplayer was using oss to play files. But mpd uses alsa, so shouldnt they be able to co-mingle?
UPDATE: That fixed it! Weird that mplayer would use alsa by default in kde and oss by default here? Just one more question, is there a way to set mplayer's default to alsa?
Last edited by heleos (2008-05-25 07:09:09)

Similar Messages

  • When my computer is playing sound, it makes a loud buzzing noise and the computer locks up

    When my laptop Pavilion dv6 less than a year old, computer is playing sound, it makes a very loud buzzing noise and the whole computer locks up.  I hit the lock symbol and then swipe my finger again to get out of the website (youtube) or close out the program playing sound or it will do it again.

    Hi,
    Shut down the notebook.  Tap away at f10 as you start the notebook to enter the bios menu.  Under the Advanced or Diagnostic tab you should find the facility to run tests on both the Hard Drive and Memory.  Post back with the details of any error messages.
    If both the above tests pass, try the following.
    From the Start Menu, open All Programs, open Accessories, right click the Command Prompt and select 'Run as Administrator'.  In to the prompt type the following command and hit enter.
    sfc /scannow                 ( note that there is a space between sfc and the / )
    Let the process complete, then type exit and hit enter.
    Next, click the Start Menu, click Computer, left click Local Disc C once to highlight it, right click Local Disc C and select Properties.  Click the Tools tab and then click the button to 'Check the Drive for Errors'.  In the following window make sure both boxes are ticked and then click Start.  Part of this process will require a restart to check the drive.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Having problem making my program play the sound i want it to play...

    Ok, im new at this so bare with me (and my spelling)...
    i've been trying to make my program play a musicfile during the actual program... and trust me, i've tried so many times...
    after the last try i get the errormessage "cannot find symbol" for 2 things...
    import javax.swing.*;
    import javax.sound.sampled.*;
    import java.io.*;
         public class iwish {
              public static void main (String args[]) {
                   AudioClip sound = JApplet.newAudioClip(new URL("file://C:\\Program\\Java\\jdk1.6.0_02\\bin\\iwish1.wav"));
                   sound.play( );
                   String a = JOptionPane.showInputDialog("Vem kan du vara?");
                   String b = JOptionPane.showInputDialog("Jaha " + a + ", sommar eller vinter d??");
                   String c = JOptionPane.showInputDialog("Vem vill du helst av allt ha bredvid dig nu?");
                   String d = JOptionPane.showInputDialog("D? f?rst?r jag, glass eller choklad (du f?r bara v?lja ett f?rslag)?");
                   String e = JOptionPane.showInputDialog("Vart f?redrar du att sova d? (gl?m inte prepositionen)?");
                   String f = JOptionPane.showInputDialog("Ok, om du korsar fingrarna, l?gger du pekfingret under eller ovanp? l?ngfingret?");
                   JOptionPane.showMessageDialog(null, "Ok, jag kommer fram till tv? alternativ:");
                   JOptionPane.showMessageDialog(null, "Alt 1; " + a + ", p? din " + b + "semester har du helst sex \n med " + c + " " + e + " samtidigt som du ligger " + f + " " + c + " som \n f?rsiktigt slickar " + d + " fr?n din kropp, tills hela din kropp skakar av njutning!");
                   JOptionPane.showMessageDialog(null, "Alt 2; Du f?redrar ingen speciell ?rstid eller speciellt st?lle \n att ha sex p?, s? l?nge du f?r ha det med " + c + ". Sedan f?r du \n somna i " + c + "s famn. Glass och choklad kan du alltid f? n?r du vill!");
                   System.exit(0);
    the problem is: iwish.java:10: cannot find symbol
    symbol : class URL
    location: class iwish (at the U) ^
    AudioClip sound = JApplet.newAudioClip(new URL("file://C:\\Program\\Java\\jdk1.6.0_02\\bin\\iwish1.wav"));
    ^
    am I making any sense?! =) what have i done wrong?

    ok, thank you,
    i tried it with the catchphrase and the program worked just as it did when I threw the exception...
    import javax.swing.*;
    import javax.sound.sampled.*;
    import java.io.*;
    import java.net.*;
    import java.net.URL.*;
    import java.applet.*;
    import java.applet.AudioClip.*;
         public class iwish {
              public static void main (String args[]) {
                   try
                   AudioClip sound = Applet.newAudioClip(new URL("file://C:\\Program\\Java\\jdk1.6.0_02\\bin\\iwish3.wav"));
                   sound.play();
                   catch (MalformedURLException j)
                   j.printStackTrace();
    I changed the "e" to a "j" in the "catch (MalformedURLException j)" since I was using the e in one of my strings...
    Was it supposed to work or did I do wrong? =/

  • No /dev/dsp, some programs failed to play sound

    I'm using chakra-2010.09 and there is no /dev/dsp after a default installation. Programs using phonon as backend (KDE's login music and the default music player, Bangarang) can play sound without problems. But others like vlc, flashplugin and wine cannot. Vlc just report errors about no /dev/dsp. How can this be fixed?
    Then I tried #modprobe snd_pcm_oss snd_mixer_oss snd_seq_oss, the module created /dev/dsp1. then I maked a soft link to /dev/dsp but vlc said "cannot open device /dev/dsp".
    I also tried using osspd and vlc can play sound now, but flashplugin and wine still have problems.
    Here are some of my system information:
    [admin@LenovoPC ~]$ cat /proc/asound/cards
    0 [Generic ]: HDA-Intel - HD-Audio Generic
    HD-Audio Generic at 0x90244000 irq 42
    1 [SB ]: HDA-Intel - HDA ATI SB
    HDA ATI SB at 0x90240000 irq 16
    [admin@LenovoPC ~]$ lsmod | grep snd
    snd_hda_codec_conexant 39073 1
    snd_hda_codec_hdmi 19967 1
    snd_hda_intel 19020 6
    snd_hda_codec 67097 3 snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
    snd_hwdep 4812 1 snd_hda_codec
    snd_pcm 59717 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
    snd_timer 15279 2 snd_pcm
    snd 43259 17 snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
    soundcore 4993 1 snd
    snd_page_alloc 5805 2 snd_hda_intel,snd_pcm

    RichSelian,
    It is our policy that we only support Arch Linux.  Please take this to http://chakra-project.org/bbs/

  • How do I hear Garageband in multitask? I am playing guitar in GB using Apogee Jam. Would like to read lyrics in Safari while hearing guitar in background. But I can only hear GB when it is the active program. Sound stops if I switch to another app.

    How do I hear Garageband in multitask? I am playing guitar in GB using Apogee Jam. Would like to read lyrics in Safari while hearing guitar in background. But I can only hear GB when it is the active program. Sound stops if I switch to another app.

    http://ww2.cs.fsu.edu/~rosentha/linux/2.6.26.5/docs/DocBook/libata/ch07.html#excatATAbusErr wrote:
    ATA bus error means that data corruption occurred during transmission over ATA bus (SATA or PATA). This type of errors can be indicated by
    ICRC or ABRT error as described in the section called “ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION)”.
    Controller-specific error completion with error information indicating transmission error.
    On some controllers, command timeout. In this case, there may be a mechanism to determine that the timeout is due to transmission error.
    Unknown/random errors, timeouts and all sorts of weirdities.
    As described above, transmission errors can cause wide variety of symptoms ranging from device ICRC error to random device lockup, and, for many cases, there is no way to tell if an error condition is due to transmission error or not; therefore, it's necessary to employ some kind of heuristic when dealing with errors and timeouts. For example, encountering repetitive ABRT errors for known supported command is likely to indicate ATA bus error.
    Once it's determined that ATA bus errors have possibly occurred, lowering ATA bus transmission speed is one of actions which may alleviate the problem.
    I'd also add; make sure you have good backups when ATA errors are frequent

  • How to play sound in servlet program

    How to play sound when a page is gernerated? Thank you for any suggestion.

    Why would you want to do that? Remember that the servlet runs on the web server, which is probably in a room full of computers. Nobody will be there to hear it, and if somebody does hear it they will just think it is a problem.
    Perhaps you wanted to play a sound when the page is loaded in the browser? That's an HTML/Javascript/browser question that might get an answer in a forum about those topics.

  • Playing sound from multiple applications?

    Hi, I recently started using Arch and I'm loving it but I have one problem. My ALSA can only play sound from one application at a time, so I have to use pulseaudio for the others. But pulseaudio doesn't recognize my mic so I can't remove ALSA. ALSA just says "device busy" or something. And yes I tried to search before posting but didn't find an answer.
    Thanks

    This is what I found from the logs:
    Jul 18 21:38:34 arch pulseaudio[946]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
    Jul 18 21:38:34 arch pulseaudio[946]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
    Jul 18 21:38:34 arch pulseaudio[946]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
    Jul 19 00:53:54 arch pulseaudio[946]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 19 00:53:54 arch pulseaudio[946]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 19 21:59:22 arch pulseaudio[963]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
    Jul 19 21:59:22 arch pulseaudio[963]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
    Jul 19 21:59:22 arch pulseaudio[963]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
    Jul 20 02:35:47 arch pulseaudio[963]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 20 02:35:47 arch pulseaudio[963]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 20 12:22:05 arch pulseaudio[981]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 20 12:22:05 arch pulseaudio[981]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 20 12:22:05 arch pulseaudio[981]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 21 01:25:49 arch pulseaudio[953]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
    Jul 21 01:25:49 arch pulseaudio[953]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
    Jul 21 01:25:49 arch pulseaudio[953]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
    Jul 21 14:33:44 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 21 14:33:44 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 21 14:33:44 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 22 01:58:04 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 22 01:58:04 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 22 02:20:11 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 22 02:20:11 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 22 02:48:30 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 23 00:21:44 arch pulseaudio[973]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
    Jul 23 00:21:44 arch pulseaudio[973]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
    Jul 23 00:21:44 arch pulseaudio[973]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
    Jul 23 11:43:46 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 23 11:43:46 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 23 11:43:56 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
    Jul 24 03:05:32 arch pulseaudio[954]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
    Jul 24 03:05:32 arch pulseaudio[954]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
    Jul 24 03:05:32 arch pulseaudio[954]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
    And yes I have gstreamer.
    Last edited by nerdster (2011-07-26 00:35:45)

  • Play sound in specified duration and desired file when reading data with VISA functions ?

    Hi.
    I read data with VISA read function and then I use functions like multiple for showing data on Chart. every thing is OK.
    now I want play a specified sound (like a 3s song in my desired folder) when signal amplitude cross over from specified value. then after desired time, it will be wait for new cross over from specified value and this procedure repeat again until I stop the program. 
    Data comes from MCU and it doesn't stop when system play sound and when system play sound, incoming data for this part (play sound) will be ignore them until specified expired.
    I use this VI for reading data and mentioned part which is sound part is empty and I don't know what I must done ?
    altougth I use another while loop for sound apart because I want save CPU time.
    Thanks.
    Solved!
    Go to Solution.

    I would recommend making the data type of the notifier a cluster that contains a path and a numeric (double).  The path tells the player which file to play.  The numeric is the duration.
    Now for a slightly complicated, but really neat, way to stop your second loop.  Do not use a second notifier.  Instead, send the normal notification but use Not A Path for the path in the cluster.  Your second loop can do a check for the Not A Path and stop when that is recieved.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • [solved] Problems with multiple applications running sound...

    Multiple programs on my system are unable to use sound at the same time. When any two programs that are supposed to output sound run together, the program that started the output first prevents the other from outputing. I read the Wiki page on ALSA, but have had no luck so far in identifying the problem. I do believe that I am using alsa, as the sound of the program with sound does change as I adjust the alsa mixer volumes.
    This started happening when I reinstalled arch this moring with XFCE (I needed to add more space to root partition and replace my DE, and fealt it would be easiest to just reinstall the OS.) In the few days I was using KDE, the sound worked fine. I also previously used Ubuntu on this system in which the sound worked fine.
    I am inclined to believe that It is either something I have not configured properly (however I did not do anything to sound setup in the KDE install) or a package that did not install with XFCE, but does with KDE-base.
    EDIT: Also, If the sounds are coming from the same application they can both play, IE I can hear 2 youtube videos at the same time but not a youtube video and VLC or Skype.
    Last edited by unr3st (2011-05-31 08:26:28)

    brebs wrote:
    Run fuser.
    Lots of info in my ~/.asoundrc
    Here is the output,
    [unrest@Uberschlecht ~]$ fuser -v /dev/snd/* /dev/dsp*
    Specified filename /dev/dsp* does not exist.
                         USER        PID ACCESS COMMAND
    /dev/snd/controlC0:  unrest     1423 F.... pulseaudio
                         unrest     1483 f.... xfce4-mixer-plu
                         unrest     1541 F.... plugin-containe
    /dev/snd/pcmC0D0p:   unrest     1541 F...m plugin-containe
    /dev/snd/timer:      unrest     1541 F.... plugin-containe
    There are no process in /dev/dsp
    It may be worth adding that I had no .asoundrc in my home directory
    I have also just discovered that flash seems to be the program that causes the interferences, as VLC and Skype run fine  together. I am going to try the instructions by Karol, reboot, and report the results.

  • Help with playing sound in applications

    im new to java and i was practicing playing sound in a swing application but the problem is that when i press the play button no sound is played...here is my code
    import javax.swing.*;
    import java.applet.AudioClip;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.io.File;
    public class JukeBox extends JFrame {
        private JLabel label;
        private JPanel panel, buttonPanel;
        private JComboBox playList;
        private JButton play, stop;
        private URL url1, url2, url3, url4, url5, url6;
        private AudioClip[] musicList;
        private AudioClip current ;
        public JukeBox() {
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            setSize(500, 120);
            setLocation(50, 50);
            setTitle("JAVA JukeBox");
            url1 = url2 = url3 = url4 = url5 = url6 = null;
            current = null;
            try {
                url1 = new URL("file", "localhost", "C:\\Documents and Settings\\KADA\\IdeaProjects\\Sound\\bottle-open.wav");
                url2 = new URL("file", "localhost", "C:\\Documents and Settings\\KADA\\IdeaProjects\\Sound\\BP2.mp3");
                url3 = new URL("file", "localhost", "C:\\Documents and Settings\\KADA\\IdeaProjects\\Sound\\fhm.aiff");
                url4 = new URL("file", "localhost", "C:\\Documents and Settings\\KADA\\IdeaProjects\\Sound\\jungle.rmf");
                url5 = new URL("file", "localhost", "C:\\Documents and Settings\\KADA\\IdeaProjects\\Sound\\spacemusic.au");
                url6 = new URL("file", "localhost", "C:\\Documents and Settings\\KADA\\IdeaProjects\\Sound\\trippygaia.mid");
            } catch (MalformedURLException e) {
                e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
            musicList = new AudioClip[7];
            musicList[0] = null;
            musicList[1] = JApplet.newAudioClip(url1);
            musicList[2] = JApplet.newAudioClip(url2);
            musicList[3] = JApplet.newAudioClip(url3);
            musicList[4] = JApplet.newAudioClip(url4);
            musicList[5] = JApplet.newAudioClip(url5);
            musicList[6] = JApplet.newAudioClip(url6);
            label = new JLabel("JAVA JukeBox", JLabel.CENTER);
            String[] musicList = {"select a track..."
                    , "bottle open"
                    , "bitch please II"
                    , "flutte, harmonica, mambo"
                    , "jungle"
                    , "spacemusic"
                    , "trippygaia"};
            playList = new JComboBox(musicList);
            playList.addActionListener(new ListListener());
            play = new JButton("Play");
            play.setActionCommand("play");
            play.addActionListener(new ButtonListener());
            stop = new JButton("Stop");
            stop.addActionListener(new ButtonListener());
            buttonPanel = new JPanel();
            buttonPanel.setLayout(new BoxLayout(buttonPanel, BoxLayout.X_AXIS));
            buttonPanel.add(play);
            buttonPanel.add(stop);
            panel = new JPanel();
            panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
            panel.add(label);
            panel.add(Box.createRigidArea(new Dimension(0, 5)));
            panel.add(playList);
            panel.add(Box.createRigidArea(new Dimension(0, 5)));
            panel.add(buttonPanel);
            getContentPane().add(panel);
        private class ButtonListener implements ActionListener {
            public void actionPerformed(ActionEvent e) {
                if(current != null){
                    current.stop();
                if(e.getActionCommand().equalsIgnoreCase("play")){
                    if(current != null){
                        current.play();
        private class ListListener implements ActionListener {
            public void actionPerformed(ActionEvent e) {
                if (current != null) {
                    current.stop();
                current = musicList[playList.getSelectedIndex()];
        public static void main(String[] args) {
            setDefaultLookAndFeelDecorated(true);
            JukeBox jb = new JukeBox();
            jb.setVisible(true);
            jb.setResizable(false);
    }can u please tell me whats wrong with my code coz i cant hear no sound when i press the play button and can u please tell me why i cant simply put the file name in the URL instead of the complete path although the files are in the same directory of the source code and can i play mp3 using this little program ???
    plz help...im a newbie so plz explain as much as u can...

    After
    musicList = new AudioClip[7];
            musicList[0] = null;
            musicList[1] = JApplet.newAudioClip(url1);
            musicList[2] = JApplet.newAudioClip(url2);
            musicList[3] = JApplet.newAudioClip(url3);
            musicList[4] = JApplet.newAudioClip(url4);
            musicList[5] = JApplet.newAudioClip(url5);
            musicList[6] = JApplet.newAudioClip(url6);initialise the variable current with
    current = musicList[1];or similar because the AudioClip current always == null in your code so your listener blocks don`t execute.
    regards

  • Help! My phone will not play sound when an app is open?!

    Seemingly out of the blue, my iPhone stopped playing sound through the external speaker. This began about a month or two ago and I have been unable to fix the problem. The sound will play through the external speaker until I open another app (safari, camera, etc.). The sound used to work through headphones until this morning. Now the sound won't work... At all! I brought my phone to an apple store a week ago and the first guy checked my phone with a flashlight and told me first that there didn't seem to be any water damage. Then, some other technician helped me. He opened iTunes and miraculously, the song played! I couldn't believe it was magically working. He explained that it looked like my dock connector was looking a little eroded and that is why the sound doesn't work. He said he could try to brush it out and that should fix the problem. Tried my phone later... Volume doesn't work anymore! The dock connector works fine otherwise, I am still able to charge my phone. My phone will not play music via bluetooth speaker. I talked to multiple people on the phone who all seem to think it's a software problem... I am really not understanding what is going on with my phone! I have googled this problem many times in the last few months and most people say that it turned out to be a software issue. I have checked both water indicators (in the dock connector and the headphone plug, right?) with a flashlight and I don't see any red... Any insight or ways to fix this would be very appreciated! The whole thing makes no sense to me.

    Are you using an APple charger or a thrid-party one?  I ask because if you are using a third party charger, it may not be wired properly and it may be telling your iPhone that the cable connected is also an audio interface so your iPhone may be sending the audio signals through the cable to the charger.  I have a charger in my truck that also doubles as an FM transmitter so I can play my iPhone audio through the truck radio.  Your charger may be doing something similar, especially if it is not an Apple charger.

  • Error while playing sound file in Applet

    Hi!!
    I am trying to play sound file in the applet which produces sound continuously, when it goes above certain set value. When i run the sound file individually it runs perfectly fine but when i try to call that class in diff. program its giving me some security error..i am trying to solve this problem from last so many days..i dont know whether i have to make some change in Security file policy or java policy..the error is like..
    java.security.AccessControlException: access denied (java.util.PropertyPermissio
    n user.dir read)
    at java.security.AccessControlContext.checkPermission(AccessControlConte
    xt.java:269)
    at java.security.AccessController.checkPermission(AccessController.java:
    401)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
    at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:12
    76)
    at java.lang.System.getProperty(System.java:573)
    at SoundApplication.startLoadingSounds(SoundApplication.java:52)
    at SoundApplication.<init>(SoundApplication.java:42)
    at TempSet.actionPerformed(TempSet.java:103)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
    86)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
    ctButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
    .java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
    istener.java:245)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Please suggest some solution for this..its kinda urgent..
    Thanks in advance.
    Regards,
    Amish

    Are you loading your Applet from a webserver? You could make the sound file available through the same webserver.
    Alternatively, you could package the sound with the code in a JAR. It does mean a bigger download for your Applet users though, but the Applet would be able to access the file quickly.
    If you put your file in the JAR, say in /sound/myfile.ext , then you can get access to it from your code like this:
    URL soundURL = getClass().getResource( " /sound/myfile.ext" );

  • 60gb no longer plays sound!

    So all of a sudden out of the blue, my 60gb made this god awful screeching sound and quit playing any sound out of both the headphone jack and port. The ipod still plays the song and everything on the screen looks normal, but just no sound will come out of it. I tried resetting multiple times and still nothing. Is it shot and now I need to buy a new one?

    I have had the same problem with my 30 gig iPod video. It started having some problems about 2 weeks ago (mid May) here and there with a screeching noise, but would later clear up. Then one day, it just quit playing sound. It was playing songs, but no audio. No headphones, no sound dock - NADA! I did my 5 R's etc., but no luck. This went on for 2 weeks, then I saw a post from someone that said it started happening to their Ipod when the weather got warmer. So, I know it sounds stupid, but I decided to put it in the refrigerator for about 25 minutes or so. It was nice and cool, and bibbity bobbity boo! It immediately worked on the sound dock for about 3 songs, then a nice screeching/static sound, and no sound again, but it was still playing. Back to the refrigerator again for 10 minutes, and as if Whirlpool manufactures fairy dust, I am hearing Octopus's Garden (that's the Beatles BTW) in beautiful full sound. It would seem, if common sense is a reality, that there is an internal cooling problem. Try it out and let me know if this works for you.

  • How do you open/play a .wav file (music file) without play sound file .vi

    I am having big problems to create a music background for my project. I am newbie using labview and maybe my questions is not so dificult to solve (I hope so)
    I was using play sound file vi but the problem is that I dont want the music file start automatically. I wanna control the start time using a button. I tried include a sound output stop but when the app start and I add more wav files in my vi, the sound file start, then stop abruptally because the stop vi and the everything is normal. I would like to eliminate that error.
    Someone have any idea, maybe using open file or another way. 
    Thanks in advance
    I add a screenshot of my vi and also the vi in this post
    Attachments:
    test sound.vi ‏11 KB

    I leave an example that can provide, use it in your program
    Atom
    Certified LabVIEW Associate Developer
    Attachments:
    playsound.zip ‏58 KB

  • Embedded QuickTime files not playing sound

    I'm having trouble getting older, embedded QuickTime files to play properly. Many of them do play but without sound.
    An example:
    The embedded QuickTime files in questions 6 and 10 here...
    http://www.linguistics.ucla.edu/people/schuh/lx001/Web_Quizzes/Quiz_07/07web.htm l
    ...do not play sound.
    When viewing the files directly...
    Example: http://www.linguistics.ucla.edu/people/schuh/lx001/Web_Quizzes/Quiz_07/07_Quiz_m edia/0706_split_brain_red.mov
    ...the sound plays properly.
    I have done a bit of playing around on a few different machines and have found the following:
    2009 MacBook Pro: video and sound play correctly in Safari and Firefox
    OS X: 10.7.5
    Safari: 6.1.6
    Firefox: 36.0 with QuickTime Plugin ?
    QuickTime 7: ?
    QuickTime X:10.1
    2009 Mac Mini: video and sound play correctly in Safari and Firefox
    OS X: 10.8.5
    Safari: 6.2.3
    Firefox: 33.1 with QuickTime Plugin 7.7.1
    Firefox: 36.0.1 with QuickTime Plugin 7.7.1
    QuickTime 7: 7.6.6
    QuickTime X: 10.2
    2011 Mac Mini:  video and sound play correctly in Safari and Firefox
    OS X: 10.9.5
    Safari: 7.1.3
    Firefox: 31.0 with QuickTime Plugin 7.7.1
    Firefox: 36.0.1. With QuickTime Plugin 7.7.3
    QuickTime 7: 7.6.6
    QuickTime X: 10.3
    2011 iMac: no sound in videos, improper display of video with menu in both Safari and Firefox
    OS X: 10.10.2
    Safari: 8.0.3
    Firefox: 36.0.1 with QuickTime Plugin 7.7.3
    QuickTime 7: 7.6.6
    QuickTime X: 10.4
    2011 Mac Pro: no sound in videos, improper display of video with menu in both Safari and Firefox
    OS X: 10.10.2
    Safari: 8.0.3
    Firefox: 36.0.1 with QuickTime Plugin 7.7.3
    QuickTime 7: 7.6.6
    QuickTime X: 10.4
    Is this a Yosemite issue? Not being able to play older QuickTime 7 files properly? I'm not sure what else the issue could be since everything seems to work fine in 10.7, 10.8, and 10.9 (unfortunately, I have been unable to test this in 10.10 or 10.10.1). Maybe I'm overcomplicating a simple issue? Any help would be greatly appreciated.
    Thanks!

    Is this a Yosemite issue? Not being able to play older QuickTime 7 files properly? I'm not sure what else the issue could be since everything seems to work fine in 10.7, 10.8, and 10.9 (unfortunately, I have been unable to test this in 10.10 or 10.10.1). Maybe I'm overcomplicating a simple issue? Any help would be greatly appreciated.
    Some very interesting observations which peaked my own curiosity due to on-again, off-again nature of the playback. I suspect this is either a "bug" or represents content handling changes that are currently in the process of  "evolving." Not a web site programmer so I used iWeb to run some contrast-comparison tests on how audio was handled by the plug-in software when directly accessing the content by its URL and via the page embed strategies. My results mirrored yours in that:
    1) All legacy codecs tested (A-Law, IMA, QDM2, QPV, and u-Law) in an MOV file container played correctly in the QT 7 player.
    2) The same files all played correctly when content was accessed by the plug-in software directly using the URL reference.
    3) None of the files containing legacy audio compression formats would play audio using the plug-in software using a web page embedding strategy.
    4) An MP4 (H.264/AAC) version of you original clip played correctly in all instances.
    5) Replacing your QDM2 audio track with an AAC audio track in the original MOV file allowed the file to play correctly in all instances.
    Based on these observations, I suspect the problem is in the way the software is currently programmed to handle (or rather ignore) the embedded strategy content. However, as you indicated, it is probably time to update your files. Not only did the H.264/AAC version of your original file play in all instances, but it used less than 45% of the file space/bandwidth for the settings I employed as compared to your original "0706_split_brain_red.mov" original file.

Maybe you are looking for

  • Use as disc

    Hello, I would like to know if its possible to use the iPod touch as a disc. I bought a new iPod touch in November 2009. This year I bought a Ford Fiesta. I bought the car with the idea of playing my iPod Touch through the radio system. But now it se

  • External Java Function with a Result Type

    Dear all, I have created a workflow process which use a Function Activity of type "External Java" without a result type and it works fine, but i have created another with the result type of boolean (WFSTD_BOOLEAN) and it doesn't work properly. I will

  • Installing certain apps WP7.8 not working (Lumia 8...

    Hi, I'm trying to install the Usage Monitor app from Nokia and the Camera Extra's app. But i get a message that these apps don't work with this version of windows phone. I got the newest update of WP7.8 installed. I had a Nokia Lumia 610 before this,

  • TS1398 wifi is grey and says no wifi

    iphone 3 willnot conect to wifi   it is greyed out and says no wifi  i have tried resets...

  • Instructions for migrating calendars from MobileMe to iCloud

    Where can I find instructions for moving a published calendar from MobileMe to iCloud? I've found a few references but most seem out of date re MobileMe and iCloud. Thanks, Steve.