代码搜索结果

找到约 12,685 项符合 Sound 的代码

9-1.c

/* 9-1.c可生成噪声的主程序 */ #define FALSE 0 #define TRUE 1 #include main() { int snd; /* which sound to produce */ int cnt; /* number of times to repeat sound */ int note; /* Cur

9-3.c

/*9-3.c*/ #include #include #include #include main() { int i,j; randomize(); while(!bioskey(1)) { i=rand()*5000; sound(i); delay(10); } nosound(); }

3-1.c

/*3-1.C*/ void sound(unsigned int freq); main() { unsigned int freq; do { do { freq=rand(); }while(freq>1000); sound(freq); }while(!kbhit()); } void sound(unsigned int freq) {

playsound.log

In the constructor of Play sound Ending the play device

playsound.log

In the constructor of Play sound Ending the play device

siren.c

#include #include void main(void) { unsigned frequency; do { for (frequency = 500; frequency

5-4.c

main() { sound(220); delay(6000); sound(330); delay(2000); sound(294); delay(2000); sound(330); delay(2000); sound(262); delay(2000); sound(246); delay(2000); sound(220); delay(12000);

siren.c

#include #include void main(void) { unsigned frequency; do { for (frequency = 500; frequency

load_sound.m.svn-base

function [x,fs] = load_sound(name, n0, options) % load_sound - load a sound from a file. % % [x,fs] = load_sound(name, n0, options); % % Load from a .wav (windows), .au (mac) or .asc (Wavel

load_sound.m

function [x,fs] = load_sound(name, n0, options) % load_sound - load a sound from a file. % % [x,fs] = load_sound(name, n0, options); % % Load from a .wav (windows), .au (mac) or .asc (Wavel