Floating Point error in Labels
Posted: Fri Mar 07, 2008 5:35 pm
I just downloaded the new (1.3.4) beta build and went to make a mix album. Importing a handful of tracks, I use the time shift tool to arrange them with some overlap, then used the label tool to create labels for each track in a new label track. Then I mixed/rendered the tracks into a single track and did an export-multiple to get tracks with the overlap fade I wanted.
I quickly discovered that because labels have start and end points, this causes export-multiple to create each track in full, thus duplicating the overlap material. Ok, I thought, no biggie. I'll just go edit the labels in the label editor and set their start and end point to the exact same value (in time + frames).
I did this, everything appeared correct. When I redid export-multiple, some tracks were correct, and others were almost zero length (only a handful of frames). So, I exported the label track and discovered the following floating point conversion errors.
Note that in the project, all these tracks appear to have labels which start and end on the same frame, as desired. Yet when exported as floating point seconds, we're seeing a roundoff error (probably because of different precisions being used at different points).
I'll try hand-editing the label file and re-importing it as a label track to see what happens, but I figured you guys would want to know.
I quickly discovered that because labels have start and end points, this causes export-multiple to create each track in full, thus duplicating the overlap material. Ok, I thought, no biggie. I'll just go edit the labels in the label editor and set their start and end point to the exact same value (in time + frames).
I did this, everything appeared correct. When I redid export-multiple, some tracks were correct, and others were almost zero length (only a handful of frames). So, I exported the label track and discovered the following floating point conversion errors.
Code: Select all
1613.760000 1613.760000 Cranes - Watersong
1841.826667 1841.830000 Lagerfeldt - Flip the Flop
2044.586667 2044.590000 Bobby Darin - Beyond the SeaI'll try hand-editing the label file and re-importing it as a label track to see what happens, but I figured you guys would want to know.