Arquivos
OpenBCI_GUI/libraries/minim/documentation/sampler_method_setsample.html
2016-07-19 17:54:57 -04:00

67 linhas
2.0 KiB
HTML
Arquivo Executável

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Minim : : Sampler : : setSample</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<center>
<table class="mainTable">
<tr>
<td class="header">
<span class="indexheader">Minim</span><br/>
<span class="indexnavigation">
<a href="index.html">core</a> |
<a href="index_ugens.html">ugens</a> |
<a href="index_analysis.html">analysis</a>
</span>
</td>
<td class="border-left">&nbsp;</td>
</tr>
<tr>
<td class="classNavigation">
<p class="mainTextName"><A href="sampler_class_sampler.html">Sampler</A></p>
<p class="methodName">setSample</p>
</td>
<td class="mainText border-left">
<p class="memberSectionHeader">Description</p>
Sets the sample data used by this Sampler by <em>copying</em> the
contents of the provided MultiChannelBuffer into the internal buffer.
<p class="memberSectionHeader">Signature</p>
<pre>void setSample(MultiChannelBuffer newSampleData, float sampleRate)
</pre>
<p class="memberSectionHeader">Parameters</p>
<span class="parameterName">newSampleData</span>&nbsp;&mdash;&nbsp;<span class="parameterDescription">MultiChannelBuffer: the new sample data for this Sampler</span><br/>
<span class="parameterName">sampleRate</span>&nbsp;&mdash;&nbsp;<span class="parameterDescription">float: the sample rate of the sample data</span><br/>
<p class="memberSectionHeader">Returns</p>
<p>None</p>
<p class="memberSectionHeader">Related</p>
<A href="multichannelbuffer_class_multichannelbuffer.html">MultiChannelBuffer</A><BR>
<p class="memberSectionHeader">Example</p>
<pre>None available</pre>
<p class="memberSectionHeader">Usage</p>
Web & Application
</td>
</tr>
</table>
</center>
</body>
</html>