Advertisement
Java_Volume1 Graphics/ Sound #101177

^!Play music directly to PC's Internal Speaker

Play music directly to PC's Internal Speaker

AI

Resumen de IA: 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.

Código fuente
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();
}}
Comentarios originales (3)
Recuperado de Wayback Machine