home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3593 / TODO < prev    next >
Encoding:
Text File  |  1991-07-08  |  1.5 KB  |  31 lines

  1. More handlers!  Everyone who adds sound hardware to a computer has the urge
  2. to come up with their own damn file format.
  3.  
  4. AUX includes skeleton handler files to assist you in supporting new formats.
  5. The full skeleton driver, skel.c, helps you write drivers for a
  6. new format which has data structures.  The simple skeleton driver
  7. helps you write a new driver for raw (headerless) formats, or
  8. for formats which just have a simple header followed by raw data.
  9.  
  10. Rate resampling code is needed.  There are three algorithms
  11. possible: none (just change the speed number), lerp (linear interpolation,
  12. fast but inaccurate), and big (analog filter simulation with thousands
  13. of coefficients).  I have sources for the last.
  14.  
  15. Also needed are simple analog filter options: low-pass, high-pass,
  16. bandpass, and notch filtering.  These would be handy for postprocessing
  17. sound samples; most of the SPARC samples I've heard are pretty grotty.
  18. These can be done with a convolving filter: output sample X[0] is the
  19. average of inputs X[-N]*C[-N] + ... + X[0]*C[0] + ... X[N]*C[N],
  20. where C is a carefully chosen set of coefficients.  Different
  21. coefficient sets give low-pass, high-pass, and possibly other filters.
  22.  
  23. Convolving filters are OK for massaging fun sound samples;
  24. a much more accurate (and slower) method is also needed for
  25. doing serious sound work.
  26.  
  27. These filters should be different programs which are compiled with
  28. the AUX library.  We also need some nice effects programs;
  29. the SST package by Jef Poskanzer will make a nice base.
  30.  
  31.