Search found 3 matches

by windowlicker
Fri Jan 05, 2024 2:51 pm
Forum: General
Topic: Audio Source GC
Replies: 10
Views: 134466

Re: Audio Source GC

You can also call :clone on Sources, which can be useful if you want your sound effects, if called faster than they would have ended, to not get cut off by you just restarting one of each... although bookkeeping might turn a bit more complicated. Thanks, clone sounds like it might be what I want/ne...
by windowlicker
Fri Jan 05, 2024 2:47 pm
Forum: General
Topic: Audio Source GC
Replies: 10
Views: 134466

Re: Audio Source GC

Thanks for the replies/info! The reason I was creating multiple sources was so that I could have the same sfx overlapping. What I mean is, if I have a single source and play it - and then play it again next frame, it won’t do anything (because it’s already playing). If I create a new source each tim...
by windowlicker
Wed Jan 03, 2024 8:31 pm
Forum: General
Topic: Audio Source GC
Replies: 10
Views: 134466

Audio Source GC

Hello! I’m adding sounds and doing this by creating persistent decoder and sound data instances - and then each time I want to play a sound/sfx I create a new source and call play. I’m wondering if a) this is a recommended/conventional way of playing sfx and b) if I need to explicitly call Object:re...