-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathseqbind_8h.html
More file actions
178 lines (168 loc) · 16.9 KB
/
seqbind_8h.html
File metadata and controls
178 lines (168 loc) · 16.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libfluidsynth: seqbind.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libfluidsynth
 <span id="projectnumber">1.1.11</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_e9d22631e23def53df9d7c08c7c6097f.html">fluidsynth</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">seqbind.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Functions for binding sequencer objects to other subsystems.
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ae18ee23fd409270c9da4f0cd5c557c3d"><td class="memItemLeft" align="right" valign="top">FLUIDSYNTH_API <a class="el" href="types_8h.html#a69f729a00307f2b8ec1be0dba2203c12">fluid_seq_id_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="seqbind_8h.html#ae18ee23fd409270c9da4f0cd5c557c3d">fluid_sequencer_register_fluidsynth</a> (<a class="el" href="types_8h.html#a7c7acad4ee620fc954a7ad4d7e87e1c3">fluid_sequencer_t</a> *seq, <a class="el" href="types_8h.html#ae265f10ae174a13afe010de50d87e1a4">fluid_synth_t</a> *synth)</td></tr>
<tr class="memdesc:ae18ee23fd409270c9da4f0cd5c557c3d"><td class="mdescLeft"> </td><td class="mdescRight">Registers a synthesizer as a destination client of the given sequencer. <a href="#ae18ee23fd409270c9da4f0cd5c557c3d">More...</a><br /></td></tr>
<tr class="separator:ae18ee23fd409270c9da4f0cd5c557c3d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aecf29486fa3b80514be4a6a535b02045"><td class="memItemLeft" align="right" valign="top">FLUIDSYNTH_API int </td><td class="memItemRight" valign="bottom"><a class="el" href="seqbind_8h.html#aecf29486fa3b80514be4a6a535b02045">fluid_sequencer_add_midi_event_to_buffer</a> (void *data, <a class="el" href="types_8h.html#a61c72b76e3ee344637994c3071f74d94">fluid_midi_event_t</a> *event)</td></tr>
<tr class="memdesc:aecf29486fa3b80514be4a6a535b02045"><td class="mdescLeft"> </td><td class="mdescRight">Transforms an incoming midi event (from a midi driver or midi router) to a sequencer event and adds it to the sequencer queue for sending as soon as possible. <a href="#aecf29486fa3b80514be4a6a535b02045">More...</a><br /></td></tr>
<tr class="separator:aecf29486fa3b80514be4a6a535b02045"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Functions for binding sequencer objects to other subsystems. </p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="ae18ee23fd409270c9da4f0cd5c557c3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae18ee23fd409270c9da4f0cd5c557c3d">◆ </a></span>fluid_sequencer_register_fluidsynth()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">FLUIDSYNTH_API <a class="el" href="types_8h.html#a69f729a00307f2b8ec1be0dba2203c12">fluid_seq_id_t</a> fluid_sequencer_register_fluidsynth </td>
<td>(</td>
<td class="paramtype"><a class="el" href="types_8h.html#a7c7acad4ee620fc954a7ad4d7e87e1c3">fluid_sequencer_t</a> * </td>
<td class="paramname"><em>seq</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="types_8h.html#ae265f10ae174a13afe010de50d87e1a4">fluid_synth_t</a> * </td>
<td class="paramname"><em>synth</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Registers a synthesizer as a destination client of the given sequencer. </p>
<p>The <em>synth</em> is registered with the name "fluidsynth". </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">seq</td><td>Sequencer instance </td></tr>
<tr><td class="paramname">synth</td><td>Synthesizer instance </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Sequencer client ID, or <a class="el" href="misc_8h.html#a90e8bdbc5a507bbfa5c45bac85a63a61" title="Value that indicates failure, used by most libfluidsynth functions. ">FLUID_FAILED</a> on error. </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="fluidsynth_arpeggio_8c-example.html#a12">fluidsynth_arpeggio.c</a>, and <a class="el" href="fluidsynth_metronome_8c-example.html#a11">fluidsynth_metronome.c</a>.</dd>
</dl>
<p class="reference">References <a class="el" href="event_8h.html#a0c2d3bf7d67971cf82d4c0337427c916">fluid_event_get_bank()</a>, <a class="el" href="event_8h.html#a444187d4e75b5d8200bb4465f6b4cf97">fluid_event_get_channel()</a>, <a class="el" href="event_8h.html#ace3d7d024c82c0cf22f551663555b667">fluid_event_get_control()</a>, <a class="el" href="event_8h.html#a7690a75128123003d159d6329e0ee819">fluid_event_get_duration()</a>, <a class="el" href="event_8h.html#a908afd9c4d131fa4817878529be18745">fluid_event_get_key()</a>, <a class="el" href="event_8h.html#a9743249d95c8b09308e4ab754ae85172">fluid_event_get_pitch()</a>, <a class="el" href="event_8h.html#ad85f5b25dcacfd7128b6548c418ca6ff">fluid_event_get_program()</a>, <a class="el" href="event_8h.html#a487737a0f07ac4f33b2f5179f4597c69">fluid_event_get_sfont_id()</a>, <a class="el" href="event_8h.html#ac3361e1714645e0afbf51ee49e8fee21">fluid_event_get_type()</a>, <a class="el" href="event_8h.html#af87bd46089a8e1dcf8ab61eeb89d8341">fluid_event_get_value()</a>, <a class="el" href="event_8h.html#aa4edc380e491a5631293addb181bbbbb">fluid_event_get_velocity()</a>, <a class="el" href="event_8h.html#a0aae74aab2dae9597e4e1c402474629a">fluid_event_noteoff()</a>, <a class="el" href="misc_8h.html#a90e8bdbc5a507bbfa5c45bac85a63a61">FLUID_FAILED</a>, <a class="el" href="log_8h.html#a4433d077ea131c3e4b542537d65ffd72">fluid_log()</a>, <a class="el" href="log_8h.html#aa341232c15addd9c336131984840ed9ea62d9ddd89d0a853606ce38d195daa99a">FLUID_PANIC</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640eba05e9f160eea1d6aeb43299b7bd45530f">FLUID_SEQ_ALLNOTESOFF</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640ebac1594ded0babd5412fc714d017dd7a76">FLUID_SEQ_ALLSOUNDSOFF</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640eba37bcf291c28adf61758aed0145a69b9c">FLUID_SEQ_ANYCONTROLCHANGE</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640ebae9220e7834a0ec629320c4a4e0dd9547">FLUID_SEQ_BANKSELECT</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640ebabe345ba341506786677eb843d3ad967e">FLUID_SEQ_CHANNELPRESSURE</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640ebafc06ca89f49f130985ee86e6550b3118">FLUID_SEQ_CHORUSSEND</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640eba3071c5720b0b969045a4c0f8a3be40bf">FLUID_SEQ_CONTROLCHANGE</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640eba51375e58f50cda291818b26396df9659">FLUID_SEQ_MODULATION</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640eba4c293bd1d1925513766f3a25699a8cbb">FLUID_SEQ_NOTE</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640eba45e4e32b1c0aefaa6533c732b8f120a1">FLUID_SEQ_NOTEOFF</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640eba4431305a2aaadde363a1b247636de7a7">FLUID_SEQ_NOTEON</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640ebadbea6248d4dc02056e4c3d3c64930643">FLUID_SEQ_PAN</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640eba291c7d4e11f8fc03b562e6a32fe49901">FLUID_SEQ_PITCHBEND</a>, <a class="el" href="event_8h.html#aaa70f4bc85117085e24614e5292fdde6">FLUID_SEQ_PITCHWHHELSENS</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640eba7981ce96e3c2feaaecf240e7095b88e8">FLUID_SEQ_PROGRAMCHANGE</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640eba32692d9a15f57411d8e340ce042a6b95">FLUID_SEQ_PROGRAMSELECT</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640eba970b2bfee1d58337bbe268475d07784e">FLUID_SEQ_REVERBSEND</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640eba25aa6c9385a294189c6b18544350734d">FLUID_SEQ_SUSTAIN</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640ebaa6a1f19596ef3e43d1d2c8473511c88a">FLUID_SEQ_SYSTEMRESET</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640eba98e48d4a9631bb13cd04a79588e6fc0e">FLUID_SEQ_TIMER</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640eba64a1e726e1c8b4f48872ef4a266a78d6">FLUID_SEQ_UNREGISTERING</a>, <a class="el" href="event_8h.html#a98ada1fab7a3785a41aa4003645640eba0c1bce287e2eb79ab4295ca5a6ecf752">FLUID_SEQ_VOLUME</a>, <a class="el" href="seq_8h.html#ad33ba5ee1b85e844dc107b7fcc1877d3">fluid_sequencer_count_clients()</a>, <a class="el" href="seq_8h.html#a52adb16f96200cc1e1d624569afa2649">fluid_sequencer_get_client_id()</a>, <a class="el" href="seq_8h.html#a95d4d8c3882bd70af4690a9db3be7a0f">fluid_sequencer_get_client_name()</a>, <a class="el" href="seq_8h.html#a2ae3552fe3a4f20b8a29854c93eed643">fluid_sequencer_get_use_system_timer()</a>, <a class="el" href="seq_8h.html#a3210e5a6b8a23c25038b91d0810a0a02">fluid_sequencer_process()</a>, <a class="el" href="seq_8h.html#af48b466b7b2e97a438b166ae194b248c">fluid_sequencer_register_client()</a>, <a class="el" href="seq_8h.html#afb0c62f3a2cff3decbf628535f4511ef">fluid_sequencer_send_at()</a>, <a class="el" href="synth_8h.html#a8083050f25987b96e7883798085b5a7c">fluid_synth_all_sounds_off()</a>, <a class="el" href="synth_8h.html#a97b0f45f00922a46b1c1961d5b1f8cb5">fluid_synth_bank_select()</a>, <a class="el" href="synth_8h.html#a96b535f5acee6f807033d6cc9ccab555">fluid_synth_cc()</a>, <a class="el" href="synth_8h.html#a908d5ea45d97d17757a8a3bda504fd44">fluid_synth_channel_pressure()</a>, <a class="el" href="synth_8h.html#a5e8f96cacbc6460f7677a6191cbd4472">fluid_synth_noteoff()</a>, <a class="el" href="synth_8h.html#a4a98222fe1c36bfd598dc4cd89f4b75c">fluid_synth_noteon()</a>, <a class="el" href="synth_8h.html#ad5341f8e7c86835b197628f84a2d2c90">fluid_synth_pitch_bend()</a>, <a class="el" href="synth_8h.html#adb4df1ba450816d42ef40a16b2993549">fluid_synth_pitch_wheel_sens()</a>, <a class="el" href="synth_8h.html#aad8df89a90669268b6bee09da40088a6">fluid_synth_program_change()</a>, <a class="el" href="synth_8h.html#ac783362b155fc9c3997f7fd3cf9b1d7f">fluid_synth_program_select()</a>, and <a class="el" href="synth_8h.html#a3783aa3a825dfd81208d37039b6d2906">fluid_synth_system_reset()</a>.</p>
</div>
</div>
<a id="aecf29486fa3b80514be4a6a535b02045"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecf29486fa3b80514be4a6a535b02045">◆ </a></span>fluid_sequencer_add_midi_event_to_buffer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">FLUIDSYNTH_API int fluid_sequencer_add_midi_event_to_buffer </td>
<td>(</td>
<td class="paramtype">void * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="types_8h.html#a61c72b76e3ee344637994c3071f74d94">fluid_midi_event_t</a> * </td>
<td class="paramname"><em>event</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Transforms an incoming midi event (from a midi driver or midi router) to a sequencer event and adds it to the sequencer queue for sending as soon as possible. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>The sequencer, must be a valid <a class="el" href="types_8h.html#a7c7acad4ee620fc954a7ad4d7e87e1c3" title="Sequencer instance. ">fluid_sequencer_t</a> </td></tr>
<tr><td class="paramname">event</td><td>MIDI event </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="misc_8h.html#ae4efb1c3ce0d550c922504adfb0fb886" title="Value that indicates success, used by most libfluidsynth functions. ">FLUID_OK</a> or <a class="el" href="misc_8h.html#a90e8bdbc5a507bbfa5c45bac85a63a61" title="Value that indicates failure, used by most libfluidsynth functions. ">FLUID_FAILED</a> </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.1.0 </dd></dl>
<p class="reference">References <a class="el" href="event_8h.html#af6af8215438942a79dc953ba8419d1ac">fluid_event_channel_pressure()</a>, <a class="el" href="event_8h.html#ad2fdd4dca4a9e35bdb1baa00ec71815c">fluid_event_control_change()</a>, <a class="el" href="event_8h.html#a0aae74aab2dae9597e4e1c402474629a">fluid_event_noteoff()</a>, <a class="el" href="event_8h.html#a1337c75403ebf9c43607a3f3139c6bba">fluid_event_noteon()</a>, <a class="el" href="event_8h.html#a144992d13bb535115daebcfe22f76449">fluid_event_pitch_bend()</a>, <a class="el" href="event_8h.html#a2cad84c0b644e7da4ec8f4f7f3175bd5">fluid_event_program_change()</a>, <a class="el" href="event_8h.html#adb65323ce4cc44441be32fb5f2dc958a">fluid_event_set_dest()</a>, <a class="el" href="event_8h.html#ae58c2c79f68a9e8d9ba70281013a9bcf">fluid_event_system_reset()</a>, <a class="el" href="misc_8h.html#a90e8bdbc5a507bbfa5c45bac85a63a61">FLUID_FAILED</a>, <a class="el" href="midi_8h.html#ad6a5072d25f83834d41205d0c0806b9d">fluid_midi_event_get_channel()</a>, <a class="el" href="midi_8h.html#a4f50a77de21c9bfa7207617ef3ff3440">fluid_midi_event_get_control()</a>, <a class="el" href="midi_8h.html#a2ed781f6bc77a94c80d5f33ba63f4b05">fluid_midi_event_get_key()</a>, <a class="el" href="midi_8h.html#ad1f10dd6f386f2a189b7389fd1fac169">fluid_midi_event_get_pitch()</a>, <a class="el" href="midi_8h.html#a49901971bb418efc14b2de5954b4b200">fluid_midi_event_get_program()</a>, <a class="el" href="midi_8h.html#a63c2b0009873e8a1761f3a3365b12244">fluid_midi_event_get_type()</a>, <a class="el" href="midi_8h.html#ac0dfb3cc8be8571ecf2d2dd05b92a9b2">fluid_midi_event_get_value()</a>, <a class="el" href="midi_8h.html#a6462c5c51d6cfa9c328417d2f1f4b6d5">fluid_midi_event_get_velocity()</a>, <a class="el" href="seq_8h.html#a2a51cf34c359020eb6c9b7ab549ab239">fluid_sequencer_get_tick()</a>, and <a class="el" href="seq_8h.html#afb0c62f3a2cff3decbf628535f4511ef">fluid_sequencer_send_at()</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>