Display value of individual sample

In Audacity 2.0.2, is it possible to display the value of an individual sample?
(One more question: is there a shortcut to view a track full-screen?)
(Windows 7 Professional, SP1)

Control-F will contract the show left to right so the whole thing fits.

Control-E will zoom into the dragged selection and Control-3 will zoom out a little bit. I live in those three.


Have a look at Sample Data Export

Thanks. I’m analyzing some audio waveforms that have certain amplitude features, and it would have been handy to be able to mouse-over or click a sample to read its value.

You can find the value of the first sample in a selection by using the Nyquist Prompt effect and running the following code:

(snd-fetch s)

If you want the value in dB, use this code:

(linear-to-db (abs (snd-fetch s)))

You can also see an approximate value by zooming in vertically and horizontally as close in as possible

Thanks–I was able to get the data I needed by repeatedly applying the Nyquist command using ^R.

Just out of interest, what do you need these sample values for?

Making some audio-gear measurements–attack and release times, e.g.

Sounds interesting. Good luck with your project.

I tried the Nyquist Prompt code but where does the result appear??

You’re replying to a topic that is nearly 10 years old.

For the scripts to work in current / recent versions of Audacity you will need to replace the “s” term with “track”. For example:

(linear-to-db (abs (snd-fetch *track*)))