Hi,
Now I am working on a project that I can search for all my audio files in my device. But I am trying to get access to the music file and to analysis it. Is there any solution I can get to do something like ‘audio.clip = file_path/music_file’? With that I can use audio.getSpectrumData directly. Might need some help here. Thanks in advance.
Here you go. It only imports MP3 files at the moment. The next version will support Bass.dll, so it will be able to import more formats.
1 Like
Thanks for sharing. This could work. But this is not what I wanted in fact. Now I am capable of something,1 I can search every single audio file in my file system. 2 With file path, if I input the number sorted in my song list then I can play music. In fact, it’s a android plugin for unity. What I really want is if it’s possible for me to read the audio buffer while playing music? And if yes, which buffer or where to read? And if no, as I said before, can I access the audio files with file path in my script?? I tried WWW, but don’t know how to use it correctly.