⌚
Timeflow
  • ⌚Introduction
  • 📗User Guide
    • â–ļī¸Getting Started
      • ✅Requirements
      • âŦ‡ī¸Installation
      • 🚀Quick Start
      • âœī¸Workflow
      • đŸŽŦRender Pipeline
      • â¯ī¸Editor vs Runtime
      • đŸĻŋHow it Works
      • â›‘ī¸Potential Issues
      • ⚡Optimization
      • 🔨3rd Party Tools
      • đŸ”ĸUpgrading Guide
    • â„šī¸Timeflow Editor
      • đŸŽ›ī¸Menu Bar
      • â˛ī¸Time
      • Local Time Scope
      • 🧰Work Area
      • âš™ī¸Settings
      • âŗUpdate Settings
      • đŸ“ēDisplay Lists
      • đŸ”ģMarkers
      • đŸ”ĩObject
      • 🏭Managed Objects
      • ⚡Quick Select Objects
      • âš’ī¸Tools
    • đŸŽŦTimeflow View
      • 🔩Toolbar
        • 🔑Auto Keyframing
        • â¯ī¸Play Controls
        • đŸĨ…Work Area
        • â¯ī¸Current Time
        • đŸŽŧMusical Timing
        • 🌐Grid and Snap
        • 🔸Keyframe Values
        • đŸ”ģMarkers
      • â˛ī¸Timeline
      • 📐Time Navigation
      • Local Time Scope
      • 🎏Track View
      • â†˜ī¸Selection
      • 📰Object Panel
      • đŸ“ēDisplay Lists
      • 🍱Channels
      • đŸŖProperties
      • 🔗Channel Link
      • đŸšĨSwitches
      • 📅Values Column
      • đŸ›¤ī¸Tracks
      • 🔸Keyframes
      • đŸ“ļAlignment Tools
      • ⌛Time Offset
      • đŸ”ĸInfo Panel
      • 📉Graph View
      • âœ‚ī¸Keyframe Tools
    • 🍰Menus & Shortcuts
      • 📃Context Menus
        • â†–ī¸Select Menu
        • 📰Object Menu
        • 🍱Channel Menu
        • đŸ›¤ī¸Tracks Menu
        • 🔸Keyframes Menu
        • đŸ”ģMarkers Menu
        • 📰View Menu
        • 📰Events Menu
        • đŸĨ…Work Area Menu
      • đŸ—ƒī¸File Menu
      • âš’ī¸Timeflow Menu
        • đŸ•ēAdd Behavior
        • đŸ”ļAnimation
        • 🍱Composition
        • đŸ“ēDisplay
        • ⏊Jump To
        • 👨‍đŸ‘Ļ‍đŸ‘ĻHierarchy
        • 🌐Mesh
        • 👉Select
        • 📚Tracks
        • 🌈Track Colors
        • â†”ī¸Transform
        • đŸ‘ī¸Visibility
        • đŸ› ī¸Editor
      • đŸ”ĩGame Objects Menu
      • đŸŽ›ī¸Presets
      • âš™ī¸Preferences
        • Assets
        • ⌛Time
        • đŸŗī¸â€đŸŒˆTracks
        • âšĒObjects
        • 🧮Channels
        • đŸ”ļKeyframes
        • 🔠Input
        • đŸ“ĨImport
        • đŸ–ŧī¸Rendering
        • đŸŽ›ī¸Overrides
        • 🍱Extras
      • *ī¸âƒŖKeyboard Shortcuts
        • Managing Shortcuts
      • âœ´ī¸Quick Menu
  • Reference
    • đŸ”ĩTimeflow Object
      • đŸĸTracks
      • 🏭Behaviors
      • ⏰Events
      • đŸ—ƒī¸Channels
    • 💃Timeflow Controller
      • đŸŽžī¸Timeflow Playback
    • đŸĒ„Behaviors
      • đŸŽžī¸Animation
        • 🔸Keyframer
        • â†”ī¸Tween
        • 🔀Blend
        • đŸŽĸMotion Path
        • đŸ‘¯Animation Clips
        • 🌴Animator Blend Trees
        • 😁Blend Shapes
      • 🤖Automation
        • 🛸Auto Bank
        • 🧭Auto Rotate
        • 📐Distance
        • ⏰Event
        • đŸ›Šī¸Flyby
        • 🏃Follow
        • 👀Look At
        • đŸŽ¯Look At Target
        • 🎲Noise
        • 🚊Place On Path
        • đŸī¸Place On Surface
      • 🔊Audio
        • 🔊Audio Track
        • đŸŽŧAudio Spectrum
        • đŸŽĩAudio Sample
        • đŸŽ™ī¸Audio Reactive
      • 🎹MIDI
        • 🎹Midi File
        • đŸĨMidi Tween
        • 📡Midi Receiver
          • đŸŽ›ī¸Minis Setup (New Input System)
          • đŸšĨMidiJack Setup (Legacy Input)
      • 🏁Rendering
        • đŸŽžī¸Render To Disk
        • 📋Render Queue
        • đŸ“Ŋī¸Video Encoding
        • 💡Tips & Optimizations
        • âēī¸Unity Recorder
      • 🔧Tools
        • â„šī¸Animator Info
        • 🧮Align Children
        • đŸ’ŦComment
        • #ī¸âƒŖFPS Counter
        • 📈Graph
        • 🔗Property Link
        • 🔄Rotator
        • ✨Particle System Update
        • 🌈Trail Renderer Update
        • đŸ“ēVideo Player Update
    • đŸ—ƒī¸Precomposing
    • 🏭Prefabs
    • đŸŽ›ī¸Editor Overrides
      • 🏹Transform Editor Override
    • 🔌Integrations
      • đŸ§™â€â™‚ī¸Adventure Creator
      • đŸŽ›ī¸MIDI Jack | Minis
      • đŸ¤ēSpine Animation
      • đŸ“Ŋī¸Unity Timeline
      • ➰Unity Splines
    • đŸĒSamples
      • đŸ•šī¸Demo App
      • đŸŽžī¸Cutscenes
      • 🏓Physics
      • 🍧Shader Properties
      • ⚡Visual Effect Graph (VFX)
    • 📖Glossary
    • 📗Scripting
    • đŸ“ŖPublished Works
    • âš ī¸Known Issues
    • 🆘Support
    • đŸ§ĒBeta
    • Roadmap
    • đŸ”ĸVersion History
    • ÂŠī¸Terms & Privacy
