Music playback timing may be shifted on STYLY scene.
Hara
started a topic
over 3 years ago
Multiple Audio (different tracks of the same song) are placed in the scene to create a situation where they are playing at the same time. Whenever I load a scene in STYLY, they usually start playing at the same time, but in rare cases, the two pieces of music play out of sync for tens or hundreds of milliseconds. Do you have any tips on how to implement this so that this misalignment is avoided as much as possible?
Best Answer
C
Chujo @STYLY
said
over 3 years ago
"Perfect synchronization" in milliseconds may be a bit difficult to achieve since it depends on the device (PCVR, Mobile, WebPlayer) that is running STYLY.However, you can use "Turn on/off Play On Awake in AudioSource if GameObject is active/active in animation or TimeLine" or if you are turning on/off other objects at the same time. If you have other objects on and off at the same time, you may be able to improve this by shifting the timing of the loading slightly, for example, "Activate non-sounds first, then 0.5 seconds later, turn on multiple sounds with Play On Awake. Also, if you have added an Audio track to the timeline, you can basically synchronize the timing of the sound with the playback, so I think a practical solution would be to add it and then use Play On Awake to control it! (If you've already implemented the above method and the problem persists, I'm not sure what to do...)
1 Comment
Chujo @STYLY
said
over 3 years ago
Answer
"Perfect synchronization" in milliseconds may be a bit difficult to achieve since it depends on the device (PCVR, Mobile, WebPlayer) that is running STYLY.However, you can use "Turn on/off Play On Awake in AudioSource if GameObject is active/active in animation or TimeLine" or if you are turning on/off other objects at the same time. If you have other objects on and off at the same time, you may be able to improve this by shifting the timing of the loading slightly, for example, "Activate non-sounds first, then 0.5 seconds later, turn on multiple sounds with Play On Awake. Also, if you have added an Audio track to the timeline, you can basically synchronize the timing of the sound with the playback, so I think a practical solution would be to add it and then use Play On Awake to control it! (If you've already implemented the above method and the problem persists, I'm not sure what to do...)
Hara
Multiple Audio (different tracks of the same song) are placed in the scene to create a situation where they are playing at the same time. Whenever I load a scene in STYLY, they usually start playing at the same time, but in rare cases, the two pieces of music play out of sync for tens or hundreds of milliseconds. Do you have any tips on how to implement this so that this misalignment is avoided as much as possible?
"Perfect synchronization" in milliseconds may be a bit difficult to achieve since it depends on the device (PCVR, Mobile, WebPlayer) that is running STYLY.However, you can use "Turn on/off Play On Awake in AudioSource if GameObject is active/active in animation or TimeLine" or if you are turning on/off other objects at the same time. If you have other objects on and off at the same time, you may be able to improve this by shifting the timing of the loading slightly, for example, "Activate non-sounds first, then 0.5 seconds later, turn on multiple sounds with Play On Awake. Also, if you have added an Audio track to the timeline, you can basically synchronize the timing of the sound with the playback, so I think a practical solution would be to add it and then use Play On Awake to control it! (If you've already implemented the above method and the problem persists, I'm not sure what to do...)
Chujo @STYLY
"Perfect synchronization" in milliseconds may be a bit difficult to achieve since it depends on the device (PCVR, Mobile, WebPlayer) that is running STYLY.However, you can use "Turn on/off Play On Awake in AudioSource if GameObject is active/active in animation or TimeLine" or if you are turning on/off other objects at the same time. If you have other objects on and off at the same time, you may be able to improve this by shifting the timing of the loading slightly, for example, "Activate non-sounds first, then 0.5 seconds later, turn on multiple sounds with Play On Awake. Also, if you have added an Audio track to the timeline, you can basically synchronize the timing of the sound with the playback, so I think a practical solution would be to add it and then use Play On Awake to control it! (If you've already implemented the above method and the problem persists, I'm not sure what to do...)
-
Error message is displayed when uploading Prefabs to STYLY, and model can not be uploaded.
-
Light doesn't show up correctly in STYLY Studio.
-
I want to check if an object is in view on STYLY.
-
About how to generate an event on STYLY Mobile (AR).
-
I want to move from a STYLY scene to another website.
-
I want to determine if a player has entered a certain area in the browser.
-
I would like to upload Timeline as a prefab, but an error is displayed and can not be uploaded.
-
A model created with Blender does not display correctly in STYLY.
-
Collisions are not detected correctly with PlayMaker.
-
About Equipment of InteractionSDK.
See all 170 topics