home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / pascal / sndpas.zip / PMANCVT.DOC < prev    next >
Text File  |  1990-06-17  |  2KB  |  36 lines

  1.  
  2.                  PianoMan *.MUZ to SOUNDER.PAS Song Converter
  3.                                  PMANCVT.PAS
  4.  
  5.                                 Nels Anderson
  6.                                92 Bishop Drive
  7.                           Framingham, MA 01701-6540
  8.  
  9.  
  10. One good way create songs and other sounds is with Neil Rubenking's
  11. PianoMan program.  PianoMan lets you enter songs directly by playing
  12. your PC keyboard as a piano keyboard and then lets you edit the results
  13. in just about any imaginable way.  PMANCVT.PAS converts PianoMan songs
  14. stored in *.MUZ files into a form compatible with SOUNDER.PAS and its
  15. interrupt driven sound routines.
  16.  
  17. Each PianoMan note includes an octave value, the note within the octave,
  18. a staccato value and a duration.  The conversion ignores the staccato
  19. value as the SOUNDER.PAS routines don't have this feature.  Further,
  20. PianoMan runs in real time rather than as an interrupt giving it the
  21. advantage of being able to define notes of any duration while the
  22. interrupt routines must use notes with durations that are multiples of
  23. the clock tick (1/18th of a second).  The conversion changes the note
  24. duration as well as it can, and allows you to control the relative
  25. durations.  The typical PianoMan song requires that you divide the
  26. note duration by about 40 to get the desired interrupt duration.  Try
  27. that as the initial value when doing a conversion and adjust if it
  28. doesn't sound right.
  29.  
  30. PMANCVT.PAS will create a file called PMAN.DAT which will contain a
  31. Pascal byte array of the song, with an array name of "pman".  This
  32. array can then be inserted into your Pascal program and played just
  33. like the sample songs included in SOUNDER.PAS.  The conversion uses
  34. the note constants that are in SOUNDER.PAS which makes the array
  35. relatively easy to read.
  36.