Advertisement
3_2004-2005 Graphics/ Sound #146869

^!Play music directly to PC's Internal Speaker

Play music directly to PC's Internal Speaker

AI

Yapay Zeka Özeti: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Kaynak Kod
original-source
/** Play music directly to PC's Internal Speaker PLEASE VOTE FOR ME ! Nitin Jindal */
#include <stdio.h>
#include <stdlib.h>
#include <dos.h>
#include <conio.h>
main()
{
float octave[7]={130.81,146.83,164.81,174.61,196.220,246.94};
int adn;
while(!kbhit())
{
adn=random(7);
sound(octave[adn]*10);
delay(190);
nosound();
}}
Orijinal Yorumlar (3)
Wayback Machine'den kurtarıldı