home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 519b.lha / Casio_FZ-1 / dumpvoice.c < prev    next >
C/C++ Source or Header  |  1991-06-09  |  2KB  |  65 lines

  1. /* dumpvoice */
  2.  
  3. #include "casio.h"
  4. #include "fz1.h"
  5. #include <stdio.h>
  6.  
  7. dumpvoice(p)
  8. struct voicedata *p;
  9. {
  10.     printf("wave_start_address %ld, wave_end_address %ld\n",wave_start_address,wave_end_address);
  11.     printf("generator_start_address %ld, generator_end_address %ld\n",generator_start_address,generator_end_addresss);
  12.  
  13.     printf("loop_style %d, sustain_loop_number %d, multi_loop_end_number %d\n",loop_style,sustain_loop_number,multi_loop_end_number);
  14.  
  15.     for (i = 0; i < 8; i++)
  16.     {
  17.         printf("loop_start_addresses[%d] %ld, loop_end_address[%d] %ld\n",i,loop_start_addresses[i],i,loop_end_addresses[i]);
  18.         printf("loop_cross_feed_time[%d] %ld, loop_time[%d] %ld\n",loop_cross_feed_time[i],loop_time[i]);
  19.     }
  20.  
  21.     printf("voice_pitch %d, frequency_offset %d, filter_Q_offset %d\n",voice_pitch,frequency_offset,filter_Q_offset);
  22.  
  23.  
  24.     printf("dca_envelope_sustain_point %d, dca_envelope_end_point %d\n",dca_envelope_sustain_point,dca_envelope_end_point);
  25.     BYTE    dca_envelope_sustain_point;
  26.     BYTE    dca_envelope_end_point;
  27.     BYTE    dca_envelope_rate_values[NLOOPS];
  28.     UBYTE    dca_envelope_stop_values[NLOOPS];
  29.  
  30.     BYTE    dcf_envelope_sustain_point;
  31.     BYTE    dcf_envelope_end_point;
  32.     BYTE    dcf_rate_envelope_rate_values[NLOOPS];
  33.     UBYTE    dcf_envelope_stop_values[NLOOPS];
  34.  
  35.     unsigned short lfo_delay_time;
  36.     UBYTE    lfo_waveform;
  37.     UBYTE    lfo_attack_value;
  38.     BYTE    lfo_rate;
  39.     BYTE    lfo_pitch_depth;
  40.     BYTE    lfo_amplitude_depth;
  41.     BYTE    lfo_filter_depth;
  42.     BYTE    lfo_filter_Q_depth;
  43.     BYTE    initial_touch_Q_follow;
  44.  
  45.     BYTE    dca_keyboard_follow_depth;
  46.     BYTE    dca_noterate_scaling_depth;
  47.     BYTE    dcf_keyboard_follow_depth;
  48.     BYTE    dcf_noterate_scaling_depth;
  49.  
  50.     BYTE    initial_touch_dca_key_follow;
  51.     BYTE    initial_touch_dca_rate_scaling;
  52.     BYTE    initial_touch_dcf_key_follow;
  53.     BYTE    initial_touch_dca_rate_scaling;
  54.  
  55.     UBYTE    high_width_MIDI_code;    
  56.     UBYTE    low_width_MIDI_code;
  57.     UBYTE    keynote_center;
  58.  
  59.     UBYTE    sampling_frequency_index;
  60.  
  61.     char    name[14];
  62. }
  63.  
  64.  
  65.