home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / msdos / programm / 12396 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!ukma!gatech!destroyer!sol.ctr.columbia.edu!nobody
  3. From: lizakre@snybufva.cs.snybuf.edu (Rob Lizak Jr.)
  4. Subject: Mixing two or more .wav files together
  5. Sender: nobody@ctr.columbia.edu
  6. Organization: J. Random Misconfigured Site
  7. Date: Sun, 24 Jan 1993 15:00:00 GMT
  8. Message-ID: <1993Jan24.160326.17927@sol.ctr.columbia.edu>
  9. X-Posted-From: snybufva.cs.snybuf.edu
  10. NNTP-Posting-Host: sol.ctr.columbia.edu
  11. Lines: 21
  12.  
  13. Hello.
  14.  
  15.    I have done some sound samples of my drumset and wish to send them out the
  16. digital channel of my audio card.  Basically what I need to do is play some of
  17. the sounds simultaneosuly (i.e.  hihat and snare drum).  These are two samples
  18. which I have created.  What I want to do is have all of the samples in memory
  19. and then take, for example, the hihat and snare samples and make a third
  20. resultant sample that is both of them combined to play at the same time.  It
  21. would be entirely impossible to make samples of every possible drum/cymbal
  22. combination out there, so this is what I figure is my best alternative (I
  23. figure this will be a CPU hungary event, but thats OK!)...  Can anyone give me
  24. a hand with some code (C or assembler please), or an algorithm on how to do
  25. what I want to do.  
  26.  
  27. Thank you,
  28. Rob Lizak Jr.
  29.  
  30. lizakre@snybufva.cs.snybuf.edu
  31. lizakre@snybufva.bitnet
  32.  
  33.  
  34.