+ 8
How we can create a sound by coding ?
In Turbo C++ (Dos based) Compiler, i created a program in c++ who's generate a sound. The coding is that... #include<iostream.h> #include<conio.h> #include<dos.h> void main(){ clrscr(); sound(250); delay(200); nosound(); getch(); } when you run this code so you hear sound but my question is how we can sound programme in any other compilers and programming languages ? Thanku đđ
14 Respostas
+ 3
If you know javascript there is the built in web audio api, that can be used to generate pretty much any sound you can think of. its also built in so, no extra libraries are needed. The learning curve might be a little more complex though. There are also many sound libraries out there, like Pizzicato or Tone js, which simplify the process. Ive used all of the above and my personal fav would be Tone.js. The way they built their library is very relatable to how real instruments operate.
here is two codes I made here, the first is pure javascript, and the second uses Tone.js.
https://code.sololearn.com/WA4P53A24zGR/?ref=app
https://code.sololearn.com/W95pRTRd5em7/?ref=app
+ 9
Kuldeep and BroFarOps thank you. To learn more about Sonic Pi go to
https://sonic-pi.net/tutorial.html
+ 8
SonicPy for Python
sonic-pi.net
+ 5
BroFarOps©Ÿïžâąïžthe đ± thanks đ
+ 4
JavaScript seems the most used for creating sounds like for various instruments like drums, guitars, pianos and organs...
+ 4
BroFarOps©Ÿïžâąïžthe đ± please explain me in detail i want to know about this
+ 4
âââââJoe I haven't start Python but i know some basic concept in Python so i will try ....Thanks dear
+ 4
xpnvdo thanks đ
+ 4
_PSIX_20_ as a new user of Sololearn please do not spam the Q&A with emojis and comments that are not relevant to the question or subject being addressed. We want as users quality of content.
https://www.sololearn.com/discuss/1316935/?ref=app
+ 3
âââââJoe awesome site / bookmarked
+ 3
Check out "csound"
+ 1
đ€
+ 1
ĐŒĐŸĐ¶ĐœĐŸ ĐżĐŸ ŃŃŃŃĐșĐž RU
aleksgoriunov