AUDIO
Source snapshot · 11 November 2026

API reference / ravet_plugin::text::parse_value

Function parse_value 

pub fn parse_value(parameter: &Parameter<'_>, text: &str) -> Option<f32>
Expand description

Parse text written by write_value or typed by a user: a number with an optional unit suffix, or On/Off for switches. The result is clamped and snapped to the parameter’s range.