SunVox API - Syncing beats across slots

Multi-platform modular music creation studio
Post Reply
grig
Posts: 14
Joined: Tue Nov 12, 2019 12:31 am

SunVox API - Syncing beats across slots

Post by grig »

Is there a built-in method for syncing playback (to a beat) using the SunVox API?

My app loads SunVox files at runtime, when the user needs them, but I haven't found a way to make sure playback of new songs in new slots are on the beat.

Thank you!
User avatar
NightRadio
Site Admin
Posts: 3955
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: SunVox API - Syncing beats across slots

Post by NightRadio »

In the current version there is no way for direct slot synchronization.
You can try to play a slot after waiting for a certain position using the sv_get_current_line().
Another way - preload all the files to the set of MetaModules, and play/stop them from the master-pattern(s)
Post Reply