1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
2<head>
3<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
4<title>SNDTrackInfo</title>
5<link rel="stylesheet" href="../css/nitro.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
7</head>
8<body>
9<div class="refentry" lang="ja"><a name="IDAKKWT"></a><div class="titlepage">
10<div></div>
11<div></div>
12</div>
13<h1>SNDTrackInfo <IMG src="../image/NTR.gif" width="24" height="12" border="0" align=middle><IMG src="../image/TWL.gif" width="24" height="12" border="0" align=middle></h1>
14<h2>Definition</h2>
15<dl>
16<dd><pre class="funcsynopsisinfo"><code>#include &lt;nitro/snd.h&gt;</code></pre></dd>
17<dd><pre class="funcsynopsisinfo"><code>typedef struct SNDTrackInfo
18{
19    u16 prgNo;
20    u8 volume;
21    u8 volume2;
22    s8 pitchBend;
23    u8 bendRange;
24    u8 pan;
25    s8 transpose;
26    u8 pad_;
27    u8 chCount;
28    u8 channel[ SND_CHANNEL_NUM ];
29} SNDTrackInfo;
30</code></pre></dd>
31<dd><pre class="funcprototype"></pre></dd>
32</dl>
33<div class="refsection" lang="ja"><a name="IDAPLWT"></a>
34      <h2>Elements</h2>
35
36      <div class="variablelist">
37<table border="0">
38<col align="left" valign="top">
39<tbody>
40<tr>
41<td><em><strong><code>prgNo</code></strong></em></td>
42<td>The program number.</td>
43</tr>
44<tr>
45<td><em><strong><code>volume</code></strong></em></td>
46<td>The track volume corresponding to the <code>volume</code> command (MIDI:7). Takes values in the range of 0 to 127.</td>
47</tr>
48<tr>
49<td><em><strong><code>volume2</code></strong></em></td>
50<td>The track volume corresponding to the <code>volume2</code> command (MIDI:11). Takes values in the range of 0 to 127.</td>
51</tr>
52<tr>
53<td><em><strong><code>pitchBend</code></strong></em></td>
54<td>The pitch bend. Takes values in the range of -128 to 127.</td>
55</tr>
56<tr>
57<td><em><strong><code>bendRange</code></strong></em></td>
58<td>The pitch bend range. Units are in semitones. Values represent the amount of change when <em><strong><code>pitchBend</code></strong></em> is at maximum.</td>
59</tr>
60<tr>
61<td><em><strong><code>pan</code></strong></em></td>
62<td>The pan. Takes values in the range of 0 (left) to 64 (center) to 127 (right).</td>
63</tr>
64<tr>
65<td><em><strong><code>transpose</code></strong></em></td>
66<td>The transpose value. Units are in semitones.</td>
67</tr>
68<tr>
69<td><em><strong><code>chCount</code></strong></em></td>
70<td>The number of channels currently playing tracks.</td>
71</tr>
72<tr>
73<td><em><strong><code>channel[]</code></strong></em></td>
74<td>An array of the channel numbers of channels playing tracks. Valid for only <em><strong><code>chCount</code></strong></em> number of channels.</td>
75</tr>
76</tbody>
77</table>
78</div>
79    </div>
80<div class="refsection" lang="ja"><a name="IDAWNWT"></a>
81      <h2>Description</h2>
82      <p>
83This is the track information structure. It stores the information for a single track.
84</p>
85      <p>
86The contents of this structure can be obtained with the <tt class="function"><a href="SND_ReadTrackInfo.html">SND_ReadTrackInfo</a></tt> function.
87</p>
88<div class="note">
89<h3 class="title">Note</h3>
90<p>
91The structure size and the member arrangement may be changed in the future.
92        </p>
93</div>
94    </div>
95<h2>See Also</h2>
96<p><a href="SND_ReadTrackInfo.html">SND_ReadTrackInfo</a></p>
97<h2>Revision History</h2>
98<p>2005/02/17 Initial version.</p>
99</div>
100<hr><p>CONFIDENTIAL</p></body>
101</html>
102