home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 4: The Falcon Archive / nf_archive_four_v1.0.iso / ARCHIVE / WORK / MSX / MEGPL116.ZIP / MGPL-116 / AMIGA / AMGDSPIT.H < prev    next >
C/C++ Source or Header  |  1995-08-24  |  2KB  |  52 lines

  1. /**************************************************/
  2. /******                                ******/
  3. /******                                ******/
  4. /******          Amiga DSP-Replay            ******/
  5. /******         under DSP interrupt        ******/
  6. /******           with P56 Loader            ******/
  7. /******                                ******/
  8. /******                                ******/
  9. /******       by Simplet / FATAL DESIGN        ******/
  10. /******                                ******/
  11. /**************************************************/
  12.  
  13. /*    Structures and Variables    */
  14.  
  15. struct    VOICE
  16.         {    long    Voice_Next,Voice_Sample_Start,
  17.                 Voice_Sample_Offset,Voice_Sample_Position,
  18.                 Voice_Sample_Length,Voice_Sample_Loop_Length;
  19.             int    Voice_Sample_Volume,Voice_Sample_Period,
  20.                 Voice_Sample_Fine_Tune;
  21.             long    Voice_Start;
  22.             int    Voice_Volume,Voice_Period,
  23.                 Voice_Wanted_Period,Voice_Note;
  24.             char    Voice_Sample,Voice_Command,Voice_Parameters,
  25.                 Voice_Tone_Port_Direction,Voice_Tone_Port_Speed,
  26.                 Voice_Glissando_Control,Voice_Vibrato_Command,
  27.                 Voice_Vibrato_Position,Voice_Vibrato_Control,
  28.                 Voice_Tremolo_Command,Voice_Tremolo_Position,
  29.                 Voice_Tremolo_Control;
  30.  
  31.         }    extern    MGTK_Voices[32];
  32.  
  33. extern    char            MGTK_Restart_Loop,MGTK_Restart_Done;
  34. extern    unsigned int    MGTK_Master_Volume_Left,MGTK_Master_Volume_Right;
  35.  
  36. /*    Functions        */
  37.  
  38. extern    int    MGTK_Init_Module_Samples(void *Module,void *EndWorkSpace);
  39. extern    int    MGTK_Init_DSP(void);
  40. extern    void    MGTK_P56_Loader(void *P56_Program,int DSP_Word_Size);
  41. extern    void    MGTK_Save_Sound(void);
  42. extern    void    MGTK_Init_Sound(void);
  43. extern    void    MGTK_Restore_Sound(void);
  44. extern    void    MGTK_Set_Replay_Frequency(int Frequency_Divider);
  45. extern    void    MGTK_Play_Music(void);
  46. extern    void    MGTK_Pause_Music(void);
  47. extern    void    MGTK_Stop_Music(void);
  48. extern    void    MGTK_Play_Position(int Position);
  49. extern    void    MGTK_Previous_Position(void);
  50. extern    void    MGTK_Next_Position(void);
  51. extern    void    MGTK_Clear_Voices(void);
  52.