Skip to main content

render_wav

Function render_wav 

Source
pub fn render_wav(text: &str) -> Result<Vec<u8>>
Expand description

Real WAV file (16-bit PCM, mono, 22 050 Hz) — sine wave whose frequency depends on hash(text). Duration is 1.0 s.