Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

97
Views
Multiple Audio Inputs in p5.js

Help help help, I have a project with two other students and we are working in P5.js. So for the project we need two seperate Audio Inputs, but we don't get how to define different audio inputs, can anybody help us?😩 (p.s. we already got the default mic, which is the MacBook microphone, to work. What we need now is a second input from a wireless mic. Is there any way to do this?)

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You need to scan the sources by getSources() method and use the setSource([int]) to set the input source for separate audio inputs.

Then you need to use the connect() method to connect these audio inputs into the master output.

The example in the official docs is quite helpful: https://p5js.org/reference/#/p5.AudioIn/getSources

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!