audio file from file browser

edited April 2017 in Library Questions

Hello,

i'm pretty new to all this and working on a project for uni i came across a small problem.

the whole thing is an audio visualisation and the user should be be able to choose the song (.mp3) he wants to use for it from the file browser. as far as i know you do this with selectInput() which returns the type "file", to use it with the audio library however, i need it as an audiofile. i haven't found a way to cast a normal file to an audio file or another way to get an audio file via the browser. basically i would only need the path or file name (if the file is in the data folder) saved to a string.

can anyone please help me with this? .-.

-raiu

Answers

Sign In or Register to comment.