Relative Content

Tag Archive for pythonaudio

Can I play a sum of sine waves as a sound? Python

I want to make an image-to-sound converter. I saw that idea in the 3Blue1Brown video about Hilbert’s curve. So, what this program should do is take every pixel of the image and associate it with a unique frequency, and then, depending on the brightness of the pixel, it will make that frequency louder or quieter. After that, it will add up all the sine waves of specific frequencies and amplitudes and play it for the user.

Can I play a sum of sine waves as a sound? Python

I want to make an image-to-sound converter. I saw that idea in the 3Blue1Brown video about Hilbert’s curve. So, what this program should do is take every pixel of the image and associate it with a unique frequency, and then, depending on the brightness of the pixel, it will make that frequency louder or quieter. After that, it will add up all the sine waves of specific frequencies and amplitudes and play it for the user.

Add cue markers/regions to WAV file using Python

What I have What I want For a long time I was messing around with struct and wave modules approach this, but these things (and possibly more) still happen in this code: marker_name argument is not working: Its name is just empty. wave.Error: unknown format: 3 is occurring when audio bit depth is 32 When […]

noise reduction using empty noise profile

I’m trying to reduce noise from an recorded voice file. I am using python noise reduce and making some tests to optimise. As the noise is permanent and relatively steady I was expecting to use a sound without voice as a filter to reversely apply it to the recorded voices.