I am trying to edit a very short sound effect from freesound.org (https://www.freesound.org/people/KorgMS ... nds/54405/). When I import it into Audacity and try to play it, it does not play anything, though. It seems that the audio clip is too short to be played back properly. When I put another audio clip half a second after it, it does play the sound correctly. When I simply select a larger area to play, it strangely only plays it sometimes. Both of these half-baked solutions are very annoying, though, because the timeline scrolls to the end of the section every time I play it. Apart from that I can not hear the sound when trying to apply an effect and clicking on the preview button. Does Audacity have a problem with very short audio clips like that?
I am using Xubuntu 15.10 and Audacity 2.0.6.
Cannot play very short sound clip
Forum rules
This forum is for Audacity on GNU/Linux.
Please state:
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state:
- which version of Linux you are using,
- the exact three-section version number of Audacity from Help menu > About Audacity,
- whether you installed your distribution's release, PPA version, or compiled Audacity from source code.
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Re: Cannot play very short sound clip
It's almost certainly due to buffering by the sound system.
It is likely to be most noticeable when using the default playback (Pulse). If you select the "hw" playback option in the device toolbar, then Audacity will bypass Pulse and use ALSA directly. That should improve things, but it won't cure the issue completely because ALSA also uses buffering (though typically less than Pulse).
To cure the issue completely you would need to use Jack Audio system, though it can be quite tricky setting that up, so may not be worth the effort.
It is likely to be most noticeable when using the default playback (Pulse). If you select the "hw" playback option in the device toolbar, then Audacity will bypass Pulse and use ALSA directly. That should improve things, but it won't cure the issue completely because ALSA also uses buffering (though typically less than Pulse).
To cure the issue completely you would need to use Jack Audio system, though it can be quite tricky setting that up, so may not be worth the effort.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Cannot play very short sound clip
It plays in Audacity on Windows and Mac. But it's a Linux issue not an Audacity issue, isn't it?
Gale
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Cannot play very short sound clip
It's partly an Audacity issue too because Audacity also buffers the audio data, and it's partly a hardware / drivers issue. With some combination of hardware / drivers / sound system, if playback ends before all of the various buffers are full, then the sound card may not even try to play the audio, and the data in the buffers will just be dumped. With other combinations, the sound card will play until the buffers have been emptied. With low latency sound systems such as Jackd and ASIO, there should be no problem because the total buffer size is extremely small, and playback should continue until the buffers are completely empty. It's not an issue that Audacity can do anything about because high latency sound systems will stutter or not play at all unless there is sufficient buffering by the software. (When using Jackd, the buffering by Audacity appears to be automatically bypassed. I've not tested that with ASIO, but probably the same there too.)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: Cannot play very short sound clip
I tried what you suggested and set the output directly to ALSA with the corresponding audio device. Unfortunately, it did not change anything for me.
So I guess I would have to set up JACK and see if I get better results. I have done that before, but I suspect it would take me some time nonetheless. I am going to think about it and report my results if I decide to go for it.
So I guess I would have to set up JACK and see if I get better results. I have done that before, but I suspect it would take me some time nonetheless. I am going to think about it and report my results if I decide to go for it.
Re: Cannot play very short sound clip
A simple workaround is to add a new track (Ctrl+N) and generate a second or more of silence into it (Generate > Silence).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)