| <p>This object has no functions to call from the Arduino sketch. It | <p>This object has no functions to call from the Arduino sketch. It | ||||
| simply streams data from the ADC to its output port.</p> | simply streams data from the ADC to its output port.</p> | ||||
| <h3>Hardware</h3> | <h3>Hardware</h3> | ||||
| <p>Pin A2 is used for audio input.</p> | |||||
| <p align=center><img src="adcpins2.jpg"></p> | |||||
| <p>Pin A2 is used for audio input. This circuitry is recommended.</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> | ||||
| <p>Need for DC bias, approx 0.6V</p> | |||||
| <p>TODO: suggested circuity for signal input</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>Power Supply rejection issue with simple DC bias</p> | <p>Power Supply rejection issue with simple DC bias</p> | ||||
| <p>TODO: actual noise measurements with different input circuitry | <p>TODO: actual noise measurements with different input circuitry | ||||
| (it's not nearly as quiet as the audio shield)</p> | |||||
| (it's not as quiet as the audio shield)</p> | |||||
| </script> | </script> | ||||
| <script type="text/x-red" data-template-name="AudioInputAnalog"> | <script type="text/x-red" data-template-name="AudioInputAnalog"> | ||||
| <div class="form-row"> | <div class="form-row"> | ||||
| <script type="text/javascript"> | <script type="text/javascript"> | ||||
| RED.nodes.registerType('AudioEffectChorus',{ | RED.nodes.registerType('AudioEffectChorus',{ | ||||
| shortName: "chorus", | shortName: "chorus", | ||||
| inputs:2, | |||||
| outputs:2, | |||||
| inputs:1, | |||||
| outputs:1, | |||||
| category: 'effect-function', | category: 'effect-function', | ||||
| color:"#E6E0F8", | color:"#E6E0F8", | ||||
| icon: "arrow-in.png" | icon: "arrow-in.png" | ||||
| <script type="text/javascript"> | <script type="text/javascript"> | ||||
| RED.nodes.registerType('AudioEffectFlange',{ | RED.nodes.registerType('AudioEffectFlange',{ | ||||
| shortName: "flange", | shortName: "flange", | ||||
| inputs:2, | |||||
| outputs:2, | |||||
| inputs:1, | |||||
| outputs:1, | |||||
| category: 'effect-function', | category: 'effect-function', | ||||
| color:"#E6E0F8", | color:"#E6E0F8", | ||||
| icon: "arrow-in.png" | icon: "arrow-in.png" |