1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4
<title>PySFML - Python binding for SFML (Simple and Fast Multimedia Library) - SoundBufferRecorder</title>
5
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
6
<link href="style.css" rel="stylesheet" type="text/css" />
10
<img src="http://www.sfml-dev.org/images/logo.jpg" width="770" height="200" title="SFML home" alt="SFML logo" />
12
<h1>sf.SoundBufferRecorder Class Reference</h1>
13
<div class="class_desc">Specialized SoundRecorder which saves the captured audio data into a sound buffer.</div>
14
<div class="base_class">Base class: <a href="SoundRecorder.html">sf.SoundRecorder</a>.</div>
15
<h2>Static methods</h2>
16
<div class="attr_name">CanCapture()</div>
17
<div class="desc">Tell if the system supports sound capture. If not, this class won't be usable. Returns True if audio capture is supported.<br /></div>
20
<div class="attr_name">GetBuffer()</div>
21
<div class="desc">Get the sound buffer containing the captured audio data. Returns a SoundBuffer object. Returns a sf.SoundBuffer instance.<br /></div>
22
<div class="attr_name">GetSampleRate()</div>
23
<div class="desc">Get the sample rate. Returns the frequency, in samples per second.<br /></div>
24
<div class="inherited">Inherited</div>
25
<div class="attr_name">Start(SampleRate=44100)</div>
26
<div class="desc">Start the capture. Warning : only one capture can happen at the same time.<br /> SampleRate : Sound frequency (the more samples, the higher the quality) (44100 by default = CD quality).<br /></div>
27
<div class="inherited">Inherited</div>
28
<div class="attr_name">Stop()</div>
29
<div class="desc">Stop the capture.<br /></div>
30
<div class="inherited">Inherited</div>
36
:: Copyright © 2007-2008 Rémi Koenig ::