E
E
Evgeny Dolbanovsky2016-12-20 20:48:35
Python
Evgeny Dolbanovsky, 2016-12-20 20:48:35

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

5 answer(s)
E
evgeniy_lm, 2016-12-20
@evgeniy_lm

And you can "synthesize sound" using an ordinary sound card. This can be done using any programming language, including Python.

M
Max, 2016-12-20
@MaxDukov

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

A
Alexey Cheremisin, 2016-12-20
@leahch

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.

R
Roman Mindlin, 2016-12-21
@kgbplus

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)

N
nikitos_2002, 2017-02-15
@nikitos_2002

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 question

Ask a Question

731 491 924 answers to any question