waveform_editor.util.times_from_csv

waveform_editor.util.times_from_csv(source, from_file_path=True)

Parse the CSV file or utf8-encoded content containing time values.

Parameters:
source

Either a file path or utf8-encoded content from FileInput.

from_file_path=True

If True, treat source as a file path. If False, treat as utf8-encoded bytes.

Returns:

Numpy array containing the times or None if the source is None.


Last update: 2025-10-02