Search found 4 matches

by samuelcable
Tue Jul 16, 2019 1:12 pm
Forum: Support and Development
Topic: Playing music with 2 sources
Replies: 5
Views: 1070

Re: Playing music with 2 sources

If you're using queueablesources, then forget about source:tell(), and especially about source:getDuration; you don't need those since you should be manually queueing stuff into the qsource. Instead, you should: - query the qsource if it has free buffers or not, and if it doesn't, queue up another ...
by samuelcable
Tue Jul 16, 2019 9:26 am
Forum: Support and Development
Topic: Playing music with 2 sources
Replies: 5
Views: 1070

Re: Playing music with 2 sources

i have a new problem, I got it working but in a way that is not very optimal, im not sure how to get the duration of the song properly in order to only call it once for when the song is over in order to loop it. Source:getDuration is not accurate to the ending point of Source:tell, so im not sure ho...
by samuelcable
Mon Jul 15, 2019 6:38 am
Forum: Support and Development
Topic: Playing music with 2 sources
Replies: 5
Views: 1070

Re: Playing music with 2 sources

To make sure one sound is played exactly after another with no interruption you need to use a queueable source . (Your example actually plays seamlessly for me but that's just luck.) Thanks, i got it working using queueable sources, Also you and other people i ask also notice no seam with the old m...
by samuelcable
Sun Jul 14, 2019 6:05 am
Forum: Support and Development
Topic: Playing music with 2 sources
Replies: 5
Views: 1070

Playing music with 2 sources

Hi, im new to the forum so im sorry if this has already been asked/discussed. In my game i am trying to make a song play an intro to the song once before playing the loop, but there is clear audio artifacts when it transitions from the intro to the loop. there is also a problem with lag or moving th...