Answer the question
In order to leave comments, you need to log in
Sound synthesis in Python or on Arduino hardware?
I want to understand how python works with sound. Interested in the synthesis of sounds. Is it possible to write a simple sound (wave) generator in Python. In hardware, it is assembled from 4 elements + a tweeter, but how to do it programmatically is a mystery to me. Googling, I didn’t find a clear answer on sound synthesis in python, in c\c +, through frameworks ( https://www.juce.com/), but there is almost nothing about python ...
Or it can completely abandon software synthesis, and look towards arduino???
Or maybe even combine Arduino and Python)))
Answer the question
In order to leave comments, you need to log in
And you can "synthesize sound" using an ordinary sound card. This can be done using any programming language, including Python.
yes, it's really simple. pull the pin to 1-0 with the desired frequency - here is the sound with this frequency. At least on duino. It’s clear that it’s not a sinusoid - but ...
look about the python here
Why didn't they find it? Not exactly a python, but gstreamer has a very good python wrapper. I made several products just using python and gstreamer.
As an option - programmatically generate a wav file, then output it to the default sound device. You will know everything about sound!
PS: Well, or solder covox)
As an option, record sound in WAV 8bit format (quite a normal voice) on an SD card, and connect it to an arduino using a very simple scheme. You can watch it in detail on Dmitry Osipov 's channel
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question