InterfacesPlayOptionsOn this pagePlayOptions Index PropertiesscheduledStartTimevolumeProperties optionalscheduledStartTimescheduledStartTime?: numberSchedule time to play in milliseconds from the audio context origin Compute using the audio context const sound: Sound = ...; const oneThousandMillisecondsFromNow = AudioContextFactory.currentTime + 1000; sound.play({ scheduledStartTime: oneThousandMillisecondsFromNow }); Copyoptionalvolumevolume?: numberVolume to play between [0, 1]
Schedule time to play in milliseconds from the audio context origin
Compute using the audio context
const sound: Sound = ...; const oneThousandMillisecondsFromNow = AudioContextFactory.currentTime + 1000; sound.play({ scheduledStartTime: oneThousandMillisecondsFromNow });