Open iAmKeyvan72 opened 3 years ago
You have to remove:
let counter = 0;
const shouldStop = () => {
// not necessary callback
if (counter > 5) {
return true;
}
counter++;
return false;
};
from the js.
Also edit :
renderAudioVisualizer(config, onProgress).then((exitCode) => {
console.log(`exited with code: ${exitCode}`);
});
Try solution from @marc-schieferdecker (thank you for the attention btw). Also the possibility of changing spectrum rotation and position is planned for the future
@marc-schieferdecker Thank you! your solution fixed it. @VladislavPetyukevich I'm looking forward to your awesome job and i wish you could make it more customisable. Thank you.
Hi, i've just copied your code with my mp3 and background. output.mp4 is a video with my background and my mp3 song but spectrum doesn't show up! did i do anything wrong? here is my code (actually your code):
and another question: can i move and rotate the spectrum? i need it to be in some position in the middle of video.