# Sample Data Export format

**URL:** <https://forum.audacityteam.org/t/sample-data-export-format/81631>\
**Category:** Windows\
**Created:** [August 7, 2023, 7:27pm UTC](https://forum.audacityteam.org/t/sample-data-export-format/81631 "2023-08-07T19:27:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![steve](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@steve](https://forum.audacityteam.org/u/steve)\
**Post date:** [August 7, 2023, 7:50pm UTC](https://forum.audacityteam.org/t/sample-data-export-format/81631/2 "2023-08-07T19:50:37Z")

</div>

> [@StevenABrown](#):
>
> do those decimal numbers represent the 24-bit PCM binary sample values exactly? Is there any rounding or approximation that occurs when the binary sample values are converted to the decimal numbers in the text file?

The values are rounded to 5 decimal places.

If my maths is correct, to represent normalized signed 24-bit numbers accurate to the least significant bit, you will need 9 decimal places.

For greater precision:

1. Find the “sample-data-export.ny” file.
2. Make a backup copy of the file somewhere convenient.
3. Open “sample-data-export.ny” in a plain text editor (such as [NotePad++](https://notepad-plus-plus.org/downloads/))
4. Find the line:

```lisp
(setq *float-format* "%1.5f") ; 5 decimal places

```

1. For 9 decimal places, change that to:

```lisp
(setq *float-format* "%1.9f") ; 9 decimal places

```

Note that for real-world recordings, anything beyond about 5 decimal places is likely to be just random noise.

---

_[View the full topic](https://forum.audacityteam.org/t/sample-data-export-format/81631)._
