Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

98
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda