- Home /
Audio Analysis?
Hello. I know you can use AudioSource.GetOutputData and AudioSource.GetSpectrumData to get info regarding the currently playing audio in a scene. Is there anyway to do this before the scene starts? Have a "analyzing" scene where the unity runs through the song (speed up, perhaps?), grabs the data needed and then, when the actual scene where that info is needed, the song is just playing and not being analyzed? Games that use audio to generate their levels (audiosurf, rhythm zone, etc.) use this technique(to increase performance I presume).
Also, Is there anyway to use an outside audio track as the material for an audio source? As in, letting the player use their own music? I know there is a file browser on the unity wiki, could that work?
Thanks.
Your answer
Follow this Question
Related Questions
WAV byte[] to AudioClip? 3 Answers
Unity Audio Output Data 0 Answers
Using raycast to sonify point cloud data and geometry of shapes 0 Answers
Audio source data? 0 Answers
Extracting or viewing raw audio data from an audio listener 0 Answers