v0.6.0 beta 2
Pre-release
Pre-release
- Remove
Clock
andClocks
from the public API - Sounds and effects now have an
on_clock_tick
callback instead of having a&Clocks
argument passed intoprocess
- Remove parameters
- Settings that were previously
Value
s can now be tweened directly without needing to link them to a parameter - All functions that send commands to the renderer now use
CommandError
as their error type - Effects now have a similar structure to sounds
EffectBuilder
- trait for types that can be converted to anEffect
and a handleEffect
- runs on the renderer
TrackSettings
is nowTrackBuilder
. Effects can be added by passing anEffectBuilder
toTrackBuilder::add_effect
.- Changes to the built-in effects:
- Removed
Distortion
from the public API,DistortionSettings
is nowDistortionBuilder
, addedDistortionHandle
- Removed
Delay
from the public API,DelaySettings
is nowDelayBuilder
, addedDelayHandle
- Removed
Reverb
from the public API,ReverbSettings
is nowReverbBuilder
, addedReverbHandle
- Removed
Filter
from the public API,FilterSettings
is nowFilterBuilder
, addedFilterHandle
- Removed
- Renamed
Tweenable
toTweener
- Added a
Tweenable
trait for things that aTweener
can control.Tweener
is now generic over the type of theTweenable
value - Volume settings now use the
Volume
type instead off64
- Playback rate settings now use the
PlaybackRate
type instead off64
- Clock speed settings now use the
ClockSpeed
type instead off64
- Fix audio artifacts when a static sound loops
- Slight performance improvement when sounds are center-panned
- Allow configuring the main mixer track using a
TrackBuilder
inAudioManagerSettings