holes in recording

134 views
Skip to first unread message

Jean-Joël Bataille

unread,
Sep 21, 2025, 5:46:52 PMSep 21
to golden-cheetah-users

Sometimes when I want to correct holes in recordings, the appropriate tool does not do the job, even though the two parameters to be filled in are suitable for the holes to be corrected. I have not found any discussion addressing this issue. 

Ale Martinez

unread,
Sep 21, 2025, 6:16:02 PMSep 21
to golden-cheetah-users
El domingo, 21 de septiembre de 2025 a la(s) 6:46:52 p.m. UTC-3, jj.ba...@gmail.com escribió:

Sometimes when I want to correct holes in recordings, the appropriate tool does not do the job, even though the two parameters to be filled in are suitable for the holes to be corrected. I have not found any discussion addressing this issue. 


Perhaps if you give more details and provide a sample file we could discuss your specific issue, otherwise a common user error is not understanding is you has one shot for Fill Gaps, further runs will do nothing because the gaps has been removed, you need to undo the previous changes or re-import if you changed your mind about parameters. 

Jean-Joël Bataille

unread,
Sep 22, 2025, 9:59:20 AMSep 22
to golden-cheetah-users

In my activity, there are two gaps. The first is between 0:28:24 and 0:28:26, and the second, larger one is between 1:30:09 and 1:30:29.

My first attempt:

I use the tool with the settings “Tolerance 1s” and “stop 90s,” but only the first gap is corrected.

Second attempt:

I cancel the previous correction and change the settings to “Tolerance 1s” and “stop 15s.” Everything is corrected, with behavior consistent with what is stated in the help section for gaps larger than the stop.

I do not understand why the second gap was not corrected in the first attempt.

Thank you for your help.



Translated with DeepL.com (free version)

Ale Martinez

unread,
Sep 22, 2025, 10:33:41 AMSep 22
to golden-cheetah-users
El lunes, 22 de septiembre de 2025 a la(s) 10:59:20 a.m. UTC-3, jj.ba...@gmail.com escribió:

In my activity, there are two gaps. The first is between 0:28:24 and 0:28:26, and the second, larger one is between 1:30:09 and 1:30:29.

My first attempt:

I use the tool with the settings “Tolerance 1s” and “stop 90s,” but only the first gap is corrected.

Second attempt:

I cancel the previous correction and change the settings to “Tolerance 1s” and “stop 15s.” Everything is corrected, with behavior consistent with what is stated in the help section for gaps larger than the stop.

I do not understand why the second gap was not corrected in the first attempt.

Me neither without looking at the data, It doesn't make any sense to me, if you attach the original file we can take a look to understand what's happening. 

Jean-Joël Bataille

unread,
Sep 22, 2025, 11:05:55 AMSep 22
to golden-cheetah-users

Voici le .fit
20405511630_ACTIVITY_2025_09_16_16_21_11.fit

Ale Martinez

unread,
Sep 22, 2025, 1:42:43 PMSep 22
to golden-cheetah-users
El lunes, 22 de septiembre de 2025 a la(s) 10:59:20 a.m. UTC-3, jj.ba...@gmail.com escribió:

In my activity, there are two gaps. The first is between 0:28:24 and 0:28:26, and the second, larger one is between 1:30:09 and 1:30:29.

My first attempt:

I use the tool with the settings “Tolerance 1s” and “stop 90s,” but only the first gap is corrected.

Second attempt:

I cancel the previous correction and change the settings to “Tolerance 1s” and “stop 15s.” Everything is corrected, with behavior consistent with what is stated in the help section for gaps larger than the stop.

I do not understand why the second gap was not corrected in the first attempt.

The reason is the second gap happens during a pause which is shorter than stop, when there is no movement Fix Gaps doesn't interpolate the data, when the gap is greater than stop it is filled with zeroes: https://github.com/GoldenCheetah/GoldenCheetah/blob/98593fce2d9b8d64daafa5f836ac0c1ce411a277/src/FileIO/FixGaps.cpp#L176-L298 
Perhaps it would be better to fill with zeroes in the first case to avoid the need of a second run, but I didn't write that code and I am not sure about the original intention, at least we would need to amend the documentation.

Ale Martinez

unread,
Sep 22, 2025, 1:47:26 PMSep 22
to golden-cheetah-users
After a second look the comment indicates my preferred behavior but the code does owerwise:


// stationary or greater than 30 seconds... fill with zeroes
} else if (gap > stop) { 

should be:

// stationary or greater than stop seconds... fill with zeroes
} else if (stationary || gap > stop) { 

Ale Martinez

unread,
Sep 22, 2025, 2:31:20 PMSep 22
to golden-cheetah-users

Ale Martinez

unread,
Sep 22, 2025, 7:11:24 PMSep 22
to golden-cheetah-users

Ale Martinez

unread,
Sep 23, 2025, 10:35:58 AMSep 23
to golden-cheetah-users
There are installers with the fix applied available from https://ci.appveyor.com/project/Joern-R/goldencheetah-knhd8/builds/52789355, select the OS then Artifacts. 

Jean-Joël Bataille

unread,
Sep 23, 2025, 1:08:31 PMSep 23
to golden-cheetah-users

I don't think these installers will help me. I work with Manjaro, so I use GC appimages. Is there a thread discussing the integration of patches into appimages? In any case, thank you for your continued helpful assistance.

Ale Martinez

unread,
Sep 23, 2025, 3:22:01 PMSep 23
to golden-cheetah-users
The AppImage was created on Ubuntu22.04, follow that link, I used “installers” in a loose way, likely binaries would be a better term.

Jean-Joël Bataille

unread,
Sep 23, 2025, 5:28:53 PMSep 23
to golden-cheetah-users

It's done, thanks again.

Reply all
Reply to author
Forward
0 new messages