You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some situations, a user may need to reproduce the randomness of sfizz.
This is useful- if for example pitch_random is used in a sfz script- and the rendering of the audio track needs to be similar each time.
I propose a setting for Seed preference in sfizz. This seed would be used as a basis for all random opcodes in SFZ. With each different opcode generating a new seed off the base seed via multiplication or addition etc by a fixed amount. Each opcode would then be itself random, but reproducible.
For multiple identical opcodes in the same SFZ script- a counter would also contribute to the seed:
pitch_random seed = base seed x opcode seed x opcode index
Three settings for randomness: auto (on/off button) = sfizz assigns new seed on each launch (default behaviour) seed (text box) = show current set seed number- and allow typing in seed number new (toggle button) = sfizz picks new random seed
This discussion was converted from issue #698 on November 10, 2023 10:45.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In some situations, a user may need to reproduce the randomness of sfizz.
This is useful- if for example
pitch_random
is used in a sfz script- and the rendering of the audio track needs to be similar each time.I propose a setting for Seed preference in sfizz. This seed would be used as a basis for all random opcodes in SFZ. With each different opcode generating a new seed off the base seed via multiplication or addition etc by a fixed amount. Each opcode would then be itself random, but reproducible.
For multiple identical opcodes in the same SFZ script- a counter would also contribute to the seed:
pitch_random
seed =base seed
xopcode seed
xopcode index
Three settings for randomness:
auto
(on/off button) = sfizz assigns new seed on each launch (default behaviour)seed
(text box) = show current set seed number- and allow typing in seed numbernew
(toggle button) = sfizz picks new random seedBeta Was this translation helpful? Give feedback.
All reactions