Hi, I’m currently making a music game with particular notes generated at runtime of the game and I encountered a problem: AudioSource.GetSpectumData is getting a spectrum only from audio playing at audio listener, right?. And I want an audio to be “visible” for this audio listener something like 3 seconds earlier than music played in headphones, so when I do that, notes will be synchronised with the music already playing.
Everything would be easy if only unity could handle more than 1 audio listener, so I have to find a way around that. Does anybody has a soulution? I would be grateful if someone will help.
Thanks for the answer! But…
Well, the method with muted clip simply won’t work.
However, I don’t have much experience about playing around with FFT things, so could you please explain me how to create FFT that will be suitable for my project?