# Wrong sample numbers for cursor and selection

**URL:** <https://forum.audacityteam.org/t/wrong-sample-numbers-for-cursor-and-selection/133474>\
**Category:** GNU/Linux\
**Created:** [March 8, 2025, 7:25pm UTC](https://forum.audacityteam.org/t/wrong-sample-numbers-for-cursor-and-selection/133474 "2025-03-08T19:25:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuriy228228](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/y/ed655f/32.png) [@yuriy228228](https://forum.audacityteam.org/u/yuriy228228)\
**Post date:** [March 8, 2025, 7:25pm UTC](https://forum.audacityteam.org/t/wrong-sample-numbers-for-cursor-and-selection/133474/1 "2025-03-08T19:25:54Z")

</div>

Hi

Here is some strange behaviour of showing sample numbers in the bottom panel.  
I open a file with Import-\>RAW with a specific sample rate. Then I put a cursor or select some part of the samples in the waveform diagram and try to find out the number of sample I’ve put cursor to/selected. But the bottom bar definitely shows wrong numbers - they are wrong even for very beginning samples of the file. The seconds value also does not correspond to what sample rate I set when openning the file.

Moreover, the shown sample numbers depend on current tempo value (no idea what’s this) and sample rate specified in the open dialog. Which is completely odd as the sample points saved in a wave stream is a fundamental thing and their numberring cannot depend on some external parameters or interpritations.

If I choose sample rate of 10 for the file, for the first selected sample (from the beginning) it shows 0.010 seconds and 450 sample number in the panel:

 ![image](https://forum.audacityteam.org/uploads/default/original/3X/7/0/7011e5be0ad6056d7f85286b7bbb2cd8fbe9ebc5.png)

If I choose rate of 500 000 (the real rate of the data), it shows 0 sample number for the first 5 selected samples and 1 sample number for the sixth selected sample:

While normaly in both cases for the first selected sample (considering 0-based numberring) it should show exacrly 1 sample number. How for instance Sound Forge always does.

Do I miss something? Is there possibility to show the real sample numbers and correct time in seconds (considering selected rate for the file)?

---

<div class="post-metadata">

**Author:** ![Trebor](https://forum.audacityteam.org/user_avatar/forum.audacityteam.org/trebor/32/45854_2.png) [@Trebor](https://forum.audacityteam.org/u/Trebor)\
**Post date:** [March 8, 2025, 11:21pm UTC](https://forum.audacityteam.org/t/wrong-sample-numbers-for-cursor-and-selection/133474/2 "2025-03-08T23:21:40Z")

</div>

> [@yuriy228228](#):
>
> with a specific sample rate.

Make your project rate that specific rate before importing the raw data.

> [@Project Rate (Hz)](https://forum.audacityteam.org/t/project-rate-hz/74329):
>
> Hello, Audacity used to have a button on the bottom left corner, Project Rate (Hz). I just downloaded the new 3.3 version and it disappeared. Now I am not sure how to change the rate of the project since I am very new to this. Please help.

---

<div class="post-metadata">

**Author:** ![yuriy228228](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/y/ed655f/32.png) [@yuriy228228](https://forum.audacityteam.org/u/yuriy228228)\
**Post date:** [March 13, 2025, 11:58am UTC](https://forum.audacityteam.org/t/wrong-sample-numbers-for-cursor-and-selection/133474/3 "2025-03-13T11:58:35Z")

</div>

It works, thanks!

---

<div class="post-metadata">

**Author:** ![system](https://forum.audacityteam.org/uploads/default/original/1X/81a69b20bcd548215067cfaceccc8a10bfa2d176.png) [@system](https://forum.audacityteam.org/u/system)\
**Post date:** [April 7, 2025, 7:26pm UTC](https://forum.audacityteam.org/t/wrong-sample-numbers-for-cursor-and-selection/133474/4 "2025-04-07T19:26:37Z")

</div>

Closed on April 7, 2025, 7:26pm UTC

This topic was automatically closed after 30 days. New replies are no longer allowed.
