RenderToFileSettings

data class RenderToFileSettings(val outputPath: String, val startSeconds: Double = 0.0, val endSeconds: Double = 0.0, val hasEndSeconds: Boolean = false, val useContentFallback: Boolean = true, val contentBoundsValid: Boolean = false, val contentStartSeconds: Double = 0.0, val contentEndSeconds: Double = 0.0, val tailSeconds: Double = 0.0, val enableSilenceStop: Boolean = false, val silenceDurationSeconds: Double = 2.0, val silenceThresholdDb: Double = -60.0)

What to render and when to stop.

The span is startSeconds to endSeconds; leave hasEndSeconds false and set useContentFallback to render to the end of the content instead, in which case the content bounds must be supplied (they come from AppModel.timelineContentBounds). tailSeconds keeps rendering past the end so that reverbs and delays are not cut off, and the silence stop ends the render early once the output stays below silenceThresholdDb for silenceDurationSeconds.

Constructors

Link copied to clipboard
constructor(outputPath: String, startSeconds: Double = 0.0, endSeconds: Double = 0.0, hasEndSeconds: Boolean = false, useContentFallback: Boolean = true, contentBoundsValid: Boolean = false, contentStartSeconds: Double = 0.0, contentEndSeconds: Double = 0.0, tailSeconds: Double = 0.0, enableSilenceStop: Boolean = false, silenceDurationSeconds: Double = 2.0, silenceThresholdDb: Double = -60.0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard