Play custom audio file in Python

I want to play my own audio file in Python without a flashdrive blocking the servo. How do I import the file to DexterOS and use it in Python?

Hello @twsandmds

I have not tried it (I don’t have a DexterOS at the ready at the moment) but within JupyterLab, there is an upload button. It should allow you to upload the file into your home folder (/home/jupyter) and you can access it from there.

Cleo

Yes, I have to concur CleoQc’s response: you can upload an audio file to anywhere in /home/jupyter within JupyterLab and then use it in your Python scripts.

Thank you!