This site contains adult imagery and is not suitable for people below 18 years of age.

By using this site, you attest that you're 18 years or older.

This site also uses cookies, but only for functions related to the site, such as storing sessions and user choices.

We do not put tracking cookies on your computer.

Sending request ...

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)

Comments
SSBhbSBhbHNvIGludGVyZXN0ZWQgaW4gc29tZXRoaW5nIGxpa2UgdGhpcywgYnV0IG5vdCBmb3IgYXVkaW8uIFRoZSB3YXkgSSBpbWFnaW5lZCBpdCBjb3VsZCB3b3JrIGlzIHRvIGFkZCBhbiAnZWxzZScgZXZlbnQgdG8gdGltZWxpbmUgZXZlbnRzIChpbiBhZGRpdGlvbiB0byAnb24gc3RhcnQnLCAnb24gZW5kJyBldGMuKS4gVGhlICdlbHNlJyBldmVudCB3b3VsZCB0cmlnZ2VyIGlmIHRoZSBvcmlnaW5hbCBldmVudCB3YXMgZXZhbHVhdGVkLCBidXQgaXQgZGlkIG5vdCBwYXNzIHRoZSAncHJvYmFiaWxpdHkgY2hlY2snLiANCg0KWW91IGNvdWxkIHRoZW4gY2hhaW4gJ2Vsc2UnIGV2ZW50cyB0byBhY2hpZXZlIHRoZSByYW5kb20gYXVkaW8gcGxheWVyIHlvdSB3YW50ZWQsIG9yIHRvIHNldCB0aGUgd2VpZ2h0IG9mIDEgb2YgWCByYW5kb20gdGltZWxpbmVzIHRvIDEgdG8gcGxheSBzZW1pLXJhbmRvbSBldmVudHMgaW4gbG9vcHMuDQoNCkkgd291bGQgYWxzbyBsb3ZlIG1vcmUgZ2VuZXJpYyBpZi9lbHNlIGxvZ2ljIGZvciBldmVudHMgYW5kIGRyaXZlcnMsIGFsbG93aW5nIHZhcmlhYmxlcyB0byBiZSBzZWxlY3RlZCBhbmQgY29tcGFyZWQuIFRoYXQgd291bGQgYmUgYSBtdWNoIGxhcmdlciBjaGFuZ2UgaG93ZXZlci4gOkQ=

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

7 months, 1 week ago
QE1hcnRpNjYgWW91IGNhbiBhbHJlYWR5IGRvIHRoYXQhIDpEDQoNCkluc2lkZSBpbnRlcmFjdGlvbnMgZ28gdG86IEltcG9ydCAtPiAiQXVkaW8gLSAxIGdyb3VwIChtYW55IGNsaXBzKSIgYW5kIHRoZW4gc2VsZWN0IG11bHRpcGxlIHNvdW5kIGZpbGVzIChsaWtlIHlvdSBzdWdnZXN0ZWQgIm9oIiAiYWgiIGFuZCAidWZmIikuDQoNCkNyZWF0ZSBhIGV2ZW50IHdpdGggIkF1ZGlvU291cmNlIiAtPiIgQ3VzdG9tIiBhbmQgaW5zaWRlIHRoZSAiQXVkaW9Hcm91cCIgcGFuZWwsIHJlZmVyZW5jZSB0aGF0IHBhY2suDQoNClRoZSBldmVudCB3aWxsIG5vdyBwbGF5IG9uZSBvZiB0aG9zZSBzb3VuZCBmaWxlcyBmcm9tIHRoZSBwYWNrIGF0IHJhbmRvbSBldmVyeSB0aW1lIHlvdXIgdGltZSBoYW5kbGUgcGFzc2VzIGl0Lg==

@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.

7 months ago
QFhpb2xpDQpDYW4geW91IG9wZW4gYSBvd24gc3VnZ2VzdGlvbiBmb3IgdGhpcyBwbGVhc2UsIG90aGVyd2lzZSBpdCB3aWxsIGp1c3QgZ2V0IGxvc3QgaW5zaWRlIHRoaXMgb25lLg0KDQo=

@Xioli
Can you open a own suggestion for this please, otherwise it will just get lost inside this one.

7 months ago
QEJsYWNreSBUaGFua3MgZm9yIGV4cGxhaW5pbmcuIG11c3QgaGF2ZSBtaXNzZWQgaXQgd2hpbGUgaSB3YXMgdGlua2VyaW5nIHdpdGggaXQ=

@Blacky Thanks for explaining. must have missed it while i was tinkering with it

7 months ago

0

vote sum by 0 users.
Suggestion status
Implemented.
Spend votes
Suggester
7 months, 1 week ago