Search found 59476 matches

by steve
Thu May 27, 2021 2:52 pm
Forum: Nyquist
Topic: Plugin to get duration percentages of tracks
Replies: 22
Views: 822

Re: Plugin to get duration percentages of tracks

I have kept each step separate as opposed to combing them, still feeling a bit fragile. No problem. The first task is to get something that works. It can be tidied up later :D --- Note that (setf track-name (get '*TRACK* 'NAME)) will only work with "normal" effects (;type generate, proces...
by steve
Thu May 27, 2021 2:18 pm
Forum: Nyquist
Topic: Plugin to get duration percentages of tracks
Replies: 22
Views: 822

Re: Plugin to get duration percentages of tracks

For Effect / Analyze / Generate type plug-ins, we are usually saved from having to extract data from GetInfo. The reasons that we have to do this the hard way are: 1. We want to get data about the entire project, irrespective of the current selection. 2. Nyquist cannot directly read label tracks. 3....
by steve
Thu May 27, 2021 2:03 pm
Forum: Nyquist
Topic: Plugin to get duration percentages of tracks
Replies: 22
Views: 822

Re: Plugin to get duration percentages of tracks

Manipulating audio is Nyquist's forte. That's what it was designed for. Parsing lists of data is a bit cumbersome, but at least we don't have to parse the raw string data from "GetInfo:". Manipulating strings (text) in Nyquist is painful :D If you're interested in how AUD-GET-INFO works, i...
by steve
Thu May 27, 2021 12:51 pm
Forum: Nyquist
Topic: Plugin to get duration percentages of tracks
Replies: 22
Views: 822

Re: Plugin to get duration percentages of tracks

Recapping on my previous post, we have seen that we can get a list of labels for each label track with: ;type tool (setf info (aud-get-info "Labels")) ;; DOLIST is a convenient way to iterate through lists (dolist (one-label-track info) (print (second one-label-track))) We are probably mak...
by steve
Thu May 27, 2021 12:24 pm
Forum: Nyquist
Topic: Plugin to get duration percentages of tracks
Replies: 22
Views: 822

Re: Plugin to get duration percentages of tracks

Moving on to Label tracks. As previously described, (aud-do "GetInfo: Type=Labels Format=LISP") will get us the information, but only as a text description. We will use AUD-GET-INFO instead as that gives us a LISP expression which is much easier to work with. We will also run these example...
by steve
Thu May 27, 2021 11:19 am
Forum: macOS
Topic: Working with ultrasonic recordings
Replies: 5
Views: 96

Re: Working with ultrasonic recordings

insch wrote:
Thu May 27, 2021 10:26 am
How do you advise that I change the sample rate of the recording?
To achieve the required "stretching", you just need to change the "Track Rate":
steve wrote:
Wed May 26, 2021 9:10 pm
An even quicker / easier way would be to simply change the track sample rate. (See: Rate)
(Click the link "Rate")
by steve
Thu May 27, 2021 11:15 am
Forum: Nyquist
Topic: Plugin to get duration percentages of tracks
Replies: 22
Views: 822

Re: Plugin to get duration percentages of tracks

I'm stuck on extracting the start and end times of the labels. Tried "dolist" and "dotimes" but I still don't fully understand the mechanics of those two. All credit to you for having a go :) Yes, it's a bit tricky. Firstly, the difference between (aud-do "GetInfo: ..."...
by steve
Thu May 27, 2021 10:02 am
Forum: macOS
Topic: Audacity erase project's data when close
Replies: 32
Views: 441

Re: Audacity erase project's data when close

Thanks for the clear steps.

I'm currently on a Linux machine. The issue does not happen here.

@ Koz can you reproduce it on your Mac?
by steve
Thu May 27, 2021 9:53 am
Forum: Windows
Topic: Extreme slowdown, Audacity 3
Replies: 6
Views: 116

Re: Extreme slowdown, Audacity 3

Try updating to Audacity 3.0.2.
I think that's unlikely to be the problem, but 3.0.2 does fix a number of issues.
by steve
Wed May 26, 2021 9:10 pm
Forum: macOS
Topic: Working with ultrasonic recordings
Replies: 5
Views: 96

Re: Working with ultrasonic recordings

"Change Pitch" retains the original time base. That is, 1 minute of recording time will play in 1 minute. The downside is that the sound will be distorted quite a lot with a big shift in pitch. "Change Speed" retains the exact waveforms, so the sound quality is near perfect but l...