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

135
Visualizações
P5js into music visualizer

I have a P5js sketch I am looking to convert into a audio sensitive visualizer. See below.

https://editor.p5js.org/Kghj/full/fn2N0xrF1

When there is heavy bass the slider should move left and fuzzy should be ticked, then when a new sound or sudden pitch change the shape should change and stroke should toggle on and off. I have experience using java, ruby on rails, and react. This is not really a code specific question but asking for a point in the right direction.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

You'll want to use FFT.analyze and then check the values at different frequency buckets to determine changes in pitch or the set of notes being played. Bass/drum hits tend to show up as a pulse of energy across a wide range of frequencies. How exactly you detect change in the audio and relate them to visual effects is pretty open ended. For some things you might want to just use the amount of energy at a precise frequency, for others you might want to take the derivative of energy at a particular frequency over time (the rate of change) and trigger something when the that slope reaches some threshold.

In addition to p5.sound you could also use Tone.js instead. It is similar but more advanced/extensive, and it will work just as well with p5.js.

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