bevy/examples/audio
Василий Чай fb9c5a6cbb
Added Pitch as an alternative sound source (#9225)
# Objective
My attempt at implementing #7515

## Solution

Added struct `Pitch` and implemented on it `Source` trait.

## Changelog

 ### Added
- File pitch.rs to bevy_audio crate
- Struct `Pitch` and type aliases for `AudioSourceBundle<Pitch>` and
`SpatialAudioSourceBundle<Pitch>`
- New example showing how to use `PitchBundle`

### Changed
- `AudioPlugin` now adds system for `Pitch` audio

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2023-07-29 22:29:41 +00:00
..
audio.rs bevy_audio: ECS-based API redesign (#8424) 2023-07-07 23:01:17 +00:00
audio_control.rs bevy_audio: ECS-based API redesign (#8424) 2023-07-07 23:01:17 +00:00
decodable.rs bevy_audio: ECS-based API redesign (#8424) 2023-07-07 23:01:17 +00:00
pitch.rs Added Pitch as an alternative sound source (#9225) 2023-07-29 22:29:41 +00:00
spatial_audio_2d.rs bevy_audio: ECS-based API redesign (#8424) 2023-07-07 23:01:17 +00:00
spatial_audio_3d.rs bevy_audio: ECS-based API redesign (#8424) 2023-07-07 23:01:17 +00:00