Reascript: API for finding nearby zero crossings and transients in source
It would be useful to have API functions for finding the positions of nearby zero crossings and transients in the source, so that stretch markers can be placed at those exact source positions.
It is possible to run the actions "Move edit cursor to previous zero crossing" or "Move cursor to previous transient in items" via Main_OnCommand, and then follow the edit cursor position, but this hack only gives time positions, not source positions, and is difficult to apply to audio that might be not be visible onscreen, or that is otherwise edited onscreen.
|