Project.insert_audio_to_current_track_at_playhead#

Project.insert_audio_to_current_track_at_playhead(media_path: str, start_offset_in_samples: int, duration_in_samples: int) bool[source]#

Inserts the media specified by mediaPath (string) with startOffsetInSamples (int) and durationInSamples (int) at the playhead on a selected track on the Fairlight page.

Parameters:
  • media_path (str)

  • start_offset_in_samples (int)

  • duration_in_samples (int)

Returns:

Returns True if successful, otherwise False.

Return type:

bool