Hi, I’m trying to write a simple python script to grab audio from the analog input and replay it through the output but I’m not sure how to go about receiving or sending signal to either. Any tips on how to get started using pisound in python? Many thanks.
1 Like
Hey, you’ll need to use some standard API / library for accessing audio. I found sounddevice library which seems promising, check out this example:
I think this command should work for installing the library:
sudo pip3 install sounddevice
1 Like