浏览代码

Add Examples lists to GUI documentation

dds
PaulStoffregen 10 年前
父节点
当前提交
e7c826e578
共有 2 个文件被更改,包括 187 次插入1 次删除
  1. +1
    -0
      gui/index.html
  2. +186
    -1
      gui/list.html

+ 1
- 0
gui/index.html 查看文件

tr.even {background-color:#E0E0E0} tr.even {background-color:#E0E0E0}
p.func {padding-bottom:0; margin:0px} p.func {padding-bottom:0; margin:0px}
p.desc {padding-left:2em; margin:0px; padding-top:0.2em; padding-bottom:0.8em; font-size:0.75em} p.desc {padding-left:2em; margin:0px; padding-top:0.2em; padding-bottom:0.8em; font-size:0.75em}
p.exam {padding-left:2em; text-indent:-1.2em; margin:0px; padding-top:0; padding-bottom:0.5em; font-size:0.75em; font-weight:bold}
pre.desc {padding-left:3em; margin:0px; padding-top:0em; padding-bottom:0.8em; font-size:0.75em; pre.desc {padding-left:3em; margin:0px; padding-top:0em; padding-bottom:0.8em; font-size:0.75em;
background-color:#FFFFFF; border:0px; line-height:100%; background-color:#FFFFFF; border:0px; line-height:100%;
} }

+ 186
- 1
gui/list.html 查看文件

<p>Audio from <p>Audio from
master mode I2S may be used in the same project as ADC, DAC and master mode I2S may be used in the same project as ADC, DAC and
PWM signals, because all remain in sync to Teensy's timing</p> PWM signals, because all remain in sync to Teensy's timing</p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; PassThroughStereo
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Recorder
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; PeakMeterStereo
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; FFT
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; SpectrumAnalyzerBasic
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Effects &gt; Chorus
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Effects &gt; Flange
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Effects &gt; Filter
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Effects &gt; Filter_FIR
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>Normally, this object is used with the Audio Shield, which <p>Normally, this object is used with the Audio Shield, which
is controlled separately by the "sgtl5000" object.</p> is controlled separately by the "sgtl5000" object.</p>
<tr class=odd><td align=center>13</td><td>RX</td><td>Input</td></tr> <tr class=odd><td align=center>13</td><td>RX</td><td>Input</td></tr>
<tr class=odd><td align=center>23</td><td>LRCLK</td><td>Input</td></tr> <tr class=odd><td align=center>23</td><td>LRCLK</td><td>Input</td></tr>
</table> </table>
<!--<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt;
</p>-->
<h3>Notes</h3> <h3>Notes</h3>
<p>Slave mode I2S <b>should not used in the same project as ADC, DAC and <p>Slave mode I2S <b>should not used in the same project as ADC, DAC and
PWM</b> signals. Differences in timing between the I2S device and PWM</b> signals. Differences in timing between the I2S device and
<p>Pin A2 is used for audio input. This circuitry is recommended.</p> <p>Pin A2 is used for audio input. This circuitry is recommended.</p>
<p align=center><img src="adccircuit.png"></p> <p align=center><img src="adccircuit.png"></p>
<p>Signal range is 0 to 1.2V</p> <p>Signal range is 0 to 1.2V</p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; PassThroughMono
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; PeakMeterMono
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; DialTone_7segment
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>Algorithm for automatic DC bias tracking</p> <p>Algorithm for automatic DC bias tracking</p>
<p>Noise due to high source impedance</p> <p>Noise due to high source impedance</p>
<p>Audio from <p>Audio from
master mode I2S may be used in the same project as ADC, DAC and master mode I2S may be used in the same project as ADC, DAC and
PWM signals, because all remain in sync to Teensy's timing</p> PWM signals, because all remain in sync to Teensy's timing</p>
<h3>Examples</h3>
<p>Nearly all the examples use this object. Here are some of the highlights:</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; PassThroughStereo
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; SamplePlayer
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Recorder
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; WavFilePlayer
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Effects &gt; Chorus
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Synthesis &gt; PlaySynthMusic
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>Normally, this object is used with the Audio Shield, which <p>Normally, this object is used with the Audio Shield, which
is controlled separately by the "sgtl5000" object.</p> is controlled separately by the "sgtl5000" object.</p>
<tr class=odd><td align=center>22</td><td>TX</td><td>Output</td></tr> <tr class=odd><td align=center>22</td><td>TX</td><td>Output</td></tr>
<tr class=odd><td align=center>23</td><td>LRCLK</td><td>Input</td></tr> <tr class=odd><td align=center>23</td><td>LRCLK</td><td>Input</td></tr>
</table> </table>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; WM8731MikroSine
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>Slave mode I2S <b>should not used in the same project as ADC, DAC and <p>Slave mode I2S <b>should not used in the same project as ADC, DAC and
PWM</b> signals. Differences in timing between the I2S device and PWM</b> signals. Differences in timing between the I2S device and
<p>Signal range is 0 to 1.2V</p> <p>Signal range is 0 to 1.2V</p>
<p>Most applications require at least a 10&micro;F DC-blocking capacitor.</p> <p>Most applications require at least a 10&micro;F DC-blocking capacitor.</p>
<p>TODO: photo of Teensy 3.1 with 10&micro;F capacitor and 3.5mm jack.</p> <p>TODO: photo of Teensy 3.1 with 10&micro;F capacitor and 3.5mm jack.</p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; PassThroughMono
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; SamplePlayer
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>The output rate is 44.1 kHz (no oversampling). Ultrasonic noise present if <p>The output rate is 44.1 kHz (no oversampling). Ultrasonic noise present if
not filtered. This may not not filtered. This may not
<p>A plastic film (Polypropylene, Polyethylene, Polyester, etc) or <p>A plastic film (Polypropylene, Polyethylene, Polyester, etc) or
C0G/NPO ceramic capacitor should be used for filtering. Low C0G/NPO ceramic capacitor should be used for filtering. Low
quality ceramic (X7R, Y5V, Z5U, etc) can cause signal distortion.</p> quality ceramic (X7R, Y5V, Z5U, etc) can cause signal distortion.</p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; PassThroughMono
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>This object only works properly when Tools > CPU_Speed is set to <p>This object only works properly when Tools > CPU_Speed is set to
48 or 96 MHz. Other speeds aren't supported and will likely fail 48 or 96 MHz. Other speeds aren't supported and will likely fail
off completely. Between 0 to 1.0 attenuates the signal, and above off completely. Between 0 to 1.0 attenuates the signal, and above
1.0 amplifies it. All 4 channels have separate settings. 1.0 amplifies it. All 4 channels have separate settings.
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; SamplePlayer
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Synthesis &gt; PlaySynthMusic
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; SpectrumAnalyzerBasic
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; DialTone_Serial
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; MemoryAndCpuUsage
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>Signal clipping can occur when any channel has gain greater than 1.0, <p>Signal clipping can occur when any channel has gain greater than 1.0,
or when multiple signals add together to greater than 1.0.</p> or when multiple signals add together to greater than 1.0.</p>
in milliseconds. When not playing, the return from this function in milliseconds. When not playing, the return from this function
is undefined. is undefined.
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; SamplePlayer
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>TODO: supported sample rates: 11.025, 22.05, 44.1</p> <p>TODO: supported sample rates: 11.025, 22.05, 44.1</p>
<p>TODO: ulaw vs uncompressed encoding</p> <p>TODO: ulaw vs uncompressed encoding</p>
in milliseconds. When not playing, the return from this function in milliseconds. When not playing, the return from this function
is undefined. is undefined.
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; WavFilePlayer
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>Only 16 bit PCM, 44100 Hz WAV files are supported. When mono <p>Only 16 bit PCM, 44100 Hz WAV files are supported. When mono
files are played, both output ports transmit a copy of the files are played, both output ports transmit a copy of the
in milliseconds. When not playing, the return from this function in milliseconds. When not playing, the return from this function
is undefined. is undefined.
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; Recorder
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>The data file must be RAW 16 bit signed integers in LSB-first format. <p>The data file must be RAW 16 bit signed integers in LSB-first format.
</p> </p>
<p class=func><span class=keyword>playBuffer</span>();</p> <p class=func><span class=keyword>playBuffer</span>();</p>
<p class=desc>Transmit the buffer previously obtained from getBuffer(). <p class=desc>Transmit the buffer previously obtained from getBuffer().
</p> </p>
<h3>Examples</h3>
<p><a href="http://community.arm.com/groups/embedded/blog/2014/05/23/led-video-panel-at-maker-faire-2014" target="_blank">4320 LED Video+Sound Project</a>
</p>
<!--<p class=exam>File &gt; Examples &gt; Audio &gt;
</p>-->
<h3>Notes</h3> <h3>Notes</h3>
<p>TODO: many caveats....</p> <p>TODO: many caveats....</p>
<p> <p>
<p class=desc>Stop capturing incoming audio into the queue. Data already <p class=desc>Stop capturing incoming audio into the queue. Data already
captured remains in the queue and may be read with readBuffer(). captured remains in the queue and may be read with readBuffer().
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; Recorder
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p> <p>
Up to 52 packets may be queued by this object, which allows approximately Up to 52 packets may be queued by this object, which allows approximately
<a href="http://www.pjrc.com/teensy/td_libs_AudioProcessorUsage.html" target="_blank">AudioNoInterrupts()</a> <a href="http://www.pjrc.com/teensy/td_libs_AudioProcessorUsage.html" target="_blank">AudioNoInterrupts()</a>
should be used to guarantee all new settings take effect together. should be used to guarantee all new settings take effect together.
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; MemoryAndCpuUsage
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; DialTone_Serial
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; FFT
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p></p> <p></p>
</script> </script>
<a href="http://www.pjrc.com/teensy/td_libs_AudioProcessorUsage.html" target="_blank">AudioNoInterrupts()</a> <a href="http://www.pjrc.com/teensy/td_libs_AudioProcessorUsage.html" target="_blank">AudioNoInterrupts()</a>
should be used to guarantee all new settings take effect together. should be used to guarantee all new settings take effect together.
</p> </p>
<!--<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt;
</p>-->
<h3>Notes</h3> <h3>Notes</h3>
<p></p> <p></p>
</script> </script>
limit your waveform data. Someday, "maxFreq" will be used to limit your waveform data. Someday, "maxFreq" will be used to
do this automatically. do this automatically.
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; Synthesis &gt; PlaySynthMusic
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Synthesis &gt; pulseWidth
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; WM8731MikroSine
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>Supported Waveforms:<br> <p>Supported Waveforms:<br>
<ul> <ul>
<p class=func><span class=keyword>isPlaying</span>();</p> <p class=func><span class=keyword>isPlaying</span>();</p>
<p class=desc>Returns true (non-zero) while the output is active. <p class=desc>Returns true (non-zero) while the output is active.
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; ToneSweep
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>Uses excessive CPU time</p> <p>Uses excessive CPU time</p>
</script> </script>
be specified, but periods longer than 1 second may be automatically be specified, but periods longer than 1 second may be automatically
shortened for small level changes, due to numerical precision limits. shortened for small level changes, due to numerical precision limits.
</p> </p>
<!--<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt;
</p>-->
<h3>Notes</h3> <h3>Notes</h3>
<p>Of course, the term "DC", for Direct Current, doesn't properly apply <p>Of course, the term "DC", for Direct Current, doesn't properly apply
to a pure digital stream of numerical values. But the term is widely to a pure digital stream of numerical values. But the term is widely
The default is off. Noise is generated only after setting The default is off. Noise is generated only after setting
to a non-zero level. to a non-zero level.
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt;
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>Setting the amplitude to zero causes this object to stop using <p>Setting the amplitude to zero causes this object to stop using
CPU time to generate random numbers. CPU time to generate random numbers.
The default is off. Noise is generated only after setting The default is off. Noise is generated only after setting
to a non-zero level. to a non-zero level.
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; MemoryAndCpuUsage
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>Setting the amplitude to zero causes this object to stop using <p>Setting the amplitude to zero causes this object to stop using
CPU time. CPU usage is approx 3% on Teensy 3.1. CPU time. CPU usage is approx 3% on Teensy 3.1.
<p class=desc>Begin decreasing the audio level, to reach 0 (no output) <p class=desc>Begin decreasing the audio level, to reach 0 (no output)
after "milliseconds" time. after "milliseconds" time.
</p> </p>
<!--<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt;
</p>-->
<h3>Notes</h3> <h3>Notes</h3>
<p>Cross fading can be built with 2 fade objects fed into a mixer. <p>Cross fading can be built with 2 fade objects fed into a mixer.
When one fade object is off (fully faded out) and the other on When one fade object is off (fully faded out) and the other on
<p class=func><span class=keyword>modify</span>(n_chorus);</p> <p class=func><span class=keyword>modify</span>(n_chorus);</p>
<p class=desc>Alters the number of voices in a running chorus (previously started with begin). <p class=desc>Alters the number of voices in a running chorus (previously started with begin).
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; Effects &gt; Chorus
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>The longer the length of the chorus, the more memory blocks are used.</p> <p>The longer the length of the chorus, the more memory blocks are used.</p>
</script> </script>
<p class=desc>Alters the parameters in a running flanger (previously started with begin). <p class=desc>Alters the parameters in a running flanger (previously started with begin).
</p> </p>


<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; Effects &gt; Flange
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>The longer the length of the delay buffer, the more memory blocks are used.</p> <p>The longer the length of the delay buffer, the more memory blocks are used.</p>
<p>Try these settings:<br> <p>Try these settings:<br>
<p class=func><span class=keyword>release</span>(milliseconds);</p> <p class=func><span class=keyword>release</span>(milliseconds);</p>
<p class=desc>Set the release time. The default is 30 millisecond. <p class=desc>Set the release time. The default is 30 millisecond.
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; Synthesis &gt; PlaySynthMusic
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Synthesis &gt; pulseWidth
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; MemoryAndCpuUsage
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>To achieve the more common ADSR shape, simply <p>To achieve the more common ADSR shape, simply
set delay and hold to zero.</p> set delay and hold to zero.</p>
This object simply multiplies the 2 signals to create This object simply multiplies the 2 signals to create
a continuous output a continuous output
</p> </p>
<!--<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt;
</p>-->
<h3>Notes</h3> <h3>Notes</h3>
<p> <p>
</p> </p>
silent. If this channel is the longest delay, memory usage is silent. If this channel is the longest delay, memory usage is
automatically reduced to accomodate only the remaining channels used. automatically reduced to accomodate only the remaining channels used.
</p> </p>
<!--<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt;
</p>-->
<h3>Notes</h3> <h3>Notes</h3>
<p>Memory for the delayed signal is take from the memory pool allocated by <p>Memory for the delayed signal is take from the memory pool allocated by
<a href="http://www.pjrc.com/teensy/td_libs_AudioConnection.html" target="_blank">AudioMemory()</a>. <a href="http://www.pjrc.com/teensy/td_libs_AudioConnection.html" target="_blank">AudioMemory()</a>.
should be type double. Alternately, it may be type int, where 1.0 is should be type double. Alternately, it may be type int, where 1.0 is
represented with 1073741824 (2<sup>30</sup>). represented with 1073741824 (2<sup>30</sup>).
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; Effects &gt; Filter
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>Filters can with gain must have their input signals attenuated, so the <p>Filters can with gain must have their input signals attenuated, so the
signal does not exceed 1.0. signal does not exceed 1.0.
<p class=func><span class=keyword>end</span>();</p> <p class=func><span class=keyword>end</span>();</p>
<p class=desc>Turn the filter off. <p class=desc>Turn the filter off.
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; Effects &gt; Filter_FIR
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>FIR filters requires more CPU time than Biquad (IIR), but they can <p>FIR filters requires more CPU time than Biquad (IIR), but they can
implement filters with better phase response. implement filters with better phase response.
shift the filter frequency up 2.5 octaves, and a full scale negative shift the filter frequency up 2.5 octaves, and a full scale negative
signal will shift it down 2.5 octaves. signal will shift it down 2.5 octaves.
</p> </p>
<!--<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt;
</p>-->
<h3>Notes</h3> <h3>Notes</h3>
<p> <p>
When controlled by a signal, the equation for the filter When controlled by a signal, the equation for the filter
<p class=desc>Read the highest peak value since the last read. <p class=desc>Read the highest peak value since the last read.
Return is from 0.0 to 1.0. Return is from 0.0 to 1.0.
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; PeakMeterMono
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; PeakMeterStereo
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p></p> <p></p>
</script> </script>
signals that are not exact integer division of the sample rate. signals that are not exact integer division of the sample rate.
</p> </p>


<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; MemoryAndCpuUsage
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>The raw 16 bit output data bins may be access with myFFT.output[num], where <p>The raw 16 bit output data bins may be access with myFFT.output[num], where
num is 0 to 127.</p> num is 0 to 127.</p>
should be used for all non-periodic (music) signals, and all periodic should be used for all non-periodic (music) signals, and all periodic
signals that are not exact integer division of the sample rate. signals that are not exact integer division of the sample rate.
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; FFT
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; SpectrumAnalyzerBasic
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>The raw 16 bit output data bins may be access with myFFT.output[num], where <p>The raw 16 bit output data bins may be access with myFFT.output[num], where
num is 0 to 511.</p> num is 0 to 511.</p>
<p class=desc>By testing the object as a boolean value, you can respond <p class=desc>By testing the object as a boolean value, you can respond
to detection of a tone. to detection of a tone.
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; DialTone_Serial
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; Analysis &gt; DialTone_7segment
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>Low frequency detection has trouble with numerical precision. <p>Low frequency detection has trouble with numerical precision.
Works really well for all 8 DTMF frequencies, but fails for Works really well for all 8 DTMF frequencies, but fails for
<p class=func><span class=keyword>length</span>(samples);</p> <p class=func><span class=keyword>length</span>(samples);</p>
<p class=desc>blah blah blah blah <p class=desc>blah blah blah blah
</p> </p>
<!--<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt;
</p>-->
<h3>Notes</h3> <h3>Notes</h3>
<p>This object doesn't work very well and probably should not be used.</p> <p>This object doesn't work very well and probably should not be used.</p>
</script> </script>
</script> </script>
<script type="text/x-red" data-help-name="AudioControlSGTL5000"> <script type="text/x-red" data-help-name="AudioControlSGTL5000">
<h3>Summary</h3> <h3>Summary</h3>
<p>Control the SGTL5000 chip on the audio shield
<p>Control the SGTL5000 chip on the
<a href="http://www.pjrc.com/store/teensy3_audio.html" target="_blank">audio shield</a>. <a href="http://www.pjrc.com/store/teensy3_audio.html" target="_blank">audio shield</a>.
SGTL5000 is always used in slave mode, where Teensy controls SGTL5000 is always used in slave mode, where Teensy controls
all I2S timing. all I2S timing.
<p class=desc>Enables zero or more of the already enabled parametric filters. <p class=desc>Enables zero or more of the already enabled parametric filters.
</p> </p>
<h3>Examples</h3>
<p>Nearly all of the library's examples use this object. These
examples demonstrate its special features.
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; PassThroughStereo
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; SGTL5000 &gt; dap_bass_enhance
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; SGTL5000 &gt; dap_avc_agc
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; SGTL5000 &gt; balanceDAC
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; SGTL5000 &gt; balanceHP
</p>
<p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; SGTL5000 &gt; CalcBiquadToneControlDAP
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p>TODO: add example with rock/classical/speech presets, where rock uses bass boost <p>TODO: add example with rock/classical/speech presets, where rock uses bass boost
and surround enhancement while speech uses bandpass filtering and auto volume control and surround enhancement while speech uses bandpass filtering and auto volume control
<p class=func><span class=keyword>inputSelect</span>(input);</p> <p class=func><span class=keyword>inputSelect</span>(input);</p>
<p class=desc>not implemented <p class=desc>not implemented
</p> </p>
<!--<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt;
</p>-->
<h3>Notes</h3> <h3>Notes</h3>
<p></p> <p></p>
</script> </script>
<p class=func><span class=keyword>inputSelect</span>(input);</p> <p class=func><span class=keyword>inputSelect</span>(input);</p>
<p class=desc>not implemented <p class=desc>not implemented
</p> </p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; HardwareTesting &gt; WM8731MikroSine
</p>
<h3>Notes</h3> <h3>Notes</h3>
<p></p> <p></p>
</script> </script>

正在加载...
取消
保存