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 / AMIGADSP.H < prev    next >
C/C++ Source or Header  |  1995-08-28  |  2KB  |  55 lines

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