How can I select audio between every other label?

Windows 10, Audacity 2.3.3

Hi all,

I’m creating a piece of audio that requires me every half a second or so to shift the pitch, for the first half of the second the pitch will be shifted up and the second half of the second it is shifted down.

By going to Tools/Regular Interval Labels, I’ve created labels marked at every half a second in my audio to ensure that I select as accurately as possible. I was wondering if I could bulk select every other label (i.e. between Label01-02 and Label03-04, but not between Label02-03) as this would make creating these pieces a lot easier and less painstaking than selecting between every label manually, especially in a larger piece

I’m probably missing something hidden in plain sight, but any advice would be greatly appreciated

Thanks in advance :slight_smile:

The way I would do it would be to create two label tracks.

Label track 1 would have region labels:
0 to 0.5, 1 to 1.5, 2 to 2.5, …

Label track 2 would have labels:
0.5 to 1, 1.5 to 2, 2.5 to 3, …

To create label track 1, select the entire length of the required label track and run this code in the Nyquist Prompt effect:

(setf region-length 0.5)  ;length of each label
(setf label-space 0.5)    ;distance between labels

(setf interval (+ region-length label-space))
(setf dur (get-duration 1))
(setf labels ())

(let ((dur (get-duration 1)))
  (do* ((start 0 (+ start interval))
        (end region-length (+ start region-length)))
       ((>= end dur) labels)
    (push (list start end "") labels)))

To create label track 2, adjust the start of the select to 0.5 seconds and ensure that the first label track is NOT selected. Then run that Nyquist code again.


Tremolo/vibrato plug-in (TremVib.ny) on vibrato (& square-wave modulation ?).