How to play from multiple speakers using the playAudio Method #1635
Unanswered
daikyoukai110
asked this question in
Q&A
Replies: 1 comment
-
Each speaker queues its own I'll recommend using something like @MCJack123's AUKit (and docs). It does the part of dealing with the audio buffer and speakers, and works very well. I wrote a short writeup on Reddit a while ago on how to use AUKit, if you wish to use it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. I am asking this question because I have run into a little bit of an obstacle that I cannot find the answer to myself.
As the title says, I would like to play audio from multiple speakers on Rednet at the same time using playAudio mesos.
When using the playNote mesosot, I was able to play music without delay regardless of wired or wireless connection. However, when using the playAudio mesosot, only one speaker at a time can play the music, which causes a lag, which is not good.
Looking at the code, I think os.pullEvent("speaker_audio_empty") is affecting it, so I tried using parallel.waitForAll, but that didn't help.
I would appreciate it if you could help me.
Beta Was this translation helpful? Give feedback.
All reactions