All notable changes to twang
will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Bump MSRV to 1.70.0
- Bump MSRV to 1.60.0
- Documentation improvements
- no-std support
ops
module for auditory effects previously provided bySignal
osc
module for basic oscillators previously provided bySignal
Synth::stream()
(needed now that theStream
trait is gone)
- Update to fon version 0.6
- Move
Pink
tonoise::Pink
- Move
White
tonoise::White
- Rename
Pink::noise()
toPink::step()
- Rename
White::noise()
toPink::step()
- Move
Room
toops::Room
- Rename
Room::gen()
toRoom::step()
Room::add()
now takes seconds instead of samples for time parameter
Signal
-fon::Ch32
is now used insteadMix
trait, you can now usefon::Frame::pan()
to mix insteadSynth::params()
Fc
- no longer any global synthesis state
- Update to fon version 0.5
Synth
now implementsfon::Stream
Synth::params()
Synth::new
now takes an additional parameter for parameterizing synthesis, and rather than taking a closure takes a function.- Update
fon
to version 0.4 Signal::to_mono()
now always returnCh64
rather than being generic.
Synth::gen()
- Update
fon
to version 0.3
- Add
Room
struct for creating various types of reverb and echoes.
Mix
trait can now be used with either borrowed or unborrowed data.- All methods on Signal that took
f64
now takeInto<Self>
- Rename
Sample.amp()
toSample.gain()
- Depend on
fon
for audio types. - Use simple PRNG for white noise instead of
rand
crate. - Replace
Wave
withSynth
andFc
(frequency counter) - Replace
Sample
withSignal
(which is slightly different thanfon
'sMono64
- Replace
SampleSlice
trait withMix
trait
prelude
module
- Newtype'd everything.
- Uses operator overloading now.
- Code