-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Please tell us what you were doing! You can include code and files by drag and dropping them into the text area.
The current code takes account of playback rate and take offset:
Line 103 in 864098a
| slice_points[i] = (slice_points[i] - data.take_ofs_samples) / data.playrate |
However, testing with Reaper 7.34 shows that this ends up with incorrect results, as Reaper is already converting internally. The following screenshot using onsetslice shows two versions of a file (top is playback rate 1 and no offset, bottom is faster with an offset). It is clear that the alignment is not the same (as one would expect) of waveform and markers.
This is solvable by simply removing this aspect of the conversion - it does appear that some accounting for reversal is necessary.
If you encountered an error processig a file, can you please upload the file here? Make sure to compress it beforehand or use a sharing service.
Any file will show the issue
What was the expected result?
Alignment of waveform and markers in a similar fashion regardless of playback rate and source offset.
What was the actual result?
See pic
FluCoMa Version
2.10
What operating system were you using?
Mac
Operating system version
Mac OS 14