Powered by GitBook
On this page
  • Audio Track Editor
  • Playback Controls
  • Set Timeflow Length
  • Mute
  • Audio Source
  • Audio Clip
  • Synchronization Mode
  • No Synchronization
  • Synchronize Timeflow
  • Synchronize to Audio Track
  • Sync Tolerance
  • Use Global Time Scale
  • Local Time Scale
  • Show in Timeflow
  • Draw Waveform
  1. Reference
  2. Behaviors
  3. Audio

Audio Track

Synchronize Timeflow to a soundtrack

PreviousAudioNextAudio Spectrum

Last updated 5 months ago

Provides an audio source for Timeflow to synchronize to. Most often a single audio track is used for each scene, however multiple audio tracks may be added to play simultaneously.

Audio playback is handled using Unity's built-in component and works with the mixer and all other audio settings.

To add an Audio Track, select from the main menu:

Tools > Timeflow > Add Behavior > Audio Track

Be aware that audio playback is device dependent and while it shouldn't pose any issues generally, on some devices with lower performance audio may fail or lose sync with Timeflow.

It is strongly advised to test audio playback and synchronization on target devices early on.

Audio Track Editor

Select the object to view its settings in the Inspector.

When a new Audio Track is created, it will be necessary to assign the Audio Clip asset. Select an audio file in the Project view and drag and drop it into the Audio Clip field. This can also be set on the Audio Source component.

Playback Controls

Use the playback buttons to preview the audio. This does not play the Timeflow view and is only for listening purposes.

Set Timeflow Length

Sets the total duration Timeflow to match the audio clip length.

Use this to quickly match the Timeflow duration to the soundtrack audio.

Mute

Audio may be muted to make it inaudible in both edit mode and at runtime.

This directly sets Mute on the Audio Source. When muted, Timeflow continues to play normally however is no longer synched to the audio. Once the audio is unmuted, synchronization is reestablished.

To mute audio in the Unity editor only (without affecting audio playback or synchronization) use the mute button toggle in the Game View.

Audio Source

Audio Clip

Synchronization Mode

Select one of the following methods of synchronizing audio with Timeflow playback.

No Synchronization

No attempt is made to synchronize audio other than starting playback at the start time. In a perfect world, playing audio and animation starting at the same time would remain in sync, however in the real world drift can occur causing noticeable loss of synchronization over time.

No Synchronization may be the only option if other synchronization modes fail due to device issues.

Synchronize Timeflow

This is the default option and forces Timeflow to match audio playback.

Synchronization works by getting the playhead time from the audio and matching Timeflow to it. If it slides out of sync beyond the specified tolerance, time is recalibrated to match. Under normal conditions these are unnoticeable micro changes in time.

Only 1 Audio Track may be synchronized with each Timeflow instance.

Synchronize to Audio Track

Use this mode to synchronize additional audio tracks to the primary one. Since Timeflow can only be synchronized to 1 audio track, this offers a way to synchronize additional tracks to the primary.

Sync Tolerance

Defines the time in seconds sync can be out of step before recalibrating. The larger the time value, the more allowance there is for synchronization to slip, however too low of a setting can cause skipping animation playback.

If the default tolerance setting doesn't work, it may require some experimentation.

Avoid Skipping and Stuttering Animation

If the sync tolerance is set too low, it may trigger continuous skipping in the animation playback as Timeflow keeps adjusting time to match the audio. This is where specific devices may cause issues if the reported audio time is inaccurate. This has been seen on some older Android devices with low quality audio hardware.

Use Global Time Scale

If this setting is disabled and time scale has a value other than 1, the audio will lose sync with Timeflow as it continues to play at normal speed and pitch, while animation plays faster or slower according to the time scale.

Local Time Scale

This multiplies the audio playback speed to slow or speed it up. This can be used with or without Global Time Scale enabled.

As an example, if global time scale is set to 2 causing the entire scene to play at double the speed, you can set the Local Time Scale to 0.5 to counteract it and have the audio playback at normal speed.

Show in Timeflow

Determines whether the audio track channel is displayed in the Timeflow view. This is only a display setting and has no effect on audio behavior. This option can be turned off if you don't need the visual audio reference.

Draw Waveform

If enabled, the audio waveform is drawn in the Timeflow view.

Audio Track does not support custom since it isn't related to audio.

For common features, please refer to .

References the component, usually on the same game object.

Displays the assigned . This is the same as the field shown in Audio Source and is displayed in the Audio Track inspector as a shortcut. To assign an audio clip, select an audio file and drag and drop it into the Audio Clip field.

When enabled, this changes the audio speed to match the global . This also factors in the Local Time Scale value.

For more information also see in the Unity documentation.

Displaying the waveform can be helpful for aligning animations to audio. If not in use, it may be hidden by unchecking Draw Waveform, or by clicking the curve toggle icon while holding Shift.

đŸĒ„
🔊
🔊
Update Settings
Menu Bar
Audio Source
Audio Clip
Time Scale
Audio Source
Time Scale
Once an audio clip is assigned, its waveform is shown in the Timeflow view.