home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / oslib / CStrong / Sound / HelpData next >
Encoding:
Text File  |  1994-08-10  |  17.5 KB  |  406 lines

  1. sound_log_table
  2. Defined in:   <sound=>sound.$>.h
  3. Declaration:  typedef
  4.                  struct
  5.                  {  byte log [8192];
  6.                  }
  7.                  sound_log_table;sound_log_scale_table
  8. Defined in:   <sound=>sound.$>.h
  9. Declaration:  typedef
  10.                  struct
  11.                  {  byte log_scale [256];
  12.                  }
  13.                  sound_log_scale_table;sound_channel_handler
  14. Defined in:   <sound=>sound.$>.h
  15. Declaration:  typedef
  16.                  struct
  17.                  {  void *fill_code;
  18.                     void *overrun_fixup_code;
  19.                     <sound_log_table> *log_table;
  20.                     <sound_log_scale_table> *log_scale_table;
  21.                  }
  22.                  sound_channel_handler;sound_sccb
  23. Defined in:   <sound=>sound.$>.h
  24. Declaration:  typedef
  25.                  struct
  26.                  {  byte amplitude;
  27.                     byte voice_no;
  28.                     byte voice_instance;
  29.                     byte flags;
  30.                     int pitch;
  31.                     int timbre;
  32.                     int buffer_fill_count;
  33.                     int r4;
  34.                     int r5;
  35.                     int r6;
  36.                     int r7;
  37.                     int r8;
  38.                     int reserved [7];
  39.                     int available [48];
  40.                  }
  41.                  sound_sccb;sound_scheduler
  42. Defined in:   <sound=>sound.$>.h
  43. Declaration:  typedef
  44.                  struct
  45.                  {  void *scheduler;
  46.                  }
  47.                  sound_scheduler;sound_voice_generator
  48. Defined in:   <sound=>sound.$>.h
  49. Declaration:  typedef
  50.                  struct
  51.                  {  int fill_code;
  52.                     int update_code;
  53.                     int gate_on_code;
  54.                     int gate_off_code;
  55.                     int instantiate_code;
  56.                     int free_code;
  57.                     int install_code;
  58.                     int voice_name_offset;
  59.                  }
  60.                  sound_voice_generator;sound_INSTALL_CODE
  61. Defined in:   <sound=>sound.$>.h
  62. Declaration:  #define sound_INSTALL_CODE (-390234112)sound_STATE_READ
  63. Defined in:   <sound=>sound.$>.h
  64. Declaration:  #define sound_STATE_READ 0sound_STATE_OFF
  65. Defined in:   <sound=>sound.$>.h
  66. Declaration:  #define sound_STATE_OFF 1sound_STATE_ON
  67. Defined in:   <sound=>sound.$>.h
  68. Declaration:  #define sound_STATE_ON 2xsound_configure
  69. Defined in:   <sound=>sound.$>.h
  70. Declaration:  extern <os_error=>os.os_error> *xsound_configure (int channel_count,
  71.                  int sample_size,
  72.                  int sample_period,
  73.                  <sound_channel_handler> *channel_handler,
  74.                  <sound_scheduler> *scheduler,
  75.                  int *channel_count_out,
  76.                  int *sample_size_out,
  77.                  int *sample_period_out,
  78.                  <sound_channel_handler> **channel_handler_out,
  79.                  <sound_scheduler> **scheduler_out);
  80. Summary:      Configures the sound systemsound_configure
  81. Defined in:   <sound=>sound.$>.h
  82. Declaration:  extern void sound_configure (int channel_count,
  83.                  int sample_size,
  84.                  int sample_period,
  85.                  <sound_channel_handler> *channel_handler,
  86.                  <sound_scheduler> *scheduler,
  87.                  int *channel_count_out,
  88.                  int *sample_size_out,
  89.                  int *sample_period_out,
  90.                  <sound_channel_handler> **channel_handler_out,
  91.                  <sound_scheduler> **scheduler_out);
  92. Summary:      Configures the sound systemxsound_enable
  93. Defined in:   <sound=>sound.$>.h
  94. Declaration:  extern <os_error=>os.os_error> *xsound_enable (int state,
  95.                  int *state_out);
  96. Summary:      Enables or disables the sound systemsound_enable
  97. Defined in:   <sound=>sound.$>.h
  98. Declaration:  extern int sound_enable (int state);
  99. Summary:      Enables or disables the sound systemxsound_stereo
  100. Defined in:   <sound=>sound.$>.h
  101. Declaration:  extern <os_error=>os.os_error> *xsound_stereo (int channel_no,
  102.                  int position,
  103.                  int *position_out);
  104. Summary:      Sets the stereo position of a channelsound_stereo
  105. Defined in:   <sound=>sound.$>.h
  106. Declaration:  extern int sound_stereo (int channel_no,
  107.                  int position);
  108. Summary:      Sets the stereo position of a channelxsound_speaker
  109. Defined in:   <sound=>sound.$>.h
  110. Declaration:  extern <os_error=>os.os_error> *xsound_speaker (int state,
  111.                  int *state_out);
  112. Summary:      Enables or disables the speaker(s)sound_speaker
  113. Defined in:   <sound=>sound.$>.h
  114. Declaration:  extern int sound_speaker (int state);
  115. Summary:      Enables or disables the speaker(s)xsound_volume
  116. Defined in:   <sound=>sound.$>.h
  117. Declaration:  extern <os_error=>os.os_error> *xsound_volume (int volume,
  118.                  int *volume_out);
  119. Summary:      Sets the overall volume of the sound systemsound_volume
  120. Defined in:   <sound=>sound.$>.h
  121. Declaration:  extern int sound_volume (int volume);
  122. Summary:      Sets the overall volume of the sound systemxsound_sound_log
  123. Defined in:   <sound=>sound.$>.h
  124. Declaration:  extern <os_error=>os.os_error> *xsound_sound_log (int linear,
  125.                  int *log);
  126. Summary:      Converts a signed integer to a signed logarithm, scaling it by volumesound_sound_log
  127. Defined in:   <sound=>sound.$>.h
  128. Declaration:  extern int sound_sound_log (int linear);
  129. Summary:      Converts a signed integer to a signed logarithm, scaling it by volumexsound_log_scale
  130. Defined in:   <sound=>sound.$>.h
  131. Declaration:  extern <os_error=>os.os_error> *xsound_log_scale (int log,
  132.                  int *linear);
  133. Summary:      Scales a signed logarithm by the current volume settingsound_log_scale
  134. Defined in:   <sound=>sound.$>.h
  135. Declaration:  extern int sound_log_scale (int log);
  136. Summary:      Scales a signed logarithm by the current volume settingxsound_install_voice
  137. Defined in:   <sound=>sound.$>.h
  138. Declaration:  extern <os_error=>os.os_error> *xsound_install_voice (<sound_voice_generator> *voice_generator,
  139.                  int voice_no,
  140.                  char **voice_name_out,
  141.                  int *voice_no_out);
  142. Summary:      Adds a voice to the sound systemsound_install_voice
  143. Defined in:   <sound=>sound.$>.h
  144. Declaration:  extern int sound_install_voice (<sound_voice_generator> *voice_generator,
  145.                  int voice_no,
  146.                  char **voice_name_out);
  147. Summary:      Adds a voice to the sound systemxsoundinstallvoice_read_name
  148. Defined in:   <sound=>sound.$>.h
  149. Declaration:  extern <os_error=>os.os_error> *xsoundinstallvoice_read_name (int voice_no,
  150.                  char **voice_name);
  151. Summary:      Reads the name of the voice installed in the specified slotsoundinstallvoice_read_name
  152. Defined in:   <sound=>sound.$>.h
  153. Declaration:  extern char *soundinstallvoice_read_name (int voice_no);
  154. Summary:      Reads the name of the voice installed in the specified slotxsoundinstallvoice_add_named_voice
  155. Defined in:   <sound=>sound.$>.h
  156. Declaration:  extern <os_error=>os.os_error> *xsoundinstallvoice_add_named_voice (int voice_no,
  157.                  <sound_voice_generator> *voice_generator,
  158.                  char *voice_name,
  159.                  int *voice_no_out,
  160.                  char **voice_name_out);
  161. Summary:      Adds a voice to the sound system, specifying its name in the local languagesoundinstallvoice_add_named_voice
  162. Defined in:   <sound=>sound.$>.h
  163. Declaration:  extern int soundinstallvoice_add_named_voice (int voice_no,
  164.                  <sound_voice_generator> *voice_generator,
  165.                  char *voice_name,
  166.                  char **voice_name_out);
  167. Summary:      Adds a voice to the sound system, specifying its name in the local languagexsoundinstallvoice_read_local_name
  168. Defined in:   <sound=>sound.$>.h
  169. Declaration:  extern <os_error=>os.os_error> *xsoundinstallvoice_read_local_name (int voice_no,
  170.                  char **voice_name_out,
  171.                  char **voice_local_name_out);
  172. Summary:      Reads the name and local name of the voice installed in the specified slotsoundinstallvoice_read_local_name
  173. Defined in:   <sound=>sound.$>.h
  174. Declaration:  extern char *soundinstallvoice_read_local_name (int voice_no,
  175.                  char **voice_local_name_out);
  176. Summary:      Reads the name and local name of the voice installed in the specified slotxsoundinstallvoice_change_local_name
  177. Defined in:   <sound=>sound.$>.h
  178. Declaration:  extern <os_error=>os.os_error> *xsoundinstallvoice_change_local_name (int voice_no,
  179.                  char *voice_local_name);
  180. Summary:      Changes the local name of the voice installed in the specified slotsoundinstallvoice_change_local_name
  181. Defined in:   <sound=>sound.$>.h
  182. Declaration:  extern void soundinstallvoice_change_local_name (int voice_no,
  183.                  char *voice_local_name);
  184. Summary:      Changes the local name of the voice installed in the specified slotxsound_remove_voice
  185. Defined in:   <sound=>sound.$>.h
  186. Declaration:  extern <os_error=>os.os_error> *xsound_remove_voice (int voice_no,
  187.                  char **voice_name_out,
  188.                  int *voice_no_out);
  189. Summary:      Removes a voice from the sound systemsound_remove_voice
  190. Defined in:   <sound=>sound.$>.h
  191. Declaration:  extern int sound_remove_voice (int voice_no,
  192.                  char **voice_name_out);
  193. Summary:      Removes a voice from the sound systemxsound_attach_voice
  194. Defined in:   <sound=>sound.$>.h
  195. Declaration:  extern <os_error=>os.os_error> *xsound_attach_voice (int channel_no,
  196.                  int voice_no,
  197.                  int *channel_no_out,
  198.                  int *voice_no_out);
  199. Summary:      Attaches a voice to a channelsound_attach_voice
  200. Defined in:   <sound=>sound.$>.h
  201. Declaration:  extern void sound_attach_voice (int channel_no,
  202.                  int voice_no,
  203.                  int *channel_no_out,
  204.                  int *voice_no_out);
  205. Summary:      Attaches a voice to a channelxsound_control_packed
  206. Defined in:   <sound=>sound.$>.h
  207. Declaration:  extern <os_error=>os.os_error> *xsound_control_packed (bits amp_and_channel,
  208.                  bits duration_and_pitch);
  209. Summary:      Makes an immediate soundsound_control_packed
  210. Defined in:   <sound=>sound.$>.h
  211. Declaration:  extern void sound_control_packed (bits amp_and_channel,
  212.                  bits duration_and_pitch);
  213. Summary:      Makes an immediate soundxsound_tuning
  214. Defined in:   <sound=>sound.$>.h
  215. Declaration:  extern <os_error=>os.os_error> *xsound_tuning (int tuning,
  216.                  int *tuning_out);
  217. Summary:      Sets the tuning for the sound systemsound_tuning
  218. Defined in:   <sound=>sound.$>.h
  219. Declaration:  extern int sound_tuning (int tuning);
  220. Summary:      Sets the tuning for the sound systemxsound_pitch
  221. Defined in:   <sound=>sound.$>.h
  222. Declaration:  extern <os_error=>os.os_error> *xsound_pitch (int pitch,
  223.                  int *accumulator);
  224. Summary:      Converts a pitch to internal format (a phase accumulator value)sound_pitch
  225. Defined in:   <sound=>sound.$>.h
  226. Declaration:  extern int sound_pitch (int pitch);
  227. Summary:      Converts a pitch to internal format (a phase accumulator value)xsound_control
  228. Defined in:   <sound=>sound.$>.h
  229. Declaration:  extern <os_error=>os.os_error> *xsound_control (int channel_no,
  230.                  int amplitude,
  231.                  int pitch,
  232.                  int duration);
  233. Summary:      Makes an immediate soundsound_control
  234. Defined in:   <sound=>sound.$>.h
  235. Declaration:  extern void sound_control (int channel_no,
  236.                  int amplitude,
  237.                  int pitch,
  238.                  int duration);
  239. Summary:      Makes an immediate soundxsound_attach_named_voice
  240. Defined in:   <sound=>sound.$>.h
  241. Declaration:  extern <os_error=>os.os_error> *xsound_attach_named_voice (int channel_no,
  242.                  char *voice_name);
  243. Summary:      Attaches a named voice to a channelsound_attach_named_voice
  244. Defined in:   <sound=>sound.$>.h
  245. Declaration:  extern void sound_attach_named_voice (int channel_no,
  246.                  char *voice_name);
  247. Summary:      Attaches a named voice to a channelxsound_read_control_block
  248. Defined in:   <sound=>sound.$>.h
  249. Declaration:  extern <os_error=>os.os_error> *xsound_read_control_block (int channel_no,
  250.                  int offset,
  251.                  int *channel_no_out,
  252.                  int *word);
  253. Summary:      Reads a value from the sound channel control block (SCCB)sound_read_control_block
  254. Defined in:   <sound=>sound.$>.h
  255. Declaration:  extern void sound_read_control_block (int channel_no,
  256.                  int offset,
  257.                  int *channel_no_out,
  258.                  int *word);
  259. Summary:      Reads a value from the sound channel control block (SCCB)xsound_write_control_block
  260. Defined in:   <sound=>sound.$>.h
  261. Declaration:  extern <os_error=>os.os_error> *xsound_write_control_block (int channel_no,
  262.                  int offset,
  263.                  int word,
  264.                  int *channel_no_out,
  265.                  int *word_out);
  266. Summary:      Writes a value to the sound channel control block (SCCB)sound_write_control_block
  267. Defined in:   <sound=>sound.$>.h
  268. Declaration:  extern void sound_write_control_block (int channel_no,
  269.                  int offset,
  270.                  int word,
  271.                  int *channel_no_out,
  272.                  int *word_out);
  273. Summary:      Writes a value to the sound channel control block (SCCB)xsound_qinit
  274. Defined in:   <sound=>sound.$>.h
  275. Declaration:  extern <os_error=>os.os_error> *xsound_qinit (void);
  276. Summary:      Initialises the scheduler's event queuesound_qinit
  277. Defined in:   <sound=>sound.$>.h
  278. Declaration:  extern void sound_qinit (void);
  279. Summary:      Initialises the scheduler's event queuexsound_qschedule
  280. Defined in:   <sound=>sound.$>.h
  281. Declaration:  extern <os_error=>os.os_error> *xsound_qschedule (int period,
  282.                  int swi_no,
  283.                  int swi_r0,
  284.                  int swi_r1,
  285.                  bool *failed);
  286. Summary:      Schedules a sound SWI on the event queuesound_qschedule
  287. Defined in:   <sound=>sound.$>.h
  288. Declaration:  extern bool sound_qschedule (int period,
  289.                  int swi_no,
  290.                  int swi_r0,
  291.                  int swi_r1);
  292. Summary:      Schedules a sound SWI on the event queuexsound_qremove
  293. Defined in:   <sound=>sound.$>.h
  294. Declaration:  extern <os_error=>os.os_error> *xsound_qremove (void);
  295. Summary:      This call is for use by the scheduler onlysound_qremove
  296. Defined in:   <sound=>sound.$>.h
  297. Declaration:  extern void sound_qremove (void);
  298. Summary:      This call is for use by the scheduler onlyxsound_qfree
  299. Defined in:   <sound=>sound.$>.h
  300. Declaration:  extern <os_error=>os.os_error> *xsound_qfree (int *free_count);
  301. Summary:      Returns the minimum number of free slots in the event queuesound_qfree
  302. Defined in:   <sound=>sound.$>.h
  303. Declaration:  extern int sound_qfree (void);
  304. Summary:      Returns the minimum number of free slots in the event queuexsound_qs_dispatch
  305. This call is for use by the scheduler onlysound_qs_dispatch
  306. This call is for use by the scheduler onlyxsound_qtempo
  307. Defined in:   <sound=>sound.$>.h
  308. Declaration:  extern <os_error=>os.os_error> *xsound_qtempo (int tempo,
  309.                  int *tempo_out);
  310. Summary:      Sets the tempo for the schedulersound_qtempo
  311. Defined in:   <sound=>sound.$>.h
  312. Declaration:  extern int sound_qtempo (int tempo);
  313. Summary:      Sets the tempo for the schedulerxsound_qbeat
  314. Defined in:   <sound=>sound.$>.h
  315. Declaration:  extern <os_error=>os.os_error> *xsound_qbeat (int bar_length,
  316.                  int *bar_length_out);
  317. Summary:      Sets or reads the beat counter or bar lengthsound_qbeat
  318. Defined in:   <sound=>sound.$>.h
  319. Declaration:  extern int sound_qbeat (int bar_length);
  320. Summary:      Sets or reads the beat counter or bar lengthxsound_qinterface
  321. This call is for use by the scheduler onlysound_qinterface
  322. This call is for use by the scheduler onlyxservice_sound
  323. Defined in:   <sound=>sound.$>.h
  324. Declaration:  extern <os_error=>os.os_error> *xservice_sound (int part);
  325. Summary:      Parts of the sound system are starting up or dyingservice_sound
  326. Defined in:   <sound=>sound.$>.h
  327. Declaration:  extern void service_sound (int part);
  328. Summary:      Parts of the sound system are starting up or dyingxevent_start_of_bar
  329. Defined in:   <sound=>sound.$>.h
  330. Declaration:  extern <os_error=>os.os_error> *xevent_start_of_bar (void);
  331. Summary:      Sound start of bar eventevent_start_of_bar
  332. Defined in:   <sound=>sound.$>.h
  333. Declaration:  extern void event_start_of_bar (void);
  334. Summary:      Sound start of bar eventSound
  335. <sound_log_table>
  336. <sound_log_scale_table>
  337. <sound_channel_handler>
  338. <sound_sccb>
  339. <sound_scheduler>
  340. <sound_voice_generator>
  341. <sound_INSTALL_CODE>
  342. <sound_STATE_READ>
  343. <sound_STATE_OFF>
  344. <sound_STATE_ON>
  345. <xsound_configure>
  346. <sound_configure>
  347. <xsound_enable>
  348. <sound_enable>
  349. <xsound_stereo>
  350. <sound_stereo>
  351. <xsound_speaker>
  352. <sound_speaker>
  353. <xsound_volume>
  354. <sound_volume>
  355. <xsound_sound_log>
  356. <sound_sound_log>
  357. <xsound_log_scale>
  358. <sound_log_scale>
  359. <xsound_install_voice>
  360. <sound_install_voice>
  361. <xsoundinstallvoice_read_name>
  362. <soundinstallvoice_read_name>
  363. <xsoundinstallvoice_add_named_voice>
  364. <soundinstallvoice_add_named_voice>
  365. <xsoundinstallvoice_read_local_name>
  366. <soundinstallvoice_read_local_name>
  367. <xsoundinstallvoice_change_local_name>
  368. <soundinstallvoice_change_local_name>
  369. <xsound_remove_voice>
  370. <sound_remove_voice>
  371. <xsound_attach_voice>
  372. <sound_attach_voice>
  373. <xsound_control_packed>
  374. <sound_control_packed>
  375. <xsound_tuning>
  376. <sound_tuning>
  377. <xsound_pitch>
  378. <sound_pitch>
  379. <xsound_control>
  380. <sound_control>
  381. <xsound_attach_named_voice>
  382. <sound_attach_named_voice>
  383. <xsound_read_control_block>
  384. <sound_read_control_block>
  385. <xsound_write_control_block>
  386. <sound_write_control_block>
  387. <xsound_qinit>
  388. <sound_qinit>
  389. <xsound_qschedule>
  390. <sound_qschedule>
  391. <xsound_qremove>
  392. <sound_qremove>
  393. <xsound_qfree>
  394. <sound_qfree>
  395. <xsound_qs_dispatch>
  396. <sound_qs_dispatch>
  397. <xsound_qtempo>
  398. <sound_qtempo>
  399. <xsound_qbeat>
  400. <sound_qbeat>
  401. <xsound_qinterface>
  402. <sound_qinterface>
  403. <xservice_sound>
  404. <service_sound>
  405. <xevent_start_of_bar>
  406. <event_start_of_bar>