Log the sound level and/or frequency at regular intervals

Is there anyway in Audacity to automatically export the sound level and or frequency of an audio file to a text file every millisecond or hundreth of a second, for example?

Thanks in advance.

Let’s go with no, but what’s the job? There may be techniques or methods of getting the job done without doing it the way you posted.

frequency of an audio file

For example, there is no “frequency of an audio file” unless you’re doing scientific research or experiment management. Audacity doesn’t do that very well.

Koz