# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/using-patchwork-song-sync-devices-in-fortnite-creative
# Local doc: epic-docs/documentation/en-us/fortnite/using-patchwork-song-sync-devices-in-fortnite-creative.md
# Section: Using Song Sync in Verse
using { /Fortnite.com/Devices }
using { /Fortnite.com/Devices/Patchwork }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
# A Verse-authored creative device that can be placed in a level
song_sync_example := class(creative_device):
@editable
SongSync:song_sync_device = song_sync_device{}
# Runs when the device is started in a running game
OnBegin<override>()<suspends>:void=
Sleep(5.0)
SongSync.Disable()
Print("Device Disabled")
Sleep(5.0)
SongSync.Enable()
Print("Device Enabled")
Verse Library
verse
01 Using Song Sync In Verse
Demonstrates how to enable, disable, and time audio sync devices during runtime.
extracted-snippets/documentation/en-us/fortnite/using-patchwork-song-sync-devices-in-fortnite-creative/01-using-song-sync-in-verse.verse