Audio Segmenter

Prev Next

Splits the whole incoming audio data to several audio fragments at once. Each fragment contain at least some audible data. Works on batch audio.

Parameters

none

Inputs

Audio

 Accepts audio from a single channel.

Events

 none

Outputs

Audio

  Audio fragments are sent to output

Events

name description
Start of Segment Raised once at the beginning of each audio fragment.
End of Segment Raised once at the end of each audio fragment.

Remarks

This node toasts the audio output write actions for each segment in between start-of-segment and end-of-segment events. As an example for an audio data with 3 audio segments, the flow is as follows (the order is well defined):

segment-1: send "Start of Segment" event
segment-1: write the audio data of this segment to output
segment-1: send "End of Segment" event
segment-2: send "Start of Segment" event
segment-2: write the audio data of this segment to output
segment-2: send "End of Segment" event
segment-3: send "Start of Segment" event
segment-3: write the audio data of this segment to output
segment-3: send "End of Segment" event

Project Structure

A minimal project with Audio Segmenter can be built as such:

image.png

Important Note

Make sure that both the Audio output and the Event output is connected to the receiving nodes. Otherwise, the following nodes will not know when the audio starts and ends.

Supported flow types

Batch

Release History

v1.0.0
  • Introduced Node.