not stop the music when duplicating a pattern

Post Reply
vichug
Posts: 17
Joined: Wed Dec 30, 2015 6:02 pm

not stop the music when duplicating a pattern

Post by vichug » Sat Mar 24, 2018 12:21 am

.;.and similarly, beeing able to move patterns while the song is playing ! Would be especially useful when playing a pattern in loop mode. Would maybe require a different selector for the pattern beeing looped and the ones you are changing, though. Would be cool in order to do like live mixing, àla Ableton. Would allow great things i'm sure !

User avatar
queries
Posts: 203
Joined: Tue May 10, 2016 9:51 pm

Re: not stop the music when duplicating a pattern

Post by queries » Tue Mar 27, 2018 6:04 pm

Nightradio can confirm or deny this if he likes... and this should be taken as an educated guess only... but I think the reason this is not possible in the current SunVox is because the patterns must be sorted in a specific way internally, perhaps in order for playback to remain consistent, and/or for some code paths to be optimized. And in order for the sort to occur, the playback engine must not be running.

Source: Usage of "sunvox_sort_patterns" in old copy of SunVox source code - https://github.com/warmplace/sunvox_sou ... engine.cpp

vichug
Posts: 17
Joined: Wed Dec 30, 2015 6:02 pm

Re: not stop the music when duplicating a pattern

Post by vichug » Tue Mar 27, 2018 11:20 pm

then it would mean it would not be an easy rewrite, but maybe putting pattern order in a sort of temporary buffer at runtime that then goes sorted once the song stops playing would be possible ?...

Post Reply