Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

140
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda