Create live stream feature rules
Feature rules can be configured to automatically identify music, tones, silence and metadata in your live stream audio and apply actions such as removing segments, replacing segments or inserting ad locations.
Note: In order to use Feature rules you must enable the Cuepoint Editor for your Podcast. Navigate to your Podcast’s settings page, select the "Megaphone settings" tab and scroll to the "Advanced Settings" section at the bottom of the page. Enable the Cuepoint Editor toggle and click Save at the top of the page.
Creating feature rules
To create feature rules, navigate to the "Live stream setting" tab in your Podcast's settings page. Select the relevant live stream and click the “Add rule” button.
Music rules
To create a Music rule, choose Music from the feature type selector then click “Continue”.
Actions
Actions are what will be done in response to Music being detected.
Action
Choose one of the following Actions:
Insert - this will insert an ad location before music
Replace - this will replace music with an ad location
Remove - this will remove music from playback
Note: Replace and Remove are non-destructive and can be adjusted or reversed in an Episode’s settings.
Location
For Insert and Replace Actions you can choose a Pre roll, Mid roll or Post roll cuepoint type.
For Remove actions a Remove segment will be created.
Conditions
Conditions allow you to define parameters for your feature detection. Actions will only be applied if these conditions are met.
Minimum duration (seconds)
Specify the minimum duration, in seconds, that music should be playing in order for the rule to apply.
Confidence Level of Detection
Choose High, Medium or Low confidence.
Tone rules
To create a Tone rule, choose Tone from the feature type selector then click “Continue”.
Actions
Actions are what will be done in response to Tones being detected.
Action
Choose one of the following Actions:
Insert - this will insert an ad location before music
Replace - this will replace music with an ad location
Remove - this will remove music from playback
Note: Replace and Remove are non-destructive and can be adjusted or reversed in an Episode’s settings.
Location
For Insert and Replace Actions you can choose a Pre roll, Mid roll or Post roll cuepoint type.
For Remove actions a Remove segment will be created.
Conditions
Conditions allow you to define parameters for your feature detection. Actions will only be applied if these conditions are met.
Condition type
Single tone - choose if you wish to apply the action to each tone
Start and end tone - choose if you wish to apply to a segment between two tones
Minimum duration (seconds)
Specify the minimum duration, in seconds, that a tone should be playing in order for the rule to apply.
Frequency of tone (Hz)
Specify the frequency of the tone, in Hz, that you would like to apply your action to.
Silence rules
To create a Silence rule, choose Silence from the feature type selector then click “Continue”.
Actions
Actions are what will be done in response to Silence being detected.
Action
Choose one of the following Actions:
Insert - this will insert a cuepoint before silence
Replace - this will replace silence with a cuepoint
Remove - this will remove silence from playback
Note: Replace and Remove are non-destructive and can be adjusted or reversed in an Episode’s settings.
Location
For Insert and Replace Actions you can choose a Pre roll, Mid roll or Post roll cuepoint type.
For Remove actions a Remove segment will be created.
Conditions
Conditions allow you to define parameters for your feature detection. Actions will only be applied if these conditions are met.
Minimum duration (seconds)
Specify the minimum duration, in seconds, that silence should be detected in order for the rule to apply.
Confidence Level of Detection
Choose High, Medium or Low confidence.
Metadata rules
To create a Metadata rule, choose Metadata from the feature type selector then click “Continue”.
Actions
Actions are what will be done in response to Silence being detected.
Action
Choose one of the following Actions:
Insert - this will insert a cuepoint when metadata is detected
Replace - this will replace a segment between two pieces of metadata
Remove - this will remove a segment between two pisces of metadata
Note: Replace and Remove are non-destructive and can be adjusted or reversed in an Episode’s settings.
Location
For Insert and Replace Actions you can choose a Pre roll, Mid roll or Post roll cuepoint type.
For Remove actions a Remove segment will be created.
Conditions
Conditions allow you to define parameters for your feature detection. Actions will only be applied if these conditions are met.
If you choose Insert for your action, you will set one Condition which will use a regular expression to match the value of a metadata property of your stream.
If you choose Replace or Remove for your Action, you will set two Conditions which will be used to identify the start and end of a segment.
Match Expression
Enter a regular expression here that will match the value of the metadata property you will specify below in the Match Meta Property field.
Match case sensitivity
Choose if your Match Expression is case sensitive or insensitive.
Match Meta Property
Specify the name of the metadata property whose value should be matched using your Match Expression.
Match Type (Remove / Replace only)
Regular expression or Duration.
Time (Duration only)
Specify a duration, in seconds, after a Start Condition is met that signifies the end of a segment to be removed or replaced.
Output
Feature rules create cuepoints on each Episode created by your live stream recording. You can view, edit or remove these cuepoints by visiting the Ad Locator for your Episode.