#![forbid(unsafe_code)]
pub use manguebyte_core::log::{DrainedLog, LogLevel, LogQueue, LogRecord};
pub use manguebyte_core::{
AtomicF32, AtomicF64, AudioBuffer, NoDenormals, ParamId, Sample, Smoothed, decibels, source,
spsc,
};
#[cfg(feature = "analysis")]
pub use manguebyte_analysis as analysis;
#[cfg(feature = "au")]
pub use manguebyte_au as au;
#[cfg(feature = "clap")]
pub use manguebyte_clap as clap;
#[cfg(feature = "devices")]
pub use manguebyte_devices as devices;
pub use manguebyte_dsp as dsp;
pub use manguebyte_formats as formats;
pub use manguebyte_graph as graph;
#[cfg(feature = "gui")]
pub use manguebyte_gui as gui;
#[cfg(feature = "host")]
pub use manguebyte_host as host;
#[cfg(feature = "lv2")]
pub use manguebyte_lv2 as lv2;
pub use manguebyte_midi as midi;
#[cfg(feature = "osc")]
pub use manguebyte_osc as osc;
pub use manguebyte_params as params;
pub use manguebyte_plugin as plugin;
#[cfg(feature = "sampler")]
pub use manguebyte_sampler as sampler;
#[cfg(feature = "standalone")]
pub use manguebyte_standalone as standalone;
#[cfg(feature = "gui")]
pub use manguebyte_ui as ui;
#[cfg(feature = "vst3")]
pub use manguebyte_vst3 as vst3;
pub mod prelude {
pub use crate::dsp::event::{Event, EventBuffer, EventKind, Expression, NoteRef};
pub use crate::dsp::note_input::{Mpe, NoteInput};
pub use crate::dsp::sources::{
ChannelRemapSource, MixerSource, ProcessedSource, ResamplingSource, SourceProcessor,
};
pub use crate::dsp::{
Adsr, AdsrParams, Biquad, BiquadCascade, BiquadCoefficients, Chorus, Compressor,
Convolution, ConvolutionEngine, ConvolutionLoader, ConvolutionRouting, ConvolutionSettings,
Crossover, CrossoverSlope, DcBlocker, Delay, DelayInterpolation, DelayLine, DryWet,
EnvelopeFollower, Expander, Filter, FilterShape, FirFilter, FirMode, Gain, IirFilter,
KeySource, LadderFilter, LadderMode, LevelDetector, Lfo, LfoShape, Limiter, MixLaw, Noise,
NoiseColor, NoiseGate, OnePole, OnePoleMode, Oscillator, Oversampled, PanMode, Panner,
Phaser, ProcessContext, ProcessSpec, Processor, Resampler, Reverb, ShaperCurve,
StateVariableFilter, SvfMode, Synth, Transport, Voice, Waveform, Waveshaper, Wavetable,
WavetableOscillator, resample, split_at_events, split_at_events_with,
};
pub use crate::formats::aiff::{self, AiffFormat};
pub use crate::formats::wav::{self, WavFormat};
pub use crate::formats::{
AudioFile, AudioReader, AudioWriter, FileFormat, FormatError, RecordingWriter,
StreamingPlayer, TransportControl, TransportSource, flac, mp3, vorbis,
};
pub use crate::graph::{Graph, GraphEngine, GraphError, NodeId};
pub use crate::midi::file::{MetaEvent, MidiFile, Track};
pub use crate::midi::{
MidiBuffer, MidiEvent, MidiMessage, StreamEvent, StreamParser, SystemMessage, hz_to_note,
note_to_hz,
};
pub use crate::params::{
BoolParam, Changed, ChoiceParam, FloatParam, FloatRange, IntParam, Param, ParamSet,
ParamSmoother, ParamState, Smoothing, param_set,
};
pub use crate::plugin::{
AudioLayout, AuxOutput, AuxOutputs, Harness, Plugin, PluginInfo, PluginKind,
};
pub use crate::source::{AudioSource, BufferSource, PositionableSource};
pub use crate::{
AtomicF32, AtomicF64, AudioBuffer, NoDenormals, ParamId, Sample, Smoothed, decibels, spsc,
};
#[cfg(feature = "devices")]
pub use crate::devices::{
AudioHost, CallbackInfo, DeviceError, DeviceInfo, DeviceIo, DeviceManager, DeviceSetup,
DuplexStream, InputDevice, InputStream, OutputDevice, OutputStream, StreamSettings,
input_devices, output_devices,
};
}
#[cfg(all(doctest, feature = "devices"))]
#[doc = include_str!("../../../README.md")]
struct ReadmeDoctests;