my code:
enter def play():
import pyo
s = pyo.Server()
s.boot()
s.start()
s.setInputDevice(4)
s.setOutputDevice(4)
p = input("path: ")
play_audio1 = pyo.SfPlayer(path=p, speed=[1.25, 1.25])
play_audio1.out()
s.gui(locals(), exit=False)
play()
code here so the problem im facing is, i want to take path as a user input and play the audio file. help me out. for now i have only tried taking it was a user input and storing it in a var and use it but it dosent work.