Timeline Effect Random
I'm trying to find a way to import 3 sound files, and play them randomly at given time.
So during stroke/ insertion there is possibility that it would play "oh" "ah" or "uff"
Tried with probabilities but you cant connect them with timeline,
tried with audio channel but still no luck.
So i was thinking there are few options to solve it:
--Create packs of sound and "Play audio" plays randomly from the group.
--Create Timeline Effect "Random" that allows to set effect that randomly does one thing from created ones.
I think the second one could have more uses. you could do it with animate property and cum (small load, bigger load)
I am also interested in something like this, but not for audio. The way I imagined it could work is to add an 'else' event to timeline events (in addition to 'on start', 'on end' etc.). The 'else' event would trigger if the original event was evaluated, but it did not pass the 'probability check'.
You could then chain 'else' events to achieve the random audio player you wanted, or to set the weight of 1 of X random timelines to 1 to play semi-random events in loops.
I would also love more generic if/else logic for events and drivers, allowing variables to be selected and compared. That would be a much larger change however. :D
@Marti66 You can already do that! :D
Inside interactions go to: Import -> "Audio - 1 group (many clips)" and then select multiple sound files (like you suggested "oh" "ah" and "uff").
Create a event with "AudioSource" ->" Custom" and inside the "AudioGroup" panel, reference that pack.
The event will now play one of those sound files from the pack at random every time your time handle passes it.
@Xioli
Can you open a own suggestion for this please, otherwise it will just get lost inside this one.
@Blacky Thanks for explaining. must have missed it while i was tinkering with it