12313123
所属分类:多媒体编程
开发工具:Visual C++
文件大小:80KB
下载次数:12
上传日期:2009-11-02 17:13:19
上 传 者:
yulo
说明: 通用声音合成程序源代码-Universal sound synthesis program source code
(Universal sound synthesis program source code)
文件列表:
DEMO.BAT (100, 1996-01-22)
X-DEMO.EXE (89793, 1996-01-22)
OPL2.COM (9107, 1994-05-02)
SBWAVE.COM (7117, 1994-05-02)
THUNDER.WAV (19308, 1995-05-21)
SONG2.MID (12530, 1988-01-01)
WAVE.H (2352, 1996-01-22)
WAVETYPE.H (1871, 1996-01-16)
WAVE.C (19772, 1996-01-22)
VESA.C (43035, 1996-01-22)
VESA.H (1337, 1996-01-22)
VBEAI.H (21670, 1994-04-10)
FILE_ID.DIZ (145, 1996-01-22)
Here is a piece of source code to do wave mix using VBE/AI. You
can get the full vaisdk.zip from x2ftp.oulu.fi in dir
/pub/msdos/programming/libs
Please refer to the original vaisdk for terms and rights for the
VBE/AI source code. All modifications are done by Joel Chen.
You are free to use my modifications for both pd/commercial purposes
without any restriction. I am not responsible for anything, even
imaginery; you get the idea. If you don't and think that you will kick
my *** sometime because you would consider that this thing caused you
major problem, delete this whole thing now.
The executable is a modification of the demo program I got from a
mode-x lib package by Matt Pritchard to demostrate the midi
player and the wave player. MIDI player is the original midi
player from the vaisdk package. Wave player is the version I
changed to do mixing outputs.
Here are some quick info about the demo program:
I got rid of all the demos for different modes but 360x240. I
also changed the animation demo to 360x240 without panning. The
maximum number of sprites on screen is 80.
You can supply any number of MID and WAV files in the command
line; order doesn't matter. Pressing ESC will play the next MID
file or loop around. Pressing number 0 through 9 will play the
correspond WAV file. The program will play the first WAV at the
open screen.
The text on screen display mouse x, y and mouse button status.
The mouse code was from XLIB. I also took the retrace routine
from HOBBES Xmode library.
Press Left button will play zeroth WAV and right the first really
fast. Press Alt+Q to quit the program and press Alt+A to clear
all sounds in the playing queue.
Both MIDI player and the WAVE player crashes with XLIB. I don't
know what's wrong. If you got a stable version to work, let me
know.
At the end, I want thank all the helpful and nice poeple for the
info on mixing waves.
joel...
chenxj@cs.ucdavis.edu
xjchen@ucdavis.edu
xjchen@engr.ucdavis.edu
chenxje@ece.ucdavis.edu
^- pick one if you want to mail me. :) They will all go to the
first one though.
Jan 22, 1996
近期下载者:
相关文件:
收藏者: