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

385
Views
¿Cómo puedo cambiar el audio (frecuencia) de un video HTML?

Quiero cambiar la frecuencia de un video HTML para que se reproduzca en una frecuencia/tono diferente.

He visto que puedo cambiar la salida de un elemento de audio con el siguiente código:

https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/detune

 var source = audioCtx.createBufferSource(); source.detune.value = 100; // value in cents

Así que he intentado lo siguiente:

 const videoElement = document.getElementById("video"); const audioCtx = new AudioContext(); const source = audioCtx.createBufferSource(); source.detune.value = 100; const mediaSource = audioCtx.createMediaElementSource(videoElement); mediaSource.connect(source);

Pero me enfrento al siguiente problema:

 Uncaught DOMException: Failed to execute 'createMediaElementSource' on 'AudioContext': HTMLMediaElement already connected previously to a different MediaElementSourceNode

Avíseme si voy en la dirección correcta y si este problema se puede solucionar. EJÉRCITO DE RESERVA.

about 4 years ago · Juan Pablo Isaza
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!