# Using "select-all" just for audio

**URL:** <https://forum.audacityteam.org/t/using-select-all-just-for-audio/28500>\
**Category:** Windows\
**Created:** [February 15, 2013, 5:30pm UTC](https://forum.audacityteam.org/t/using-select-all-just-for-audio/28500 "2013-02-15T17:30:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Robert\_J\_H](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/r/b38774/32.png) [@Robert\_J\_H](https://forum.audacityteam.org/u/Robert_J_H)\
**Post date:** [February 15, 2013, 7:30pm UTC](https://forum.audacityteam.org/t/using-select-all-just-for-audio/28500/3 "2013-02-15T19:30:21Z")

</div>

You’re right, it is rather queer. I don’t know why Audacity passes short sounds to the effect, as if they would have the same duration as the longest one.  
I guess that it simplifies the code execution.  
I can only talk for Nyquist effects. If I want to write a really multi-track selection suitable plug-in, I have to trim the sound, i.e. remove all zeros (didital silence) before the sound is returned to audacity.  
Since this procedure is time-consuming, it is almost never applied in a plug-in. In fact, I am only aware of my align-track plug-in, that does this (in order to align tracks end-to-end without unwanted pauses).  
[Aligning tracks end-to-end](https://forum.audacityteam.org/t/arrange-your-tracks-with-chain-it-up-ny/26201/1)  
However, it does this also for the beginning of the track, which is not desired for tracks that were deliberately shifted.

Fortunately, There is a command that removes the unwanted silence from your audio (after processing):

```plaintext
Edit > Clip Boundaries > Detach at Silence (ctrl-alt-j)

```

Thus, just select all as usual, apply the effect you want and execute the command above.

---

_[View the full topic](https://forum.audacityteam.org/t/using-select-all-just-for-audio/28500)._
