No sound events in xfce4

I have installed xfce. My problem is that I can't enable sound events. There is an option in the settings to enable it but it has no effect at all. I have installed libcanberra has suggested. I do not use pulseaudio but plain alsa (and I would prefer not to use pulseaudio). This is not a permission or driver problem since applications are able to use the sound just fine. I do not know what to do from here. Has anyone an idea?
Last edited by olive (2013-01-29 06:59:52)

Have you figured out something about this problem? I seem to have the same problem here: https://bbs.archlinux.org/viewtopic.php?id=160059
I also use alsa.
Last edited by kellerman (2013-04-05 18:47:45)

Similar Messages

  • Suppress Ring/Sound Events

    Is there a method to suppress sound events with any of the development SDK's.
    My PALM allowed me to suppress SOUND events for anyone who was NOT in my contacts.
    I can't seem to do that with my new iPhone
    If one of the SDK's would allow trapping of sound events, then one could filter the caller id against a user setup list... Then it would be possible to either allow or disallow the sound event based on REGEXP filter of the user's list...

    I've never tried it (I kind of appreciate peace and quiet when I'm not listening to iTunes), but you might like Xounds.

  • I need a command line audio player to play ogg sound events

    Hi I am new to the imac. I have a script that needs to play ogg sound events. So I need a command line callable audio player. Is there one for the imac?

    Try PlaySound 1.6.6 - VersionTracker or MacUpdate.

  • Specify audio file to play on sound events...

    How about add an option to let us specify exactly which audio file to play on sound events?

    but i want to be able to use a sound event specific to lightroom and i dont want to change my windows sound scheme to do that

  • Sound events for iBook

    You know how MacOSX is a bit silent right? well, is there any way to make more sound events, like when your computer comes out of sleep, or when the computer log off or when shutdowns, or when the AC adapter is connected, or when I have a low battery? sort of like those Windows computers, is there any program for the iBook?

    I've never tried it (I kind of appreciate peace and quiet when I'm not listening to iTunes), but you might like Xounds.

  • Sound Event lag on MBP

    Hi All,
    I have just recently purchased a MBP and have noticed a delay in the sound events and even when playing a audio file.  I first noticed this when I emptied the trash and the sound came a good 2 seconds later.
    Also when using MSN in the background the sound alert that a new message has been received intermittantly goes silent.
    I have reset the PRAM, no effect.
    Specs:
    MBP 13" i5
    OSX: Lion (fully updated with all firmware)
    Purchse date: Oct 2011
    How can I fix this problem?
    Thanks!

    I may have the same problem.
    If there has been no sound in the previous 30 secs, there's a 2 second delay the next time there's a sound, e.g. if I start a video the audio only kicks in after the first 2 seconds.  It applies to all applications and system sounds.  If I stop a video and start it quickly thereafter there's no problem, but if I wait 30 secs or so there's a delay.
    It's almost as though the audio is turned "off" after not being used for 30 secs, and when it is turned "on" it takes a couple of seconds to warm up.
    My specs are the same as the original post.

  • I need to get sound events from sounds embedded in a MovieClip

    I'm working on a SoundManager class for a game development
    platform. Unfortunately, I can't leverage the Sound class because
    the requirements are that the sounds for an application would be
    embedded in individual MovieClip objects and set to stream as the
    clip plays.
    The idea is that this would allow third-party developers to
    make simple edits to the sounds by using the envelope controls for
    the embedded sounds. I can manually fire an event when the sound
    finishes by calling a custom method in the last frame of the movie
    clip, however, this is not completely accurate and it makes it
    impossible to seamlessly loop sounds.
    Now, the Flash player must be aware that the sound has
    finished playing. I presume that sounds embedded in the IDE are
    handled by the Sound class in some way. Is there any way at all
    that I can expose an event when the embedded sound finishes
    playing?
    I'd really prefer to use another approach, and just attach
    sound files from a Library or from external files, but I don't have
    a choice in this particular case. This is the way the application
    has to work.
    I will probably have to give up on the precision I want in
    order to complete this job on time, but I refuse to believe that
    what I'm trying to do is impossible. I would appreciate any help
    anyone can give me.

    You'll have to update your OS on your Macbook.
    Click on the black Apple logo at the top left of your Mac screen.  Then click on Software Update.
    support.apple.com/kb/ht1338

  • Mouse/keyboard events lost during sound events

    I have a new MacbookPro (October 2011, MacBookPro8,2) with 4Gb RAM running latest 10.6.8, and I am extremely frustrated by periodic loss of mouse events (movement freezes, then jumps) and keyboard events (loss of keystrokes) whenever a sound alert is made. Am I the only person experiencing this?

    I should also add a related behavior, repeated keypresses. I do a lot of work on connected unix/linux machines using terminal. Sometimes I will be navigating directories and hit <tab> for command completion, and unexpectedly get the screen scrolling as if I had typed it 100 times!

  • [Solved] Disable sound events, not using a desktop

    I use plain Icewm (simple window manager, no desktop). Some software such as firefox or chromium do sometimes (but not often) make a sound relating to an event. If it possible to completely disable that. The only solution I have found is to uninstall libcanberra but for some reason, this solution is not satisfactory for me. I believe tjhis is some kind of freedesktop configuration but I have no idea how the freedesktop standard relate to sound.
    Last edited by olive (2013-08-19 18:35:17)

    I have tried a few things, but I am still out of luck. To have an example of what I mean, go to http://www.videocardbenchmark.net/ , select "Search for your Video Card" , then put an inexistants card and click "Find video card". You have a small windows saying "String <what you have typed not found>" and a "ding". i found no ways to disable these annoying ding. I thought having found the solution in https://wiki.archlinux.org/index.php/Libcanberra but the suggested settings (with false instead of true, of course) does not seem to have any effect. Still completely uninstalling libcanberra solve the problem. But I would like to have a per user settings...
    Last edited by olive (2013-08-17 13:47:59)

  • Is there a list of the sound-generating System events for OS X? How to tweak?

    I work with a community with some minor physical and visual impairments. I have limited current OS X experience, and I am volunteering on their behalf. But this question is not directly about OS X assistive technologies. Right now, we would just like to add more+additional sound effects than seems to be the default for OS 10.8.
    In particular we would like:
    A loud sound when a USB device has become unplugged (when plugged in would be nice as well.)
    A clear sound when a password has been entered incorrectly.
    One of my users swears these sound events are already in there, and I am inclined to believe her. But confirming this is difficult on Mac OS 10.8.4 The “Sound Effects” dialog in the System Preferences only seems to be for alerts.
    So two questions:
    What are all the system sound events in OS 10.8.4
    How can we configure the sounds that are played for individual events?
    Thank you!

    Growl.info and HardwareGrowler can play sounds when hardware in attached/removed.
    Unplugged can tell you if your laptop power adaptor has been plugged in or unplugged.

  • Preloading a swf with event sounds.

    I have a swf that uses event sounds for speech in
    it's assets with Export for ActionScript lnkage on. My movie
    preloads but the preloader movie doesn't appear until the sounds
    load. Upon loading the swf, I get a background color for about 10
    seconds, then my preloader movie appears and plays for what's left
    and finishes up fine. I know it's the sound cause when I remove the
    sound, it plays nicely. I need the event sounds cause I must try to
    synch with a demo on a timeline. It also works like a charm if I
    put the sound on a keyframe in the movie timeline and don't use
    Export for ActionScript linkage. How can I get my preloader
    movieclip to start playing right away and account for all the
    assets loading? Anyone heard of this happening? I'll attach the
    preloader code.

    The sound event isn't called until an embedded movie clip
    runs. This clip way is past the first frame. And the preloader
    calls for a movie at the depth of 100.
    I'm experiencing this lag whenever I have a sound in the
    library that has the "export for actionscript" call. Even when I
    don't use the sound at all. This doesn't happen when I have the
    export call on images or other movie clips in the library.
    I'm sure I need more training. I have a complicated movie and
    I've never had to run a preloader for sound or components. I thank
    you for your efforts, but this is not going to work without more
    training, I can tell. I better get someone in town to look at this.
    We'll consider this closed. I appreciate your help. :)

  • Sound leak when using unsigned

    I've generated a simple test case which should make this pretty straightforward. I'm using Linux Ubuntu 11.04 with pulseaudio, if it makes any difference.
    Basically, I generate a very simple tonal sound for the musical note A3 using Java's java.sound.sampled APIs, and Clip to open and play it.
    That's all well and good, but to avoid leaking sound resources, I have to listen to the Clip (or Line) for a STOP event, and then close it. That's fine too. If I play two sounds at the same time and do this, it works fine, too...
    unless the sound encoding is unsigned. For some reason, switching it from signed to unsigned (and translating the tonal wave appropriately) makes me only able to close one of the Lines, and the other one goes rogue.
    Here's my code:
    http://pastebin.com/1mxBJ61t
    or
    import java.util.Timer;
    import java.util.TimerTask;
    import javax.sound.sampled.AudioFormat;
    import javax.sound.sampled.AudioSystem;
    import javax.sound.sampled.Clip;
    import javax.sound.sampled.DataLine;
    import javax.sound.sampled.LineEvent;
    import javax.sound.sampled.LineListener;
    import javax.sound.sampled.LineEvent.Type;
    public class Test
         public static void main(String[] args)
              int volume = 64; //0-256
              double seconds = 2.0;
              double tone = 220.0; //Musical note A3 = 220.0
              final int sps = 80000; //sample rate (samples per second)
              final boolean signed = false;
              final byte[] toneData = makeTone(sps,tone,(int) (sps * seconds),volume,signed);
              //play the first tone
              try
                   play(toneData,sps,signed);
              catch (Exception e)
                   e.printStackTrace();
              //halfway through, play the second tone
              new Timer().schedule(new TimerTask()
                        @Override
                        public void run()
                             try
                                  play(toneData,sps,signed);
                             catch (Exception e)
                                  e.printStackTrace();
                   },(long) (seconds * 500));
              //since the program doesn't know to terminate itself, we'll give it an explicit terminate
              new Timer().schedule(new TimerTask()
                        @Override
                        public void run()
                             System.out.println("Terminating");
                             System.exit(0);
                   },(long) (seconds * 2000));
         //generates a simple tonal wave
         public static byte[] makeTone(int sps, double freq, int duration, int volume, boolean signed)
              byte[] r = new byte[duration];
              for (int x = 0; x < duration; x++)
                   double wave = Math.sin((double) x / (sps / freq) * 2 * Math.PI);
                   //taper off the end so it doesn't cut prematurely and 'blip'
                   double taper = duration - x < 100 ? (duration - x) / 100. : 1;
                   byte b = (byte) ((volume * wave * taper) + (signed ? 0 : 128));
                   r[x] = b;
              return r;
         public static void play(byte[] data, int sps, boolean signed) throws Exception
              AudioFormat afmt = new AudioFormat(sps,8,1,signed,false);
              DataLine.Info info = new DataLine.Info(Clip.class,afmt);
              Clip c = (Clip) AudioSystem.getLine(info);
              c.open(afmt,data,0,data.length);
              c.start();
              //listen for the clip to stop, and then close it
              c.addLineListener(new LineListener()
                        @Override
                        public void update(LineEvent event)
                             System.out.println("Sound event: " + event.getType());
                             if (event.getType() == Type.STOP) event.getLine().close();
         }A few modifications you can make to see what I'm talking about:
    Line 21, change signed to true, and everything works great.
    Line 92, assuming signed is false, comment out this line, where I close the stream, and re-run. You will observe 2 Stop events. Enable it again and you will observe only 1 Stop event.
    Am I doing something wrong, or is Java's sound system just that deplorable?
    Thanks in advance,
    -IsmAvatar

    Thanks for replying again.
    sabre150 wrote:
    IsmAvatar wrote:
    I dropped it down to 8000, but it still does the same thing for me. II didn't say it would - just that 80,000 seemed a very high sample rate. Unless you are playing sound to bats using hardware much better than I am then anything higher than a sample rate of 44 KHz is a waste of time. At my age the highest frequency I can hear is about 8 KHz so any sample rate much above 16 KHz is too high.
    Makes sense.
    have noticed varying behaviors.
    I'm fairly new to this sound stuff, and at this point I'm just trying to get it to work. Get what to work? You have not really described, or a least I have not understood, exactly what you are trying to do. You have a clip of sound you are trying to play more than once but you are trying to "avoid leaking sound resources". Can you explain what you mean by this and why you think it necessary; a reference to some Java sound documentation would maybe help us understand.
    Well, here's the sound documentation that I'm basing my code off of: http://download.oracle.com/javase/1.5.0/docs/guide/sound/programmer_guide/chapter4.html (and chapter 3)
    Basically, my program has a play button that will play a sound that the user has loaded in (complex encodings or formats are not a concern currently). I need to be able to figure out how to handle the user clicking on the button multiple times. I would at least expect an average system to be able to play the sound twice concurrently (overlapping). Maybe I just have the wrong concept when I talk about "sound resources", but it seems like I run into problems down the road, like on my computer, after I've played the sound 30 times, it starts erroring, or if I try to play the sound twice, and then once more after they're done, it causes the application to hang. To me, this seems like it's looking for available lines, and just plum running out, or choosing a line it thinks is available, and hitting a wall. Idunno.
    I have a .wav file that uses PCI Unsigned 8000 Hz that was exhibiting this problem. I don't think the '.wav' file was not exhibiting the problem I think your code is/was .
    Fair enough. It's easier to fix the code then to expect to have certain types of wavs.
    Ultimately it leads to the application hanging entirely,
    I would be interested in seeing an SSCCE ( http://pscode.org/sscce.html ) that exhibits this since I have never met it.
    I think it would be wise to deal with one problem at a time for now. The program that exhibits it is large and would be time-consuming to simplify. I figure the problems are interrelated, so if we can fix the current problem, the apparent freezing issue should resolve itself as well. If not, then I can make an SSCCE for that.
    and I have to forcibly quit the JVM. Being able to close all sounds completely curtails that "feature", but it's apparently not an option for unsigned encodings.Since the difference between the two is just a toggle of one bit I don't really believe that this is a signed/unsigned problem. I believe there is something more fundamental to explain the problem. I expected as much. It's always nice to be able to fix one's own code/thinking than to hit a roadblock with the limitations of an API.
    >>
    Plus, your exception doesn't sound that desirable either.I didn't say it was desirable - I was just saying what I observed. My exception seems logical since the line I was trying to open was already open so a LineUnavailableException makes sense.I suppose so, yes. And I'm guessing your system is more than capable of playing two lines concurrently, if done correctly.
    I suppose the problem that you're seeing (and probably mine, too) is that it's trying to recycle the Line (just a guess - I could be completely off). For whatever reason, mine lets me play the recycled line twice, but yours doesn't. Both ways cause issues.
    I suppose this tells me that if I want to play another sound concurrently, I need another line, not a recycled one. Does that seem about right? If so, how might I go about doing that?
    If not, perhaps I'm a little thick and need some hints.
    In short, the problem is I would like to be able to play two sounds concurrently (seems like a reasonable enough request), but either I can't using my current code code (as you've seen), or it causes other issues (my side). So I'd like to know how to fix the code to enable this.
    Greatly appreciated.
    -IsmAvatar

  • Aren't Sound Blasters what they used to

    Hello everyone,
    I have been a Creative Labs user for several years, especially before 2000 (Soundblaster 2.0, SB6 Vibra ISA (2x), SB Pro .0), and was absolutely pleased with them, especially with DOS games. Those were the happy times...
    Anyway, in more recent times, after years of listening to trustworthy but not really performing AC'97 integrated soundcards, I decided to purchase an "audio accelerator" in the form of an Audigy 4 (the one with the EMU 0300 chip and no firewire/remote control, if that means anything).
    Anyway, it worked fine for a couple of weeks or so, I got none of the SCP problems posted here, however that warning in the manual about the "VIA hard disk corruption problems" troubled me...after some research I saw it was mainly about older VIA chipsets (I had an A64 3200+ with KT800T VIA chipset so I relaxed and said "this cannot happen to me, seems like a problem solved long ago". How wrong I was....
    One day, out of the blue, while playing Battlefield 942 I got a horrible BSOD and had to reboot. After than, and after a VIA drivers update, I noticed that the sound stumbled and HARD DISK SAVING stumbled too, which was much more dangerous. I reverted to an older version of VIA drivers that didn't cause that problem, but one day I got another BSOD coupled with disk corruption, and, apparently, what later revealed to be a SATA CONTROLLER PHYSICAL DAMAGE!!!
    To make the long story short, I had to replace my motherboard, and after checking these forums I discovered that disk corruption, PCI Bus Mastering and SCP problems have been plaguing the whole soundblaster product line ever since the Li've! series and were never really solved, plus it's not clear if they are purely software or hardware, or both.
    In any case, this card caused me a lot of expenses, and after reading the horror stories here, I am really afraid to plug it into any of my PCs, in fact I'll try to sell it hoping that the manufacturer's reputation doesn't make it impossible.
    So really, what's the deal here? Is it just me, or Sound Blasters just aren't what they used to be? How can a whole class of hardware problems persist for so long, even trhough the X-Fi series? If I had seen those forums BEFORE handing out 70 Euros for that d4mn thing, I would have probably kept my money and stick to AC'97 with rock-solid drivers and hardware!Message Edited by CreativeSkeptic on 03-5-200704:20 PM

    Well, I don't know how the X-Fi series scores in any of those fields, as I can only speak for my experiences with the Audigy 4.
    Apart from the times where it obviously glitched and/or interacted badly with the rest of the hardware, it played quite smoothly, and MIDI playback took noticeably less CPU time than with the software synth (at least according to task manager, and obviously not accounting for PCI bus utilisation), which was one of the reasons I initially bought this card.
    Exactly what makes MIDI playback different than playing sound effects in games? Since both are made from samples read from memory and sent to the sound card in different streams (up to 32 or 64 depending on your model), they should be exactly the same (well OK, midi is perhaps sort of more "continuous", but a game laden with sound effects may generate 0s of sound events per second).
    By admitting that such "hardware accelerated" playback is beyond the capabilities of the current PCI bus is ridiculous, and obviously defeats the purpose of an accelerator sound card. Then why should one ever buy one, if in the end it's going to perform worse than software mixing and synthesis?
    The numbers also don't convince me: the PCI bus has a 33 MHz clock speed and a 32-bit data bus, for a nominal data rate of 33 MB/sec. Even in ths case you're using 92 KHz, 24 bit resolution soundfonts for 64 channels at once, That means a "mere" 36.684 MB/sec at once. OK, using stereo soundfont would actually double that, and reach a whooping 73+ MB/sec, which is probably impractical.
    For more "normal" game sound effects and soundfonts, admitting they use 48 KHz, 6 bit samples in stereo, that's a measly 2.28 MB/sec for using all 64 channels. Since virtually no midi really uses 64 channels, as don't most games, that leaves a margin of 0: compared to the PCI bus capabilities. To make a comparison, a TV tuner card I have, when capturing a PAL signal, produces something like a continuous stream of 33 MB/sec of raw data that can go on for hours, yet I never had any problems RECORDING that, with real-time MPEG compression (in software, it was a cheap TV tuner) while recording the sound with the integrated soundcard.
    If the Audigy or the X-Fi or whatever cannot handle similar or inferior data rates, then something is basically flawed. Sure, there is still subdivision of the data stream into PCI packets, a maximum allowed bus mastering time and timing-sensitivity in the case of MIDI/sound effects, but still, glitchy playback and/or multi-second pausing indicates a much worse error than "missing" control of the PCI bus for a few cycles.
    Regarding the AWE32 comments...does this imply than all or most of the current Sound Blaster lineup is technically inferior to an ISA card released 0 years ago? Then the "hardware acceleration" is but an illusion, and we should all perhaps stick to integrated or "normal" soundcards?

  • How do I enable all sound files wav,MP3 on windows 7 64-bit change system sounds

    How do I enable all sound files wav,MP3 on windows 7 64-bit change system sounds it will only give me the option to choose wav?

    Windows 7 uses .wav (wave) files for the sound events. The default folder that Windows 7 uses to store the sound files in is located at C:\Windows\Media.
    You cannot use a MP3 file but there are lots of (WAV to MP3 converters) available on internet which can help you to convert MP3 to wav  serving your purpose of changing system sound. 
    //Click on Kudos and Accept as Solution if my reply was helpful and answered your question//
    I am an HP employee!!

  • Sound pressure spectra with SVT

    Hey all,
    I have a project which I have been having a bit of trouble implementing. I'm performing several measurements at 48kHz/24Bit of some sound events. My requirement are as follows for sound pressure spectra analysis. 
    500 - 20 kHz frequency bandwidth with a 25 Hz frequency resolution.
    Peak  Hold  averaging  with  50%  overlap  processing  and  Hanning  windowing  applied  to  the time records. 
    Anti-aliasing filtering. 
    A - weighting. 
    I have the sound and vibration toolkit and have implemented as follows:
    1. Read wav
    2. Convert from Volts to dB via SVL Scale Volts to EU.vi. (I used a calibrated signal of 94dB at 1kHz to find my mic sensitivity). 
    3. A-weighting using SVL A,B,C Weighting Filter.vi
    4. Peform analysis using SVL Zoom Power Spectrum.vi. 
    Few Issues:
    I dont know how to implement the Anti-aliasing filter. 
    Is the method I have used ok with measuring sound spectra? Or should I perform the FFT then convert to dB?
    I have tried to implement the same analysis using Matlab and although I get the same FFT profile, my dB levels are different where the 16kHz noise is almost the same level as the 8kHz noise? Not sure what is happening there, but I want to concentrate on using LV for now. 
    I dont have any guidance available or experience with this sort of analysis. I have trialed my program out on a sample wav file which has two separate distinct noises events, one at 8kHz and another at 16kHz. My FFT is showing that the 16kHz is a much higher sound level (95dB) than the 8kHz (80dB) but when I listen to the wav via a pair of studio monitor speakers, the 8kHz is much more audible. Wouldn't the implementation of A-weighting filter tend to make the 8kHz noise more prevalent in the FFT? 
    Any suggestions on this topic are appreciated.
    Thanks!  

    Hi David,
    If you want to enable the enhanced alias filter, you can use a DAQmx channel property node. I would recommend placing a DAQmx Channel property node on the block diagram and then going to Analog Input » General Properties » Advanced » Enhanced Alias Rejection Enable. See if that works and let me know.  
    Jake H | Applications Engineer | National Instruments
    Attachments:
    Enhanced Alias Rejection.png ‏3 KB

Maybe you are looking for

  • Restore did not fix "other" storage problem

    The "Other" category is taking up 5.96GB of my 16GB and I can't figure out how to free some of that space. I deleted/disabled the album artwork and restored my iTouch but nothing happened - actually the "Other" got larger when I restored instead of g

  • Windows Deployment Services - Windows 8.1 Deployment Failure (Required Driver could not be Installed)

    Hello everyone, Give you a little background on the hardware/software which we are running to do a Windows 8.1 Deployment, we have an VM of Windows Server 2008 R2 with Windows Deployment Services installed and configured correctly. For the boot image

  • Jsp,servlet,bean question,please help

    The Tomcat Web server set up like this....... The directory structure is e:/sampleapp/WEB-INF/classes /lib And the web.xml is in the WEB-INF for the use of ay potential servlet. The basic understanding is that all the .java files go into the WEB-INF

  • Adding field BKPF-XREF1_HD in FBL1N/FBL3N dynamic selection

    Hi Friends, Is there any possible way to add the BKPD-XREF1_HD field to FBL1N and FBL3N transactions? I tried thru SE36 but no result.(BRF) As per my knowledge both are line item related process which contains other than BKPF table entries. Bue my cl

  • Error with push in json object

    Hey i am using json to store my data in js app but problem is that when i am using javaScript push method to add json object then it's working successfully but some extra null element also adding with it. <script> jsonArray= "element1":[{"first":"raj