代码搜索结果
找到约 10,000 项符合
Sound 的代码
sound.c
#include
#include "sound.h"
void set_patch(int channel, int prog)
{
unsigned char msg[2];
msg[0] = 0xC0+channel;
msg[1] = prog;
midi_out(msg, 2);
}
void se
sound.h
void set_patch(int channel, int prog);
void set_pan(int channel, int pan);
void note_on(int channel, int pitch, int vel);
void note_off(int channel, int pitch);
void sound();
sound.java
package kyodai;
//import java.io.*;
import javax.sound.sampled.*;
import java.net.*;
/**
* 控制音乐特效
*/
public class Sound implements Runnable {
String currentName;
Object currentSound
sound.asm
EXTRN GENSOUND:FAR
PUBLIC MUSIC
STACK SEGMENT PARA STACK 'STACK'
DB 64 DUP ('STACK')
STACK ENDS
DATA SEGMENT PARA 'DATA'
MUS_FREQ DW 330, 294, 262, 294, 3 DUP (
sound.h
// Sound.h
#ifndef __SOUND_H__
#define __SOUND_H__
#include "stdafx.h"
#include
class CWave
{
public:
CWave();
CWave( const char * );
CWave( const char *, HINSTANCE )