BroAudio
Quick StartScripting APIAsset Store
  • Overview
    • Introduction
    • Getting Started
    • Compatibility
  • Core Features
    • Library Manager
      • Create The Library
      • Design The Sound
        • 🔊Volume
        • 🎚️Fading
        • 🔁Looping
        • 🎲Randomization
        • 💪Velocity
        • 🎛️Spatial & Mix
    • Audio Player
      • Music Player
      • Dominator Player
    • Playback Group
    • Audio Effect
    • No-Code Components
      • Sound Source
      • Sound Volume
      • Spectrum Analyzer
    • Addressables
    • Customization
  • Designs
    • Audio Mixer
  • Tools
    • Audio Clip Editor
    • Audio Effect Editor
    • Useful Attrubutes
  • Reference
    • Scripting API
      • Class
        • BroAudio
        • SoundSource
        • BroAdvice
      • Interface
        • IAudioPlayer
        • IMusicPlayer
        • IPlayerEffect
        • IAutoResetWaitable
        • IAudioSourceProxy
      • Struct
        • SoundID
        • Effect
        • Fading
      • Enums
        • BroAudioType
        • EffectType
        • StopMode
        • Transition
        • Ease
    • Unity API Integration
    • Audio Terminology
    • Technical Details
  • Others
    • Release Notes
    • Known Issues
      • Duplicate SoundID Issue
    • Roadmap
    • Support & Contact
Powered by GitBook
On this page
  • Introduction
  • How To Use?
  • Loop
  • Seamless Loop
  1. Core Features
  2. Library Manager
  3. Design The Sound

Looping

Last updated 1 year ago

Introduction

Looping allows an to be continuously replayed. It's a common technique used for playing sounds such as Music and Ambience in games. However, if a sound is not specifically designed for looping, its beginning and end might not match seamlessly. Direct replay would result in a noticeable change.

This is where SeamlessLoop comes in. It enables an to start playing again on a new audio track just before the current one finishes. By gradually between the two tracks, it creates an illusion that the sound never stops at all.

How To Use?

You can find the Looping option in the 'Overall' tab of an AudioEntity. If one of the looping options is selected, the AudioEntity will play accordingly.

Loop

The sound will replay when it's finished.

Seamless Loop

The sound will replay before it ends.

If this option is selected, "Seamless Setting" will appear, allowing you to set the transition timing.

  1. Clip Setting: The replay begins as the clip starts fading out.

  2. Time: The replay starts a specified number of seconds before the end.

  3. Tempo: The replay starts a specified number of beats before the end.

🔁
AudioClip
AudioClip
cross-fading
Page cover image