>Hello. I'm looking for C/C++ routines to play music modules. This is
>for a game. I don't want to use .mid files. Modules are more versatile
>for me since I don't own any midi equipment. Anyway, does anyone know
>where I can get example code to do this? I want to be able to play
>either the .s3m or .xm format mainly. I'd appreciate any information
>you can provide. Thanks in advance!
> Tom
If any of you would like it, I have a mod playing routine (for GUS and
SB) that could be easily modified to play sound effects also. It works
for Watcom dos4gw. I would allow it to be used for free: I think
$10,000 is too large for smaller programmers.
The mixing routines are very fast: they have no problem playing mods
and take about 2% CPU time. It is completely written in ASM, though
this will change. (Only plays 8 channel mods now, but easily changed)
If there are enough people who want this, I will do it.
> If any of you would like it, I have a mod playing routine (for GUS and
> SB) that could be easily modified to play sound effects also. It works
> for Watcom dos4gw. I would allow it to be used for free: I think
> $10,000 is too large for smaller programmers.
>
> If there are enough people who want this, I will do it.
That would be really great of you to do. I to have been looking for a
MOD,S3M,etc. sound library. I am currently using SOS but that doesnot
play mods and has a big licensing fee. I do not mind paying, but
really... Anyway I feel alot of us out here may drop our expectations
from libraries like the described Galaxy and use a nice fast simply FREE
system.
Thanks in advance,
Alex
>Hello. I'm looking for C/C++ routines to play music modules. This is
>for a game. I don't want to use .mid files. Modules are more versatile
>for me since I don't own any midi equipment. Anyway, does anyone know
>where I can get example code to do this? I want to be able to play
>either the .s3m or .xm format mainly. I'd appreciate any information
>you can provide. Thanks in advance!
> Tom
Simple method - find the mci mod player drivers that I used to have a
while back. A friend found an mci driver that could play mod files
through the wave device with the simple programming of mci commands.
Since then, I've changed harddisks probably a dozen times and can't
find the package anywhere. It was really good too! If you ever run
into it, please email me a copy (I'll do the same).
Hard method - go to a demo groups ftp site and look for c/c++ code to
play under the dos world. Using the mixing and sampling algorythms to
build you audio data and pipe it use the waveout routines. Good luck
with this method.
Good Luck,
N. Scott Vann
Motivational Concepts, Inc.
Multimedia Training Systems
>If any of you would like it, I have a mod playing routine (for GUS and
>SB) that could be easily modified to play sound effects also. It works
> ...[snip]...
>If there are enough people who want this, I will do it.
I'm interested! Where do you plan to post it? Or do you plan to
e-mail it?
Thanks!
Gerry Giese
ggi...@aig.vialink.com
>than...@concentric.net (Tom Papas) wrote:
>>Hello. I'm looking for C/C++ routines to play music modules. This is
>>for a game. I don't want to use .mid files. Modules are more versatile
>>for me since I don't own any midi equipment. Anyway, does anyone know
>>where I can get example code to do this? I want to be able to play
>>either the .s3m or .xm format mainly. I'd appreciate any information
>>you can provide. Thanks in advance!
>> Tom
>If any of you would like it, I have a mod playing routine (for GUS and
>SB) that could be easily modified to play sound effects also. It works
>for Watcom dos4gw. I would allow it to be used for free: I think
>$10,000 is too large for smaller programmers.
>The mixing routines are very fast: they have no problem playing mods
>and take about 2% CPU time. It is completely written in ASM, though
>this will change. (Only plays 8 channel mods now, but easily changed)
>If there are enough people who want this, I will do it.
I'd love to get a copy! Let me know where you post it!
Thanks!
Gerry Giese
ggi...@aig.vialink.com
>than...@concentric.net (Tom Papas) wrote:
>> Tom
I'd love to get a copy! Let me know when you make it available!
Thanks!
Gerry Giese
ggi...@aig.vialink.com
>>If there are enough people who want this, I will do it.
>>
>>
>Please send it to me.
Me too! 2% WOW!
<G>
>I'd love to get a copy! Let me know when you make it available!
>
>Gerry Giese
>ggi...@aig.vialink.com
Whoops! Sorry about all the messages - I got errors connecting
to the server when I tried to send the messages last week, and
thought they'd been lost, but they'd actually been queued and
were sent out when I wrote a different msg this morning!
Hasta!
Gerry Giese
ggi...@aig.vialink.com
I suggest you upload your library to
ftp.cdrom.com/demos/incoming/music/programs
PS: There are also other .mod/.s3m/.xm libraries out with full source code. The
two most known (IMO) are midas and mikmod which both comes with full c-source code
and supports several sound boards (gus/sb/...).
Viper out....
Visit my C/C++ programming site at: http://www.europa.com/~viper/C-CPP_Links.html
I'm interested as well.
Warren
--
_/ _/ _/ _/_/_/ _/_/ Warren E. Downs - Computer Programmer
_/ __/ _/ _/ _/ _/ Campus Computer Center, Walla Walla College
_/_/_/_/ _/_/ _/ _/ 204 S. College Aveue, College Place, WA 99324
__/ __/ _/ _/ _/ Phones: 509-529-2833 (home), 509-527-2317 (office)
_/ _/ _/_/_/ _/_/_/ eMail: mailto://dow...@wwc.edu
Ftp: ftp://rgh-downwa.wwc.edu (My private ftp server)
Check out my Operating System project:
WWW: http://rgh-downwa.wwc.edu (My private web site)
http://moonbase.wwc.edu/homepages/downwa (Another place to check)
Life's a lot like money; you spend it, then it's gone. Spend wisely.
Add me to the list. I would love to have C code to play s3m and mod
files as I hope to get into demo and game programming. I do have
scream tracker in fact, so especially the s3m format is of interest.
---
Tika
del...@frontiernet.net
http://www.frontiernet.net/~delta4
Have you people downloaded ID's wolfenstain-3D source? Well you should. It has some great code
which can help you play music. it doesn't actualy give you everything, you'll have to write
quite a lot yourself but thats the fun on making it work, not just using someones
code word for word.
Alex
Sorry, but I missed the previous messages and do not know what's
going on exactly.
Anyway, I use DJGPP and the SB05 sound library, which comes with
full source code and CAN play MOD files (not s3m -yet-).
At the moment I am updating the library to allow a sort of
hyper-textual module, to give my game contestual music.
You can find the library everywhere you find DJGPP (sb05_dj2.zip).
All the best,
Massimiliano
--
/---------------------------------------------------------\
0 | Massimiliano Mantione [mant...@mailer.cefriel.it] | 0
/--+---------------------------------------------------------+--\
| /\ ._. /\ |
| __/ \__ / o \ /` ,__ /` __/ \__ |
| \ \ / / \ `-' /_ ___\ / __ ____, \ \ / / |
| >--()--< ,-. \ / \ / | / / \ / / / >--()--< |
| /__/ \__\ |o' / / / \__/ / \__/ / / / /__/ \__\ |
| \ / `--' ' ` '` ` ` ` \ / |
| \/ ------------------------------------ \/ |
\--+---------------------------------------------------------+--/
0 | CEFRIEL Via Emanueli, 15 (20126 MILANO) [Italy] | 0
\---Tel: +39-2-66100083 (66100750) [Fax: +39-2-66100448]--/
DJGPP is now available from Simtel.Net and its mirrors. See the
URLs below and my posting of the latest list of authorized Simtel.Net
mirror sites.
Keith
--
Keith Petersen, General Manager of Simtel(tm)
Simtel.Net is a service mark of Walnut Creek CDROM
Internet: w8...@Simtel.Net http://www.simtel.net/simtel.net/
Uucp: uunet!simtel.net!w8sdz ftp://ftp.simtel.net/pub/simtelnet
Thanks!
FlexED - eats hotdogs for breakfast. HTML editor with built in
WYSIWIG viewer, colour coded HTML tags, HTML tag dialog. Download
a copy today !. Ideal for the beginner to the professional, learn
HTML the easy way
Supported Platforms
Windows 3.11
Windows 95
Windows NT
Download a copy today
http://www.infoflex.com.au/flexed.htm
--
ooO====================OoooO===============================Ooo
o Tekin Tontu O email: te...@infoflex.com.au o
o Ph: +61 (2) 648 4515 O home: http://www.infoflex.com.au o
ooO====================oOOOo===============================Ooo
for fun http://www.infoflex.com.au/games/gpoker.html
>Please add me to the list I need some help with making my own mod
>player so code to look at would be very helpful.
Somone sending out player sources?
If so, please add me to the list too.
-----------------------------------------------------------------------------
.. Patrick Hanevold - VR developer - patrick....@login.eunet.no ///
.... Amiga and official Be developer - Visual Technologies \\\///
...... Whats this line for? \X//
-----------------------------------------------------------------------------
First the good news:
Source code for playing .mod, .xm, .s3m files under Borland or Watcom is
available via ftp x2ftp.oulu.fi pub/msdos/programming/mxlibs/mikmod*.zip
Now the bad news:
Anyone lame enough to follow up this sort of thing with 'me too' posts will
undoubtedly not have the intelligence to get this source code working.
Paul
----
>Now the bad news:
>Anyone lame enough to follow up this sort of thing with 'me too' posts will
>undoubtedly not have the intelligence to get this source code working.
Yeah, sure. What makes *you* so smart?
-----------------------------------------------------------------------------
.. Patrick Hanevold - VR developer - patrick....@login.eunet.no ///
.... Amiga and official Be developer - Visual Technologies \\\///
...... 41F900DFF0001168000601810828000A001666F24E75 \X//
-----------------------------------------------------------------------------
I don't post 'me too' or use aol :)
Paul
>>>Now the bad news:
>>>Anyone lame enough to follow up this sort of thing with 'me too' posts will
>>>undoubtedly not have the intelligence to get this source code working.
>>Yeah, sure. What makes *you* so smart?
>I don't post 'me too' or use aol :)
I only post 'me too', when I have lost the original message, and dont know who
posted it. And I dont use aol either.
-----------------------------------------------------------------------------
.. Patrick Hanevold - VR developer - patrick....@login.eunet.no ///
.... Amiga and official Be developer - Visual Technologies \\\///
...... Power Onyx? Nah, they boot too slow. \X//
-----------------------------------------------------------------------------
c-ya
dave
Are there newsreaders out there that just don't show you what
groups a thread is on at all? No wonder crossposting is such a
problem - perhaps if people wrote newsreaders that gave you a clear
idea of where you were posting before you posted then there wouldn't
be such a problem.
>In article <31739E...@mailer.cefriel.it>, mant...@mailer.cefriel.it says...
>>
>>del...@frontiernet.net wrote:
>>> Add me to the list. I would love to have C code to play s3m and mod
>>> files as I hope to get into demo and game programming. I do have
>>> scream tracker in fact, so especially the s3m format is of interest.
>>
Sorry, but I missed the previous messages and do not know what's
going on exactly.
I would like to do something with midi (play individual midi notes
etc.) If anybody knows somethin to help me to get started.
I would like to use win95. Some library with very hilevel funktions
or eaven some artikle that would explane what this microsoft
multimedia skd:s midifunktions do or something.
Joppe
You should have documentation on the multimedia API functions of Windows
95 provided with the on-line help of your compiler.
Chris
--------------------------------------------------------------------------
Chris Marriott, Warrington, UK | Author of SkyMap v3 award-winning
ch...@chrism.demon.co.uk | shareware Win31/Win95 planetarium.
For full info, see http://www.execpc.com/~skymap
Author member of Association of Shareware Professionals (ASP)
--------------------------------------------------------------------------
I have been trying to find information on writing a DOS program to
directly use a SB card. That is, w/out feeding it a .mid file, or a
.wav file.
I'd like to load the SB driver and then play specific notes (sounds)
from the program.
I wonder how games programmers do it. Perhaps they have their own
drivers that interface w/ the SB cards?
___
X OLX 1.53 X German word for constipation - Farfrompoopin
- Neptho
-----
Neptho T. | Linux: It ain't an OS, It's a lifestyle.
nep...@hagan.reno.nv.us | KISS: Keep your .sigs simple, stupid.