Skip to main content

Crate honk_core

Crate honk_core 

Source
Expand description

Core types for honk.

This crate holds the framework-agnostic pieces of the tool (configuration, error types and, from v0.2, the honk synthesiser) so they can be reused and tested without clap, tokio or any audio device code.

Re-exports§

pub use error::Error;
pub use error::Result;
pub use spec::HonkSpec;
pub use spec::Mood;
pub use spec::Overrides;
pub use style::Style;

Modules§

config
Tool configuration.
error
Error types for honk-core.
paths
Where the tool keeps its files.
spec
What to honk: the fully resolved request handed to the synthesiser.
style
Horn styles and the synthesis preset (“voice”) behind each one.
synth
The honk synthesiser: turns a HonkSpec into mono f32 samples.
wav
WAV output for honk --wav.