Reproduce a "music note" in Python!? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Reproduce a "music note" in Python!?

Hello everyone! I need to reproduce a "music note" in Python, but I don't know if it is possible. For esample a "G" note. Thank you!

29th Nov 2017, 8:16 PM
Matteo Pellegrini
Matteo Pellegrini - avatar
6 Answers
+ 8
That might be a bit crude, but... 🎶 https://code.sololearn.com/c9b3uBowk8Og/?ref=app
29th Nov 2017, 8:40 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 7
i think that not possible...
29th Nov 2017, 8:26 PM
Vukan
Vukan - avatar
+ 5
You mean to print out the respective note as a text character?
29th Nov 2017, 8:26 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
No, I mean a real sound
29th Nov 2017, 8:32 PM
Matteo Pellegrini
Matteo Pellegrini - avatar
+ 1
Incredibile good for me ++
29th Nov 2017, 8:42 PM
Matteo Pellegrini
Matteo Pellegrini - avatar
0
pyaudio is a module that allow you to do that ( i don't remember the precise istruction, but if you google it you will surely found how to)
14th Dec 2017, 7:58 PM
Riccardo Cariboni
Riccardo Cariboni - avatar