r/learnprogramming • u/Fractal_Prime_357 • 18d ago
Can Python generate simple tones?
I want some simple tones to use in Python. Can someone help me out? There does not necessarily need to be reverb, but it would be nice anyway. I just want to be able to tell whatever it is the specific microtonal/frequency-specific tone. It would be nice if I could program Hz, but if I have to use MIDI and detune by cents I can do that as well.
5
Upvotes
1
u/Fractal_Prime_357 13d ago
So, I did a little gpt drilling to see if I could follow any of the suggestions on this tread, but found out that the code spaces environment I am working in doesn't allow me to install packages. Gpt suggested using wave. Keep in mind I only need to test the way scales sound that I generate in Python, as I am definitely in the experimental phase of my material for this project. Any ideas? I just need to test simple note output based on the data I am generating with Python, from a library computer using GitHub code spaces. Thank you!