VoiceProcessorService class abstract
Abstract service interface for voice audio processing
This interface defines the contract for voice processing implementations. Used for "behind the scenes" / "creator voice" recordings in rooms.
- Implementers
Constructors
Properties
- currentLevel → double
-
Get current audio level (for metering)
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isClipping → bool
-
Whether audio is clipping
no setter
- isInitialized → bool
-
Whether the processor is initialized
no setter
- isProcessing → bool
-
Whether processing is currently active
no setter
- peakLevel → double
-
Get peak level since last reset
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings → VoiceEffectSettings
-
Current processing settings
no setter
Methods
-
addEffect(
VoiceEffect effect, {double intensity = 0.5}) → Future< void> - Add effect to processing chain
-
applyBroadcastPreset(
) → Future< void> - Apply broadcast preset (podcast/radio style)
-
applyCreatorVoicePreset(
) → Future< void> - Apply creator voice preset (optimized for room narration)
-
applyMinimalPreset(
) → Future< void> - Apply minimal preset (light processing)
-
applySettings(
VoiceEffectSettings settings) → Future< void> - Apply settings configuration
-
clearEffects(
) → Future< void> - Clear all effects from chain
-
clearNoiseProfile(
) → Future< void> - Clear learned noise profile
-
configureCompressor(
{double threshold = -20.0, double ratio = 4.0, double attackMs = 10.0, double releaseMs = 100.0}) → Future< void> - Configure compressor settings
-
configureDynamics(
DynamicsSettings settings) → Future< void> - Configure dynamics settings
-
configureNoiseReduction(
NoiseReductionSettings settings) → Future< void> - Configure noise reduction settings
-
configureVoiceEnhancement(
VoiceEnhancementSettings settings) → Future< void> - Configure voice enhancement settings
-
initialize(
) → Future< bool> - Initialize the voice processor
-
learnNoiseProfile(
List< int> audioData) → Future<void> - Learn noise profile from audio segment
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processAudioData(
List< int> inputData) → Future<List< int> ?> - Process audio data in memory
-
processFile(
File inputFile, {String? outputPath}) → Future< String?> - Process an audio file and return processed file path
-
processStream(
Stream< List< inputStream) → Stream<int> >List< int> > - Process audio stream (for real-time)
-
removeEffect(
VoiceEffect effect) → Future< void> - Remove effect from processing chain
-
reorderEffects(
List< VoiceEffect> order) → Future<void> - Reorder effects in chain
-
reset(
) → Future< void> - Reset all processing to defaults
-
resetPeakLevel(
) → void - Reset peak level
-
setClarity(
double value) → Future< void> - Set voice clarity (0.0 to 1.0)
-
setCompressor(
bool enabled) → Future< void> - Enable/disable compressor
-
setDeBreath(
bool enabled, {double sensitivity = 0.5}) → Future< void> - Enable/disable de-breath
-
setDeEsser(
bool enabled, {double threshold = 0.5}) → Future< void> - Enable/disable de-esser
-
setEnabled(
bool enabled) → Future< void> - Enable/disable all processing
-
setLimiter(
bool enabled, {double threshold = -1.0}) → Future< void> - Enable/disable limiter
-
setNoiseReduction(
bool enabled, {double strength = 0.5}) → Future< void> - Enable/disable noise reduction
-
setPresence(
double value) → Future< void> - Set voice presence/brightness (0.0 to 1.0)
-
setVoiceEnhancement(
bool enabled) → Future< void> - Enable/disable voice enhancement
-
setWarmth(
double value) → Future< void> - Set voice warmth (0.0 to 1.0)
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited