home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 640a.lha / NotePlayer_v1.0 / note.i next >
Text File  |  1992-05-10  |  1KB  |  37 lines

  1. * note.i - Note player public include file - Copyright 1992 Bryan Ford *
  2. * $Id$
  3.         ifnd    BRY_NOTE_I
  4. BRY_NOTE_I      set     1
  5.  
  6.  
  7. *** Entrypoints into the NotePlayer jump table
  8.                 rsreset
  9. NoteInfo        rs.l    1       ; info = NoteInfo()
  10. NoteInit        rs.l    1       ; success = NoteInit(channels,stereoarray)
  11. NoteFinish      rs.l    1       ; NoteFinish()
  12. NoteStart       rs.l    1       ; NoteStart(chan:d2,oneshot:a0,oneshotlen:d0,rep:a1,replen:d0,freq:d3,vol:d4)
  13. NoteStop        rs.l    1       ; NoteStop(chan:d2)
  14. NoteFreqVol     rs.l    1       ; NoteFreqVol(chan:d2,freq:d3,vol:d4)
  15. NoteFreq        rs.l    1       ; NoteFreq(chan,freq:d3)
  16. NoteVol         rs.l    1       ; NoteVol(chan,vol:d4)
  17.  
  18.  
  19. *** Info structure returned by NoteInfo entrypoint
  20.                 rsreset
  21. note_Version    rs.b    1       ; Version of NotePlayer.doc that applies to this NotePlayer
  22. note_Revision   rs.b    1       ; Revision number of this NotePlayer
  23. note_Flags      rs.b    1       ; Defined below
  24. note_Channels   rs.b    1       ; Maximum number of channels this NotePlayer can handle
  25. note_Name       rs.l    1       ; Pointer to descriptive name of this NotePlayer
  26.  
  27.  
  28. * Values for note_Flags
  29. NOTEB_CHIPSAMPLES       equ     0       ; All samples must be in chip memory (applies only to Amiga)
  30. NOTEB_PERIOD            equ     1       ; Amiga period supported as an alternative to frequency
  31.  
  32. NOTEF_CHIPSAMPLES       equ     1
  33. NOTEF_PERIOD            equ     2
  34.  
  35.  
  36.         end
  37.