pub type PitchBundle = AudioSourceBundle<Pitch>;
Expand description

Bundle for playing a bevy note sound

Aliased Type§

struct PitchBundle {
    pub source: Handle<Pitch>,
    pub settings: PlaybackSettings,
}

Fields§

§source: Handle<Pitch>

Asset containing the audio data to play.

§settings: PlaybackSettings

Initial settings that the audio starts playing with. If you would like to control the audio while it is playing, query for the AudioSink component. Changes to this component will not be applied to already-playing audio.