Segment

Extract a specified segment from an audio file, retaining chosen duration starting from a designated point in time.

Documentation

Settings

  • Name
    start
    Type
    number
    Description

    Starting point in milliseconds from which the segment will be extracted.

  • Name
    duration
    Type
    number
    Description

    Duration in milliseconds of the segment to be extracted.

  • Name
    sampleRate
    Type
    string
    Description

    Sample rate for the output file to control the resolution and quality of the output audio.

Input

  • Name
    inputFileUrl
    Type
    string
    Description

    Audio to be segmented.

Output

  • Name
    outputFileUrl
    Type
    string
    Description

    Audio containing the extracted segment, as specified by the start and duration parameters.

Ready to innovate your business?