PaulStoffregen vor 10 Jahren
Ursprung
Commit
540fafe65a
2 geänderte Dateien mit 7 neuen und 3 gelöschten Zeilen
  1. +3
    -3
      gui/list.html
  2. +4
    -0
      synth_sine.h

+ 3
- 3
gui/list.html Datei anzeigen

@@ -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 Datei anzeigen

@@ -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:

Laden…
Abbrechen
Speichern