PaulStoffregen 10 年之前
父節點
當前提交
540fafe65a
共有 2 個文件被更改,包括 7 次插入3 次删除
  1. +3
    -3
      gui/list.html
  2. +4
    -0
      synth_sine.h

+ 3
- 3
gui/list.html 查看文件

@@ -267,7 +267,7 @@


<script type="text/javascript">
RED.nodes.registerType('AnalogOutputAnalog',{
RED.nodes.registerType('AudioOutputAnalog',{
shortName: "dac",
inputs:1,
outputs:0,
@@ -276,7 +276,7 @@
icon: "arrow-in.png"
});
</script>
<script type="text/x-red" data-help-name="AnalogOutputAnalog">
<script type="text/x-red" data-help-name="AudioOutputAnalog">
<h3>Summary</h3>
<p>Transmit 12 bit audio using Teensy 3.1's built-in digital to analog converter.</p>
<h3>Audio Connections</h3>
@@ -298,7 +298,7 @@
be an issue for many uses, but care should be used if amplified and driven
to high power tweeters.</p>
</script>
<script type="text/x-red" data-template-name="AnalogOutputAnalog">
<script type="text/x-red" data-template-name="AudioOutputAnalog">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">

+ 4
- 0
synth_sine.h 查看文件

@@ -27,6 +27,10 @@
#ifndef synth_sine_h_
#define synth_sine_h_

// TODO: investigate making a high resolution sine wave
// using Taylor series expansion.
// http://www.musicdsp.org/showone.php?id=13

class AudioSynthWaveformSine : public AudioStream
{
public:

Loading…
取消
儲存