/// processor of audiodata
pubmodprocessor;/// configs for `processor::Processor` and `stream::Stream`
pubmodconfig;/// abstraction over processor with additional effects like gravity
pubmodstream;/// Single Frequency
////// Multiple of these are stored in a Vector,
#[derive(Clone, Debug)]pubstructFrequency{pubvolume:f32,
/// Actual frequency in hz, can range from 0 to `config.sampling_rate` / 2
////// Accuracy can vary and is not guaranteed
pubfreq:f32,
/// Relative position of single frequency in range (0..=1)
////// Used to make lower freqs occupy more space than higher ones, to mimic human hearing
////// Should not be Important, except when distributing freqs manually
////// To do this manually set `config.interpolation` equal to `Interpolation::None`
pubposition:f32,
}implFrequency{pubfnempty()->Self{
Frequency {
volume:0.0,
freq:0.0,
position:0.0,}}}